Skip to content

Commit

Permalink
change artifacts saving location in sonar workflow (#454)
Browse files Browse the repository at this point in the history
adding tags in deployment in sonar single workflow
adding microsoft forms links in README.md
README.md changes
  • Loading branch information
roiklorin authored Jan 7, 2025
1 parent dcac70e commit b61ac19
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 48 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/sonar_multi_account_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ jobs:
with:
ref: ${{ inputs.branch }}


- name: Set Workspace
run: |
if [ ${{ inputs.branch }} == 'master' ] || [ ${{ inputs.branch }} == 'dev' ]; then
echo "TF_WORKSPACE=multi_account_${{ inputs.branch }}" >> $GITHUB_ENV
else
echo "TF_WORKSPACE="multi_accoun" >> $GITHUB_ENV
fi
- name: Change the modules source to local
run: |
find ./examples/ -type f -exec sed -i -f sed.expr {} \;
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonar_single_account_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ env:
AWS_REGION: ap-southeast-1
TF_WORKSPACE: sonar_single_account_cli
DESTROY_DELAY_SECONDS: 1800
TF_VAR_additional_tags: ${{ secrets.DEPLOYMENT_TAGS }}

permissions:
contents: read
Expand Down Expand Up @@ -138,8 +137,9 @@ jobs:
run: |
cat << EOF > $EXAMPLE_DIR/terraform.tfvars
${{ vars.TFVAR_PARAMETERS_SINGLE_ACCOUNT_AUTOMATION_V1 }}
${{ secrets.DEPLOYMENT_TAGS }}
EOF
- name: View The Vars
run: cat $EXAMPLE_DIR/terraform.tfvars
Expand Down
Loading

0 comments on commit b61ac19

Please sign in to comment.