Disable deep-copy codegen verification for now. (#18446)

Once we figure out what to do with license headers for these files we should re-enable this check.
pull/18474/head
Matt Keeler 2023-08-11 10:15:45 -04:00 committed by GitHub
parent 5717cbd466
commit b4cdfbbc12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 23 deletions

View File

@ -76,28 +76,29 @@ jobs:
- name: Notify Slack - name: Notify Slack
if: ${{ failure() }} if: ${{ failure() }}
run: .github/scripts/notify_slack.sh run: .github/scripts/notify_slack.sh
check-generated-deep-copy: # Temporarily changing until the situation with license headers in the generated code can be worked out
needs: # check-generated-deep-copy:
- setup # needs:
runs-on: ${{ fromJSON(needs.setup.outputs.compute-large) }} # - setup
steps: # runs-on: ${{ fromJSON(needs.setup.outputs.compute-large) }}
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 # steps:
# NOTE: This step is specifically needed for ENT. It allows us to access the required private HashiCorp repos. # - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup Git # # NOTE: This step is specifically needed for ENT. It allows us to access the required private HashiCorp repos.
if: ${{ endsWith(github.repository, '-enterprise') }} # - name: Setup Git
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com" # if: ${{ endsWith(github.repository, '-enterprise') }}
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 # run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
with: # - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
go-version-file: 'go.mod' # with:
- run: make --always-make deep-copy # go-version-file: 'go.mod'
- run: | # - run: make --always-make deep-copy
if ! git diff --exit-code; then # - run: |
echo "Generated code was not updated correctly" # if ! git diff --exit-code; then
exit 1 # echo "Generated code was not updated correctly"
fi # exit 1
- name: Notify Slack # fi
if: ${{ failure() }} # - name: Notify Slack
run: .github/scripts/notify_slack.sh # if: ${{ failure() }}
# run: .github/scripts/notify_slack.sh
lint-enums: lint-enums:
needs: needs:
@ -464,7 +465,8 @@ jobs:
go-tests-success: go-tests-success:
needs: needs:
- setup - setup
- check-generated-deep-copy # Reenable later
#- check-generated-deep-copy
- check-generated-protobuf - check-generated-protobuf
- check-go-mod - check-go-mod
- lint-consul-retry - lint-consul-retry