Skip to content
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

chore: workflow to automatically request a deployment to the test-pipeline #26496

Merged
merged 6 commits into from
Jul 26, 2023

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Jul 25, 2023

Creates a workflow that will request a GitHub Environment deployment whenever cli files change.
The deployment has to be approved by a team member to run.
The actual code to deploy is just a push to the test-main-pipeline branch, thus reusing the existing functionality.
Workflow tested on my fork.

When change has been detected:
image
After approval:
image
After request submitted:
image


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added the p2 label Jul 25, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team July 25, 2023 15:59
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jul 25, 2023
@mrgrain mrgrain marked this pull request as ready for review July 25, 2023 16:02
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Jul 25, 2023
@mrgrain mrgrain force-pushed the mrgrain/chore/request-cli-integ-test branch from 68782dc to ac4df2a Compare July 26, 2023 11:19
Copy link
Contributor

@kaizencc kaizencc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoah, this is going to be awesome!

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Jul 26, 2023
@mergify
Copy link
Contributor

mergify bot commented Jul 26, 2023

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 9c40532
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 85f3499 into main Jul 26, 2023
@mergify mergify bot deleted the mrgrain/chore/request-cli-integ-test branch July 26, 2023 14:19
@mergify
Copy link
Contributor

mergify bot commented Jul 26, 2023

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

bmoffatt pushed a commit to bmoffatt/aws-cdk that referenced this pull request Jul 29, 2023
…eline (aws#26496)

Creates a workflow that will request a GitHub Environment deployment whenever cli files change.
The deployment has to be approved by a team member to run.
The actual code to deploy is just a push to the `test-main-pipeline` branch, thus reusing the existing functionality.
Workflow tested on my fork.

When change has been detected:
<img width="883" alt="image" src="https://github.com/aws/aws-cdk/assets/379814/8b7951ec-0256-4ebf-ac60-39b82ab6a712">
After approval:
<img width="874" alt="image" src="https://github.com/aws/aws-cdk/assets/379814/6f3ce6f1-9c3b-44b3-bbfb-d0804c18f9dc">
After request submitted:
<img width="949" alt="image" src="https://github.com/aws/aws-cdk/assets/379814/47920d0e-4a78-4a90-8be8-031ab0480d6b">


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants