-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate github actions to shared workflows (#92)
* Migrate github actions to shared workflows * Apply suggestions from code review
- Loading branch information
Showing
11 changed files
with
130 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## what | ||
- Update workflows (`.github/workflows/settings.yaml`) to use shared workflows from `.github` repo | ||
|
||
## why | ||
- Reduce nested levels of reusable workflows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
cloudposse/github-action-test-action | ||
cloudposse/github-action-atmos-get-setting | ||
cloudposse/github-action-pre-commit | ||
cloudposse/github-action-config-levels | ||
cloudposse/github-action-atmos-terraform-drift-detection | ||
cloudposse/github-action-matrix-outputs-write | ||
cloudposse/github-action-setup-atmos | ||
cloudposse/github-action-docker-build-push | ||
cloudposse/github-action-docker-image-exists | ||
cloudposse/github-action-docker-promote | ||
cloudposse/github-action-deploy-argocd | ||
cloudposse/github-action-deploy-helmfile | ||
cloudposse/github-action-auto-release | ||
cloudposse/github-action-preview-environment-controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
cloudposse/github-action-kubernetes-environment | ||
cloudposse/github-action-yaml-config-query | ||
cloudposse/github-action-run-ecspresso | ||
cloudposse/github-action-jq | ||
cloudposse/github-action-auto-format | ||
cloudposse/github-action-sync-docker-repos | ||
cloudposse/github-action-matrix-extended | ||
cloudposse/github-action-atmos-terraform-select-components | ||
cloudposse/github-action-atmos-terraform-apply | ||
cloudposse/github-action-atmos-affected-trigger-spacelift | ||
cloudposse/github-action-matrix-outputs-read | ||
cloudposse/github-action-release-label-validator | ||
cloudposse/github-action-atmos-terraform-plan | ||
cloudposse/github-action-atmos-affected-stacks | ||
cloudposse/github-action-atmos-terraform-drift-remediation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
cloudposse/github-action-release-branch-manager | ||
cloudposse/github-action-major-release-tagger | ||
cloudposse/github-action-validate-codeowners | ||
cloudposse/github-action-terraform-auto-context | ||
cloudposse/github-action-atmos-component-updater | ||
cloudposse/github-action-deploy-ecspresso | ||
cloudposse/github-action-wait-commit-status | ||
cloudposse/github-action-secret-outputs | ||
cloudposse/github-action-interface-environment | ||
cloudposse/github-action-terratest | ||
cloudposse/github-action-spacelift-stack-deploy | ||
cloudposse/github-action-aws-region-reduction-map | ||
cloudposse/github-action-docker-compose-test-run | ||
cloudposse/github-action-seek-deployment | ||
cloudposse/github-action-preview-labels-cleanup | ||
cloudposse/github-action-monorepo-random-controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cloudposse/github-action-deploy-spacelift | ||
cloudposse/github-action-telemetry | ||
cloudposse/github-action-mega-linter | ||
cloudposse/github-action-datadog-notify | ||
cloudposse/github-action-pull-request-labeling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
gh repo list cloudposse --limit 500 --json name,owner \ | ||
--jq '.[] | select(.name | test("^github-action-")) | .owner.login + "/" + .name' > repos.txt | ||
|
||
split -d -l 16 repos.txt repos- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
cloudposse/github-action-test-action | ||
cloudposse/github-action-atmos-get-setting | ||
cloudposse/github-action-pre-commit | ||
cloudposse/github-action-config-levels | ||
cloudposse/github-action-atmos-terraform-drift-detection | ||
cloudposse/github-action-matrix-outputs-write | ||
cloudposse/github-action-setup-atmos | ||
cloudposse/github-action-docker-build-push | ||
cloudposse/github-action-docker-image-exists | ||
cloudposse/github-action-docker-promote | ||
cloudposse/github-action-deploy-argocd | ||
cloudposse/github-action-deploy-helmfile | ||
cloudposse/github-action-auto-release | ||
cloudposse/github-action-preview-environment-controller | ||
cloudposse/github-action-kubernetes-environment | ||
cloudposse/github-action-yaml-config-query | ||
cloudposse/github-action-run-ecspresso | ||
cloudposse/github-action-terraform-plan-storage | ||
cloudposse/github-action-jq | ||
cloudposse/github-action-auto-format | ||
cloudposse/github-action-sync-docker-repos | ||
cloudposse/github-action-matrix-extended | ||
cloudposse/github-action-atmos-terraform-select-components | ||
cloudposse/github-action-atmos-terraform-apply | ||
cloudposse/github-action-atmos-affected-trigger-spacelift | ||
cloudposse/github-action-matrix-outputs-read | ||
cloudposse/github-action-release-label-validator | ||
cloudposse/github-action-atmos-terraform-plan | ||
cloudposse/github-action-atmos-affected-stacks | ||
cloudposse/github-action-atmos-terraform-drift-remediation | ||
cloudposse/github-action-release-branch-manager | ||
cloudposse/github-action-major-release-tagger | ||
cloudposse/github-action-validate-codeowners | ||
cloudposse/github-action-terraform-auto-context | ||
cloudposse/github-action-atmos-component-updater | ||
cloudposse/github-action-deploy-ecspresso | ||
cloudposse/github-action-wait-commit-status | ||
cloudposse/github-action-secret-outputs | ||
cloudposse/github-action-interface-environment | ||
cloudposse/github-action-terratest | ||
cloudposse/github-action-spacelift-stack-deploy | ||
cloudposse/github-action-aws-region-reduction-map | ||
cloudposse/github-action-docker-compose-test-run | ||
cloudposse/github-action-seek-deployment | ||
cloudposse/github-action-preview-labels-cleanup | ||
cloudposse/github-action-monorepo-random-controller | ||
cloudposse/github-action-deploy-spacelift | ||
cloudposse/github-action-telemetry | ||
cloudposse/github-action-mega-linter | ||
cloudposse/github-action-datadog-notify | ||
cloudposse/github-action-pull-request-labeling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title "Use GitHub Action Workflows from \`cloudposse/.github\` Repo" | ||
|
||
install_github_settings | ||
install .github/workflows | ||
remove .github/workflows/feature-branch.yml | ||
remove .github/workflows/main-branch.yml | ||
|
||
# Merge the PR | ||
auto_merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
migrate/templates/github-action/.github/workflows/feature-branch.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters