forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (45 loc) · 1.39 KB
/
mobile-traffic_director.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
45
46
47
48
49
name: mobile_traffic_director
permissions:
contents: read
on:
schedule:
# Once a day at midnight.
- cron: '0 0 * * *'
# Allows manual triggering in the UI. Makes it easier to test.
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}-github.workflow
cancel-in-progress: true
jobs:
cc_test:
if: >-
${{
github.repository == 'envoyproxy/envoy'
&& (github.event.schedule
|| !contains(github.actor, '[bot]'))
}}
name: cc_test
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
timeout-minutes: 120
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Add safe directory
run: git config --global --add safe.directory /__w/envoy/envoy
- name: 'Run GcpTrafficDirectorIntegrationTest'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GCP_TEST_PROJECT_PROD_API_KEY: ${{ secrets.GCP_TEST_PROJECT_PROD_API_KEY }}
# TODO(abeyad): remove this key once we're fully switched over to using the
# prod consumer mesh shard.
GCP_TEST_PROJECT_API_KEY: ${{ secrets.GCP_TEST_PROJECT_API_KEY }}
ENVOY_IP_TEST_VERSIONS: v4only
run: |
cd mobile
./bazelw run \
--config=mobile-remote-ci \
--config=ci \
//test/non_hermetic:gcp_traffic_director_integration_test