From a2ec5cda131491e3a1092c0d04f469c2a4772029 Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Wed, 13 Jul 2022 08:45:54 -0400 Subject: [PATCH] rollback publish command skip-test option (#14643) --- .github/workflows/publish-command.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-command.yml b/.github/workflows/publish-command.yml index 71da8ba2f150..0ef8a5f2b04d 100644 --- a/.github/workflows/publish-command.yml +++ b/.github/workflows/publish-command.yml @@ -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: @@ -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 }}