Hey,
We are facing some issue using the shared resources and workflow.
We set up aws related credentials in our shared resources, and then refers to the shared context like this
workflows:
version: 2
build_test_and_deploy:
jobs:
- build:
context: org-global
Everything works like a charm when build is triggered by hooks. However, when I press the rebuild button, my build fail because of a missing environment variable (AWS_DEFAULT_REGION).
Expectation : the build should have environment variables populated either
See reproduction here :
- build triggered from hook : https://circleci.com/gh/dstendardi/circle-bug/2
- rebuild from ux : https://circleci.com/gh/dstendardi/circle-bug/3
Note : In the process of reproducing this bug, I got another un related failure first build, maybe because I didn’t set the shared resources before pushing my first commit referring to it.
Regards