Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.

Conversation

@mzikherman
Copy link
Contributor

h/t @izakp

@mzikherman mzikherman self-assigned this Apr 8, 2019
@mzikherman mzikherman merged commit 52bd3ed into artsy:master Apr 8, 2019
ignore:
- staging
- push:
context: hokusai
Copy link
Contributor

Choose a reason for hiding this comment

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

In the first implementation I had assumed that the context would be inherited by the requirement of the push step. Is it possible that the production deploy failed because it does not require push? In that case we would only need to add it to line 91.

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually I see now that deploy-production also requires push -- still confused at why the original staging deploy was able to complete without the context.

Copy link
Contributor

Choose a reason for hiding this comment

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

@eessex yeah getting a bit lost now - I didn't know the requires directive would mean the context is available to other dependent jobs... But the error I see in the Push step appears to be ERROR: An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid. Which was due to an invalid secret key in the Hokusai context.

still confused at why the original staging deploy was able to complete without the context.

Yes so https://circleci.com/workflow-run/8324bd8f-48e3-4500-a2d4-e85168cd9503 succeeded... was the AWS_SECRET_ACCESS_KEY changed in https://circleci.com/gh/organizations/artsy/settings#contexts/5161a9b5-0695-4683-accf-4812017ad3f3 after this?

Copy link
Contributor

Choose a reason for hiding this comment

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

I just corrected the AWS_SECRET_ACCESS_KEY and it works so maybe this PR was just unnecessary

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I had removed the kaws keys before merging to explicitly test that if it deployed correctly

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.

3 participants