This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 160a7e1
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: 'ORBOS E2E Test' | ||
description: 'Runs the ORBOS e2e testsuite' | ||
inputs: | ||
orbconfig: # id of input | ||
description: 'The contents of a fully initialized orbconfig' | ||
required: true | ||
default: '' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: ORBOS Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: caos/ORBOS | ||
path: ORBOS | ||
ref: ${{ github.event.client_payload.branch }} | ||
- name: Self Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
path: self | ||
fetch-depth: 1 | ||
- name: Make Cancelling Work for Small Intervalled Runs | ||
shell: bash | ||
run: | | ||
cd self | ||
git config user.name github-actions | ||
git config user.email github-actions@github.com | ||
git commit --allow-empty -m "empty commit" | ||
git push | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@0.4.1 | ||
with: | ||
access_token: ${{ github.token }} | ||
- name: Test | ||
id: test | ||
shell: bash | ||
run: | | ||
cd ORBOS | ||
echo "${{ inputs.orbconfig }}" > ./orbconfig | ||
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 }} |