Skip to content

Commit

Permalink
connectors-ci: re-enable concurrency on java connectors (#27052)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed Jun 6, 2023
1 parent e24e188 commit 1ab95ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 97 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
name: Connectors CI - Manual tests
name: Connectors nightly build

on:
schedule:
# 10AM UTC is 12AM CET, 1PM EEST, 2AM PST.
- cron: "0 10 * * *"
workflow_dispatch:
inputs:
runs-on:
type: string
default: dev-large-runner
required: true
test-connectors-options:
default: --concurrency=10 --release-stage=generally_available --release-stage=beta
default: --concurrency=8 --release-stage=generally_available --release-stage=beta
required: true

run-name: "Test connectors ${{ inputs.test-connectors-options}} on ${{ inputs.runs-on }}"
run-name: "Test connectors: ${{ inputs.test-connectors-options || 'nightly build for GA and Beta connectors' }} - on ${{ inputs.runs-on || 'dev-large-runner' }}"

jobs:
test_connectors:
name: "Test connectors ${{ inputs.test-connectors-options}} on ${{ inputs.runs-on }}"
name: "Test connectors: ${{ inputs.test-connectors-options || 'nightly build for GA and Beta connectors' }} - on ${{ inputs.runs-on || 'dev-large-runner' }}"
timeout-minutes: 600 # 10 hours
runs-on: ${{ inputs.runs-on || 'dev-large-runner' }}
steps:
Expand Down Expand Up @@ -44,7 +47,7 @@ jobs:
token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}
- name: Install ci-connector-ops package
run: pip install ./tools/ci_connector_ops\[pipelines]\
- name: "Test connectors ${{ inputs.test-connectors-options}}"
- name: Test connectors
run: |
export _EXPERIMENTAL_DAGGER_RUNNER_HOST="unix:///var/run/buildkit/buildkitd.sock"
DAGGER_CLI_COMMIT="6ed6264f1c4efbf84d310a104b57ef1bc57d57b0"
Expand All @@ -54,7 +57,7 @@ jobs:
mkdir -p "$DAGGER_TMP_BINDIR"
curl "https://dl.dagger.io/dagger/main/${DAGGER_CLI_COMMIT}/dagger_${DAGGER_CLI_COMMIT}_$(uname -s | tr A-Z a-z)_$(uname -m | sed s/x86_64/amd64/).tar.gz" | tar xvz -C "$DAGGER_TMP_BINDIR"
fi
airbyte-ci --is-ci --gha-workflow-run-id=${{ github.run_id }} connectors ${{ inputs.test-connectors-options }} test
airbyte-ci --is-ci --gha-workflow-run-id=${{ github.run_id }} connectors ${{ inputs.test-connectors-options || '--concurrency=8 --release-stage=generally_available --release-stage=beta' }} test
env:
_EXPERIMENTAL_DAGGER_CLOUD_TOKEN: "p.eyJ1IjogIjFiZjEwMmRjLWYyZmQtNDVhNi1iNzM1LTgxNzI1NGFkZDU2ZiIsICJpZCI6ICJlNjk3YzZiYy0yMDhiLTRlMTktODBjZC0yNjIyNGI3ZDBjMDEifQ.hT6eMOYt3KZgNoVGNYI3_v4CC-s19z8uQsBkGrBhU3k"
GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }}
Expand All @@ -64,5 +67,5 @@ jobs:
TEST_REPORTS_BUCKET_NAME: "airbyte-connector-build-status"
CI_GITHUB_ACCESS_TOKEN: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}
CI_GIT_BRANCH: ${{ steps.extract_branch.outputs.branch }}
CI_CONTEXT: "manual"
CI_CONTEXT: "nightly_builds"
CI_PIPELINE_START_TIMESTAMP: ${{ steps.get-start-timestamp.outputs.start-timestamp }}
90 changes: 0 additions & 90 deletions .github/workflows/connectors_nightly_builds.yml

This file was deleted.

0 comments on commit 1ab95ef

Please sign in to comment.