Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 160a7e1

Browse files
authored
Create action.yml
0 parents  commit 160a7e1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

action.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: 'ORBOS E2E Test'
2+
description: 'Runs the ORBOS e2e testsuite'
3+
inputs:
4+
orbconfig: # id of input
5+
description: 'The contents of a fully initialized orbconfig'
6+
required: true
7+
default: ''
8+
runs:
9+
using: "composite"
10+
steps:
11+
- name: ORBOS Checkout
12+
uses: actions/checkout@v2
13+
with:
14+
repository: caos/ORBOS
15+
path: ORBOS
16+
ref: ${{ github.event.client_payload.branch }}
17+
- name: Self Checkout
18+
uses: actions/checkout@v2
19+
with:
20+
path: self
21+
fetch-depth: 1
22+
- name: Make Cancelling Work for Small Intervalled Runs
23+
shell: bash
24+
run: |
25+
cd self
26+
git config user.name github-actions
27+
git config user.email github-actions@github.com
28+
git commit --allow-empty -m "empty commit"
29+
git push
30+
- name: Cancel Previous Runs
31+
uses: styfle/cancel-workflow-action@0.4.1
32+
with:
33+
access_token: ${{ github.token }}
34+
- name: Test
35+
id: test
36+
shell: bash
37+
run: |
38+
cd ORBOS
39+
echo "${{ inputs.orbconfig }}" > ./orbconfig
40+
go run ./cmd/chore/e2e/run/*.go --orbconfig ./orbconfig --graphitekey ${{ secrets.GRAPHITE_KEY }} --graphiteurl https://graphite-us-central1.grafana.net/metrics --from ${{ github.event.client_payload.from }}

0 commit comments

Comments
 (0)