Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Updating Build/Deploy automations #243

Merged
merged 10 commits into from
May 22, 2019
Merged

Conversation

sargentfrancesca
Copy link

No description provided.

@andylolz
Copy link
Contributor

@sargentfrancesca I’ve no idea if this is of any use, but I thought I’d just flag this comment / demo for building and deploying the reference site using Travis CI:
IATI/IATI-Standard-SSOT#297 (comment)

It probably won’t work with the latest python3 changes, but I guess it wouldn’t take much to fix.

rm -Rf pyenv/
fi

if [ "$PYTHON_2" = true ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is good, do we want to keep it though? should we not be a bit more annoying and just force the users to have py3?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this flag can be removed when py3 upgrades have been merged and deployed, otherwise not needed!

@samuele-mattiuzzo
Copy link
Contributor

This is really good @sargentfrancesca 👍

@sargentfrancesca
Copy link
Author

@andylolz ah, thank you so much! This is great, and really useful.

We're still scoping how our continuous delivery might look for the SSOT - the amendments here are as close as I could get to consolidating what exists in a more robust way whilst not abstracting too far from the purpose of this set of updates. We're actually resuming work on containerising the IATI Standard Website (IATI/IATI-Standard-Website@master...add-docker) at the moment as a starting point for consolidating build and deploy processes throughout our tools. I'm sandpitting Dokku as a PaaS (IATI/IATI-Standard-Website@add-docker...add-dokku). I can see your snippet being really useful when we finally put this into practise.

Copy link
Contributor

@Ocre42 Ocre42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sargentfrancesca sargentfrancesca merged commit adcd722 into master May 22, 2019
@sargentfrancesca sargentfrancesca deleted the build-checkout-option branch May 22, 2019 13:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants