Skip to content

Commit

Permalink
Fix testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanvuong2021 committed Jan 25, 2024
1 parent 69068f0 commit d485a4c
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/reporting-v2-testing.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
name: Reporting V2 Testing

on:
pull_request:
inputs:
environment:
type: string
required: true
apply:
description: "Apply the new configuration"
type: boolean
required: true
push:

jobs:
terraform:
uses: ./.github/workflows/terraform-cmms.yml
secrets: inherit
with:
environment: ${{ inputs.environment }}
apply: ${{ inputs.apply }}
environment: dev
apply: true

update-reporting-v2:
uses: ./.github/workflows/configure-reporting-v2.yml
needs: [ publish-images, terraform ]
with:
image-tag: ${{ needs.publish-images.outputs.image-tag }}
environment: ${{ inputs.environment }}
apply: ${{ inputs.apply }}
image-tag: latest
environment: dev
apply: true

0 comments on commit d485a4c

Please sign in to comment.