-
Notifications
You must be signed in to change notification settings - Fork 4.2k
36 lines (35 loc) · 1.36 KB
/
metadata_service_tests_dagger.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
name: Connector Ops CI - Metadata Service Tests
on:
workflow_dispatch:
pull_request:
paths:
- "airbyte-ci/connectors/metadata_service/**"
jobs:
connector_metadata_service_ci:
name: Connector metadata service CI
runs-on: medium-runner
env:
CI_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
- name: Run test pipeline for the metadata lib
id: metadata-lib-test-pipeline
uses: ./.github/actions/run-dagger-pipeline
with:
subcommand: "metadata test lib"
context: "pull_request"
github_token: ${{ secrets.GITHUB_TOKEN }}
docker_hub_username: ${{ secrets.DOCKER_HUB_USERNAME }}
docker_hub_password: ${{ secrets.DOCKER_HUB_PASSWORD }}
gcp_gsm_credentials: ${{ secrets.GCP_GSM_CREDENTIALS }}
- name: Run test for the metadata orchestrator
id: metadata-orchestrator-test-pipeline
uses: ./.github/actions/run-dagger-pipeline
with:
subcommand: "metadata test orchestrator"
context: "pull_request"
github_token: ${{ secrets.GITHUB_TOKEN }}
docker_hub_username: ${{ secrets.DOCKER_HUB_USERNAME }}
docker_hub_password: ${{ secrets.DOCKER_HUB_PASSWORD }}
gcp_gsm_credentials: ${{ secrets.GCP_GSM_CREDENTIALS }}