forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 1.74 KB
/
connectors_weekly_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Connectors weekly build
on:
schedule:
# 12PM UTC on Sunday is 2PM CEST, 3PM EEST, 5 PDT.
- cron: "0 12 * * 0"
workflow_dispatch:
inputs:
runs-on:
type: string
default: conn-nightly-xlarge-runner
required: true
test-connectors-options:
default: --concurrency=3 --release-stage=alpha
required: true
run-name: "Test connectors: ${{ inputs.test-connectors-options || 'weekly build for Alpha connectors' }} - on ${{ inputs.runs-on || 'dev-large-runner' }}"
jobs:
test_connectors:
name: "Test connectors: ${{ inputs.test-connectors-options || 'weekly build for Alpha connectors' }} - on ${{ inputs.runs-on || 'dev-large-runner' }}"
timeout-minutes: 8640 # 6 days
runs-on: ${{ inputs.runs-on || 'conn-nightly-xlarge-runner' }}
steps:
- name: Checkout Airbyte
uses: actions/checkout@v3
with:
repository: ${{ github.event.inputs.repo }}
ref: ${{ github.event.inputs.gitref }}
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Test connectors
uses: ./.github/actions/run-dagger-pipeline
with:
context: "nightly_builds"
ci_job_key: "weekly_alpha_test"
docker_hub_password: ${{ secrets.DOCKER_HUB_PASSWORD }}
docker_hub_username: ${{ secrets.DOCKER_HUB_USERNAME }}
gcp_gsm_credentials: ${{ secrets.GCP_GSM_CREDENTIALS }}
git_branch: ${{ steps.extract_branch.outputs.branch }}
github_token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}
subcommand: "connectors ${{ inputs.test-connectors-options || '--concurrency=3 --release-stage=alpha' }} test"