Skip to content

Commit

Permalink
update diff-check.yml with correct repo path
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed Mar 11, 2024
1 parent 5d11529 commit 5ef20ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/teamcity-services-diff-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ jobs:
with:
repo: 'terraform-provider-google'
token: '$GITHUB_TOKEN'
- run: export GOOGLE_REPO_PATH=$OUTPUT_PATH
- run: echo "GOOGLE_REPO_PATH=${{ env.OUTPUT_PATH}}" >> $GITHUB_ENV
- name: TeamCity Google Beta Provider Generate
if: steps.generate.outcome == 'success'
uses: ./.github/actions/build-downstream
with:
repo: 'terraform-provider-google-beta'
token: '$GITHUB_TOKEN'
- run: export GOOGLE_BETA_REPO_PATH=$OUTPUT_PATH
- run: echo "GOOGLE_BETA_REPO_PATH=${{ env.OUTPUT_PATH}}" >> $GITHUB_ENV
- name: Checkout Repository
if: steps.generate.outcome == 'success'
uses: actions/checkout@v4
- name: Check that new services have been added to the TeamCity configuration code
if: steps.generate.outcome == 'success'
run: |
# Create lists of service packages in providers
ls ${GOOGLE_REPO_PATH}/google/services > tools/teamcity-diff-check/services_ga.txt
ls ${GOOGLE_BETA_REPO_PATH}/google-beta/services > tools/teamcity-diff-check/services_beta.txt
ls ${{env.GOOGLE_REPO_PATH}}/google/services > tools/teamcity-diff-check/services_ga.txt
ls ${{env.GOOGLE_BETA_REPO_PATH}}/google-beta/services > tools/teamcity-diff-check/services_beta.txt
# Run tool to compare service packages in the providers vs those listed in TeamCity config files
cd tools/teamcity-diff-check
Expand Down

0 comments on commit 5ef20ff

Please sign in to comment.