Skip to content

Commit

Permalink
rollback publish command skip-test option (#14643)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmarxm authored Jul 13, 2022
1 parent 8abe9d9 commit a2ec5cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on:
description: "Switching this to true will spin up 5 build agents instead of 1 and allow multi connector publishes to run in parallel"
required: true
default: "false"
run-tests:
description: "Should run tests when publishing"
required: true
default: "true"

jobs:
find_valid_pat:
Expand Down Expand Up @@ -288,7 +292,7 @@ jobs:
- name: Publish ${{ matrix.connector }}
run: |
echo "$SPEC_CACHE_SERVICE_ACCOUNT_KEY" > spec_cache_key_file.json && docker login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD}
./tools/integrations/manage.sh publish airbyte-integrations/${{ matrix.connector }} true --publish_spec_to_cache
./tools/integrations/manage.sh publish airbyte-integrations/${{ matrix.connector }} ${{ github.event.inputs.run-tests }} --publish_spec_to_cache
id: publish
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
Expand Down

0 comments on commit a2ec5cd

Please sign in to comment.