-
Notifications
You must be signed in to change notification settings - Fork 13
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
ROX-14696: Add terraforming and probe deployment to acs-stage-eu-01. #848
Conversation
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
.github/workflows/deploy-stage.yaml
Outdated
env: | ||
AWS_AUTH_HELPER: none # credentials are populated by the above action |
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.
Perhaps it's possible to move this up a level to prevent repetition? 🤔
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.
I thought about it - my concern was then that if a single cluster terraform fails, all of them would fail. We want to have set -euo pipefail
so that, if I understand it correctly, individual commands inside the terraform script failing would cause an overall failure; but we don't want the overall command to fail if any individual terraform failed.
What are your thoughts?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ebensh, porridge The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
I'm concerned about a higher level problem regarding admin password creation that I will address separately in Slack. This can still be reviewed, but I won't merge until that discussion is done too.
.github/workflows/deploy-stage.yaml
Outdated
env: | ||
AWS_AUTH_HELPER: none # credentials are populated by the above action |
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.
I thought about it - my concern was then that if a single cluster terraform fails, all of them would fail. We want to have set -euo pipefail
so that, if I understand it correctly, individual commands inside the terraform script failing would cause an overall failure; but we don't want the overall command to fail if any individual terraform failed.
What are your thoughts?
I think we're talking about different things. |
/retest-required |
/retest |
New changes are detected. LGTM label has been removed. |
1 similar comment
New changes are detected. LGTM label has been removed. |
@@ -29,13 +29,20 @@ jobs: | |||
with: | |||
aws-region: ${{ secrets.AWS_REGION }} | |||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github | |||
- name: Run terraforming on THE stage cluster | |||
- name: Run terraforming on acs-stage-dp-02 |
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.
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.
We probably want to run these in sequence and stop after first failure. Not sure if this is possible with matrix.
I've made the change, but it looks less explicit and more magical to me having the env at the top. |
Description
Adds acs-stage-eu-01 terraforming to the CD pipeline.
https://issues.redhat.com/browse/ROX-14696
Checklist (Definition of Done)
Unit and integration tests addedAdded test description underTest manual
Documentation added if necessary (i.e. changes to dev setup, test execution, ...)CI and all relevant tests are passingROX-12345: ...
Discussed security and business related topics privately. Will move any security and business related topics that arise to private communication channel.Test manual
I could manually CD the cluster but I want to ensure adding it to CD is a supported way to do the initial bootstrapping. Per https://github.com/stackrox/acs-fleet-manager/blob/main/.github/workflows/deploy-stage.yaml#L5-L8 that means we need to merge to main and fix it if it's broken.