Skip to content

Zero 131 add apply steps to makefile - #11

Merged
cjhawkins merged 3 commits into
masterfrom
ZERO-131-add-apply-steps-to-Makefile
Jun 5, 2020
Merged

Zero 131 add apply steps to makefile#11
cjhawkins merged 3 commits into
masterfrom
ZERO-131-add-apply-steps-to-Makefile

Conversation

@cjhawkins

Copy link
Copy Markdown
Contributor

No description provided.

@cjhawkins
cjhawkins requested review from Direside and bmonkman June 4, 2020 17:55
Comment thread Makefile
run:
@echo Done
@echo "Set CIRCLECI environment variables\n"
curl -X POST --header "Content-Type: application/json" -d '{"name":"AWS_REGION", "value":"${AWS_REGION}"}' https://circleci.com/api/v1.1/project/github/${GITHUB_ORG}/${GITHUB_REPO}/envvar?circle-token=${CIRCLECI_TOKEN}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These aren't quite the right env vars for this project. In the deploying with Zero doc it lists the env vars as:

AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
SLACK_WEBHOOK

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We used the params needed by the sync command in the aws-s3 orb: https://circleci.com/orbs/registry/orb/circleci/aws-s3#commands-sync

We've also removed the dependency on SLACK_WEBHOOK for now because it wasn't being used anywhere.

Comment thread Makefile Outdated
@echo Done
@echo "Set CIRCLECI environment variables\n"
curl -X POST --header "Content-Type: application/json" -d '{"name":"AWS_REGION", "value":"${AWS_REGION}"}' https://circleci.com/api/v1.1/project/github/${GITHUB_ORG}/${GITHUB_REPO}/envvar?circle-token=${CIRCLECI_TOKEN}
curl -X POST --header "Content-Type: application/json" -d '{"name":"AWS_ACCESS_KEY", "value":"${AWS_ACCESS_KEY}"}' https://circleci.com/api/v1.1/project/github/${GITHUB_ORG}/${GITHUB_REPO}/envvar?circle-token=${CIRCLECI_TOKEN}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be called AWS_ACCESS_KEY_ID?

@cjhawkins
cjhawkins merged commit b27e42c into master Jun 5, 2020
@cjhawkins
cjhawkins deleted the ZERO-131-add-apply-steps-to-Makefile branch June 5, 2020 20:58
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.

2 participants