-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove unused workflow steps (#414)
* chore: remove unused workflow steps * fix: use current label to retrieve latest
- Loading branch information
Showing
4 changed files
with
3 additions
and
29 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
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 |
---|---|---|
|
@@ -82,22 +82,6 @@ jobs: | |
chmod +x bin/terragrunt | ||
echo "bin" >> $GITHUB_PATH | ||
- name: Get changed files | ||
id: changed-files | ||
uses: jitterbit/get-changed-files@v1 | ||
with: | ||
format: 'json' | ||
|
||
- name: Get touched Terragrunt modules | ||
run: | | ||
MODULES=`echo '${{ steps.changed-files.outputs.added_modified }}' | jq -c '[.[] | match("(.*aws?)\/(.*)\/").captures[1].string] | unique | select(length > 0)'` | ||
echo "MODULES=$MODULES" >> $GITHUB_ENV | ||
- name: Get touched Terragrunt configurations | ||
run: | | ||
CONFIGS=`echo '${{ steps.changed-files.outputs.added_modified }}' | jq -c '[.[] | match("(.*env?)\/(.*staging?)\/(.*)\/").captures[2].string] | unique | select(length > 0)'` | ||
echo "CONFIGS=$CONFIGS" >> $GITHUB_ENV | ||
- name: Apply aws/common | ||
run: | | ||
cd env/staging/common | ||
|
@@ -144,6 +128,7 @@ jobs: | |
../../../bin/terragrunt apply --terragrunt-non-interactive -auto-approve | ||
- name: Bump version and push tag | ||
if: github.event_name != 'workflow_dispatch' # We don't want to tag new versions when launched via workflow_dispatch since only environment variables changed | ||
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
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
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