-
Notifications
You must be signed in to change notification settings - Fork 226
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
Build stage configuration flag "enabled" for provider codebuild not working properly 2 #236
Comments
Maybe there are more issues to this... |
Hi @lordoflairs, thanks reaching out! For anyone else trying to replicate this, the deployment map specification would look like this: - name: sample-pipeline-wo-codebuild
default_providers:
source:
provider: codecommit
properties:
account_id: 111111111111
build:
properties:
enabled: False
targets:
- /some/target In ADFs design, it uses the What are you trying to accomplish here such that it wouldn't need this step? |
Hello @sbkok and thank you for helping out. For us it was a deploy of a lambda function in the deploy account to relay sns topic information to a teams channel but any infrastructure template.yml that does not require specific parameters would have the same setup. |
For now the workaround is to have a buildstep that have to copy from $S3_BUCKET_NAME and call adf-build/generate_params.py just to genrate an empty parameter file. |
Thanks @lordoflairs - this will be resolved in 3.0.5 coming shortly. |
…sabled **Why?** When the build stage is disabled, the deploy stages incorrectly tried to use the build output artifact. These should use the source artifact instead. **Linked issues** * awslabs#236 * awslabs#318
**Fixes 🐞** * Fixes `timeout` and `environment_variables` to be used when defined in the default CodeBuild Deployment provider properties awslabs#307, closes awslabs#306. * Fixes intrinsic functions for account_region param files awslabs#333, closes awslabs#147. * Fixes use of deployment from source directly when build stage is disabled awslabs#334, closes awslabs#236 and closes awslabs#318.
**Fixes 🐞** * Fixes `timeout` and `environment_variables` to be used when defined in the default CodeBuild Deployment provider properties #307, closes #306. * Fixes intrinsic functions for account_region param files #333, closes #147. * Fixes use of deployment from source directly when build stage is disabled #334, closes #236 and closes #318.
Using pipeline with just source codecommit and then deploy with cloudformation by setting enabled to false for the build step will generate output from source not match input to cloudformation. (InputArtifacts to cloudformation does not match OutputArtifacts from previous step.)
The problem is probably in adf_codepipeline.py but I am not bright enough to figure it out. (Not a Python coder...)
E.g. changeset will be:
The text was updated successfully, but these errors were encountered: