-
Notifications
You must be signed in to change notification settings - Fork 7
birdhouse-compose.sh: fix regression with restart command #515
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
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3143/Result ❌ FAILUREBIRDHOUSE_DEPLOY_BRANCH : fix-compose-restart-command DACCS_IAC_BRANCH : master DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-91.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/104/NOTEBOOK TEST RESULTS |
birdhouse/birdhouse-compose.sh
Outdated
|
|
||
| if [ x"$1" = x"up" ] || [ x"$1" = x"restart" ]; then | ||
| COMPOSE_EXTRA_OPTS="${BIRDHOUSE_COMPOSE_UP_EXTRA_OPTS}" | ||
| if [ x"$1" = x"up" ]; then |
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.
Can you move this out of the outer if statement. Otherwise it makes it seem like this is directly related to the pre-compose-up scripts.
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.
done 3a2732f
CHANGES.md
Outdated
|
|
||
| - Wrong compose up extra arguments given to compose restart | ||
|
|
||
| * When setting `BIRDHOUSE_COMPOSE_UP_EXTRA_OPTS="--remove-orphans"` in |
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.
Can you reword this so that it's clear that --remove-orphans is one example but that this applies to any additional option that only applies to up.
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.
done 3a2732f
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3144/Result ❌ FAILUREBIRDHOUSE_DEPLOY_BRANCH : fix-compose-restart-command DACCS_IAC_BRANCH : master DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-91.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/105/NOTEBOOK TEST RESULTS |
CHANGES.md
Outdated
| - Wrong compose up extra arguments given to compose restart | ||
|
|
||
| * For example, when setting `BIRDHOUSE_COMPOSE_UP_EXTRA_OPTS="--remove-orphans"` in | ||
| `env.local`, that `--remove-orphans` flag is not supposed to be used with | ||
| compose restart. Fix regression from |
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.
Just need to use the code for the up and restart command.
Rest of PR is good.
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.
done e6b2647
|
I guess I'll merge without bumping tag to 2.11 ? |
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3146/Result ✅ SUCCESSBIRDHOUSE_DEPLOY_BRANCH : fix-compose-restart-command DACCS_IAC_BRANCH : master DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-91.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/106/NOTEBOOK TEST RESULTS |
|
I'm actually in favor of merging within 2.11 because the change that led to this regression is within that version, so no need to purposely release a problematic version if we already got the fix. |
Overview
Fix
birdhouse-compose.sh restartcommand, regression from #492.Changes
Non-breaking changes
birdhouse-compose.sh restartcommand, regression from Add integration test framework #492.CI Operations
birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false