-
Notifications
You must be signed in to change notification settings - Fork 108
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
Move Terraform CI/CD to GitHub Actions #1212
Conversation
Skipping CI for Draft Pull Request. |
Is this different from #961 ? |
I'm sorry I didnt' consider #961. Anyway it cleans up the wrapper bash scripts and it uses Terraform gihub actions directly. Furthermore, it executes the Terraform plan during PR submission in order to be able to verify the expected plan apply, before merging it. Anyway, this PR needs rebase on top of #961 |
Wow makes sense! Thank you Max! |
@maxgio92: The following tests failed, say
Full PR test history. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
@maxgio92 CI is now ported to github actions; this PR looks very good and a needed refactor; are you willing to rebase it on top of master? Thanks! |
Sure @FedeDP |
/hold |
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
f6f63c4
to
16f4a4e
Compare
Terraform Format and Style 🖌
|
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
{ | ||
rolearn = "arn:aws:iam::292999226676:role/github_actions-test-infra-reader" | ||
username = "githubactions-test-infra-reader" | ||
groups = ["aws-config-readers"] |
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.
This is a mapping of the AWS role mentioned to a custom Kubernetes group aws-config-readers.
More detail on the expected permissions in Kubernetes to be bound to that group there: #1426
@@ -24,10 +24,6 @@ jobs: | |||
role-to-assume: "arn:aws:iam::292999226676:role/github_actions-test-infra-cluster" | |||
aws-region: eu-west-1 | |||
|
|||
- name: Deploy terraform |
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.
Also, we can cleanup the script, right?
Moreover, i'd rename this CI to Master CI - deploy prow
and the new one to Master CI - apply terraform
(or something similar :D )
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.
Totally agree @FedeDP. Implemented, PTAL
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, maxgio92 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 |
/unhold |
This PR moves the CICD pipeline of the cloud infrastructure managed with Terraform, from CircleCI to GitHub.
Fixes #1211