-
Notifications
You must be signed in to change notification settings - Fork 55
misc: adapt codebuild ci for alternative repos #1589
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
Conversation
|
A new generated diff is ready to view.
|
1 similar comment
|
A new generated diff is ready to view.
|
This comment has been minimized.
This comment has been minimized.
e9f96d7 to
1343e63
Compare
|
A new generated diff is ready to view.
|
This comment has been minimized.
This comment has been minimized.
|
A new generated diff is ready to view.
|
This comment has been minimized.
This comment has been minimized.
|
The |
| --source-version $SOURCE_VERSION \ | ||
| --environment-variables-override file:///tmp/gh_env_vars.json | ||
| --environment-variables-override file:///tmp/gh_env_vars.json \ | ||
| --source-type-override GITHUB \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the source provider already GitHub, why do we have to override it to set GitHub again?
|
A new generated diff is ready to view.
|
This comment has been minimized.
This comment has been minimized.
|
A new generated diff is ready to view.
|
This comment has been minimized.
This comment has been minimized.
| --source-version $SOURCE_VERSION \ | ||
| --environment-variables-override file:///tmp/gh_env_vars.json | ||
| --environment-variables-override file:///tmp/gh_env_vars.json \ | ||
| --source-location-override https://github.com/awslabs/"$GITHUB_REPOSITORY_NO_ORG".git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: The quotes should generally be around an entire argument, not just a substring. Example:
aws codebuild start-build-batch \
--project-name "$PROJECT_NAME" \
--source-version "$SOURCE_VERSION" \
--environment-variables-override file:///tmp/gh_env_vars.json \
--source-location-override "https://github.com/awslabs/$GITHUB_REPOSITORY_NO_ORG.git"
|
|
A new generated diff is ready to view.
|



Issue #
Description of changes
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.