Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS automatic deployment #37

Merged
merged 9 commits into from
Dec 26, 2017
Merged

ECS automatic deployment #37

merged 9 commits into from
Dec 26, 2017

Conversation

kaihendry
Copy link
Contributor

@kaihendry kaihendry commented Dec 25, 2017

Current deploys on any commit for testing purposes. We can limit easily to master later. Won't pass CI since it doesn't get access to AWS_SECRET_ACCESS_KEY!

Has a longer timeout: aws/amazon-ecs-cli#401 (comment)

Still unanswered questions:

  • Why tag the repo on deployment? To give a history of what has been deployed? To know what is deployed?
  • How to tell which commit/version is running when we deploy (details contained in the previous task). i.e. what are we upgrading from

@kaihendry kaihendry requested review from eddiemoore and nbiton and removed request for eddiemoore December 26, 2017 01:01
@@ -9,6 +9,10 @@ before_install:
- export PATH="$HOME/.meteor:$PATH"
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- curl -o $HOME/.local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest && chmod +x $HOME/.local/bin/ecs-cli
- aws configure set profile.lmb-dev.aws_access_key_id $AWS_ACCESS_KEY_ID
Copy link
Contributor

Choose a reason for hiding this comment

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

Later, when we merge this stuff with staging, we'll need to use the conditional which prevents the script from trying to access the AWS env vars on pull request CI builds.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, that's a point. I guess this should all be setup in the deploy stage only.

@nbiton nbiton merged commit 5e8aa45 into unee-t:master Dec 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants