Skip to content

Commit dd64707

Browse files
committed
going to original
1 parent e4d39e8 commit dd64707

File tree

2 files changed

+37
-42
lines changed

2 files changed

+37
-42
lines changed

.github/workflows/time-tracker-ui-ci.yml

Lines changed: 37 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55
branches:
66
- "**"
77

8-
# pull_request:
9-
# branches:
10-
# - "**"
8+
pull_request:
9+
branches:
10+
- "**"
1111

1212
jobs:
1313
ci:
@@ -45,14 +45,14 @@ jobs:
4545
./append_secret.py AZURE_APP_CONFIGURATION_CONNECTION_STRING "${{ secrets.AZURE_APP_CONFIGURATION_CONNECTION_STRING }}"
4646
4747
48-
# - name: Running tests
49-
# run: |
50-
# chmod -R 777 ./$home
51-
# make test
52-
# - name: Generate coverage report
53-
# env:
54-
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
55-
# run: bash <(curl -s https://codecov.io/bash)
48+
- name: Running tests
49+
run: |
50+
chmod -R 777 ./$home
51+
make test
52+
- name: Generate coverage report
53+
env:
54+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
55+
run: bash <(curl -s https://codecov.io/bash)
5656

5757
- name: Setup terraform
5858
uses: hashicorp/setup-terraform@v1
@@ -71,8 +71,7 @@ jobs:
7171

7272
- name: Terraform Plan Stage
7373
id: plan-stage
74-
run: |
75-
terraform plan -var-file=${{ env.TF_WORKSPACE }}.tfvars -var image_tag=latest -no-color
74+
run: terraform plan -var-file=${{ env.TF_WORKSPACE }}.tfvars -var image_tag=latest -no-color
7675
continue-on-error: true
7776
working-directory: ./${{ env.WORKING_DIR }}
7877
env:
@@ -120,32 +119,32 @@ jobs:
120119
body: output
121120
})
122121
123-
- name: Update Pull Request with Prod Plan
124-
uses: actions/[email protected]
125-
if: github.event_name == 'pull_request'
126-
env:
127-
PLAN: "terraform\n${{ steps.plan-prod.outputs.stdout }}"
128-
TF_WORKSPACE: prod
129-
with:
130-
github-token: ${{ secrets.GITHUB_TOKEN }}
131-
script: |
132-
const output = `#### [${{ env.WORKING_DIR }}][${{ env.TF_WORKSPACE }}] Terraform Plan 📖 \`${{ steps.plan-prod.outcome }}\`
133-
<details><summary>Show Plan</summary>
134-
\`\`\`\n
135-
${process.env.PLAN}
136-
\`\`\`
137-
</details>
138-
*Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
139-
github.issues.createComment({
140-
issue_number: context.issue.number,
141-
owner: context.repo.owner,
142-
repo: context.repo.repo,
143-
body: output
144-
})
122+
# - name: Update Pull Request with Prod Plan
123+
# uses: actions/[email protected]
124+
# if: github.event_name == 'pull_request'
125+
# env:
126+
# PLAN: "terraform\n${{ steps.plan-prod.outputs.stdout }}"
127+
# TF_WORKSPACE: prod
128+
# with:
129+
# github-token: ${{ secrets.GITHUB_TOKEN }}
130+
# script: |
131+
# const output = `#### [${{ env.WORKING_DIR }}][${{ env.TF_WORKSPACE }}] Terraform Plan 📖 \`${{ steps.plan-prod.outcome }}\`
132+
# <details><summary>Show Plan</summary>
133+
# \`\`\`\n
134+
# ${process.env.PLAN}
135+
# \`\`\`
136+
# </details>
137+
# *Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`;
138+
# github.issues.createComment({
139+
# issue_number: context.issue.number,
140+
# owner: context.repo.owner,
141+
# repo: context.repo.repo,
142+
# body: output
143+
# })
145144
- name: Terraform Plan Stage Status
146145
if: steps.plan-stage.outcome == 'failure'
147146
run: exit 1
148147

149-
- name: Terraform Plan Prod Status
150-
if: steps.plan-prod.outcome == 'failure'
151-
run: exit 1
148+
# - name: Terraform Plan Prod Status
149+
# if: steps.plan-prod.outcome == 'failure'
150+
# run: exit 1

infrastructure/safe_2_delete_test.auto.tfvars

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)