Skip to content

Commit 40b43ad

Browse files
authored
Remove skiptests option (#14100)
1 parent 01a366c commit 40b43ad

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/publish-command.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ on:
1313
connector:
1414
description: "Airbyte Connector"
1515
required: true
16-
run-tests:
17-
description: "Should run tests when publishing"
18-
required: true
19-
default: "true"
2016
comment-id:
2117
description: "The comment-id of the slash command. Used to update the comment with the status."
2218
required: false
@@ -188,7 +184,7 @@ jobs:
188184
with:
189185
comment-id: ${{ github.event.inputs.comment-id }}
190186
body: |
191-
> :clock2: Publishing the following connectors:<br>${{ github.event.inputs.connector }}<br>Running tests before publishing: **${{ github.event.inputs.run-tests }}**<br>https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
187+
> :clock2: Publishing the following connectors:<br>${{ github.event.inputs.connector }}<br>https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
192188
- name: Create table header
193189
uses: peter-evans/create-or-update-comment@v1
194190
with:
@@ -294,7 +290,7 @@ jobs:
294290
- name: Publish ${{ matrix.connector }}
295291
run: |
296292
echo "$SPEC_CACHE_SERVICE_ACCOUNT_KEY" > spec_cache_key_file.json && docker login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD}
297-
./tools/integrations/manage.sh publish airbyte-integrations/${{ matrix.connector }} ${{ github.event.inputs.run-tests }} --publish_spec_to_cache
293+
./tools/integrations/manage.sh publish airbyte-integrations/${{ matrix.connector }} true --publish_spec_to_cache
298294
id: publish
299295
env:
300296
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}

docs/connector-development/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ Publishing a connector can be done using the `/publish` command as outlined in t
139139
* **connector** - Required. This tells the workflow which connector to publish. e.g. `connector=connectors/source-amazon-ads`. This can also be a comma-separated list of many connectors, e.g. `connector=connectors/source-s3,connectors/destination-postgres,connectors/source-facebook-marketing`. See the parallel flag below if publishing multiple connectors.
140140
* **repo** - Defaults to the main airbyte repo. Set this when building connectors from forked repos. e.g. `repo=userfork/airbyte`
141141
* **gitref** - Defaults to the branch of the PR where the /publish command is run as a comment. If running manually, set this to your branch where you made changes e.g. `gitref=george/s3-update`
142-
* **run-tests** - Defaults to true. Should always run the tests as part of the publish flow so that if tests fail, the connector is not published.
143142
* **comment-id** - This is automatically filled if you run /publish from a comment and enables the workflow to write back success/fail logs to the git comment.
144143
* **auto-bump-version** - Defaults to true, automates the post-publish process of bumping the connector's version in the yaml seed definitions and generating spec.
145144
* **parallel** - Defaults to false. If set to true, a pool of runner agents will be spun up to allow publishing multiple connectors in parallel. Only switch this to true if publishing multiple connectors at once to avoid wasting $$$.

0 commit comments

Comments
 (0)