Skip to content

Commit 0ca8ad7

Browse files
committed
WIP: m138 CI
Change-Id: I55e16439610d699ce62dee35143abb3b646ad127
1 parent 761a646 commit 0ca8ad7

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

.github/actions/depot_tools/action.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,21 @@ runs:
2727
echo "target_os=['android']" >> .gclient
2828
gclient validate
2929
shell: bash
30+
- name: Inject siso env file [ hack ]
31+
shell: bash
32+
run: |
33+
mkdir -p src/build/config/siso/
34+
echo "SISO_PROJECT=cobalt-actions-prod" > src/build/config/siso/.sisoenv
35+
echo "SISO_REAPI_INSTANCE=default_instance" >> src/build/config/siso/.sisoenv
36+
cat src/build/config/siso/.sisoenv
37+
echo "PAINGE"
38+
ls src/build/config/siso/
39+
ls src/build/config/siso/backend_config
40+
cp -v src/build/config/siso/backend_config/google.star src/build/config/siso/backend_config/backend.star
3041
- name: gclient sync
3142
if: inputs.run_sync == 'true'
3243
run: gclient sync -v --shallow --no-history -r ${{ github.sha }}
3344
shell: bash
3445
- name: Disable Chromium client side build telemetry
3546
run: build_telemetry opt-out
36-
shell: bash
47+
shell: bash
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: nightly_trigger_m138
2+
3+
on:
4+
schedule:
5+
# GMT timezone.
6+
- cron: '0 10 * * *'
7+
workflow_dispatch:
8+
9+
jobs:
10+
trigger_m138:
11+
permissions:
12+
actions: write
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 1
19+
ref:
20+
persist-credentials: false
21+
- name: Trigger Nightly
22+
run: |
23+
set -x
24+
gh workflow run linux --ref feature/rebase_m138 -f nightly=true
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)