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

Commit

Permalink
Create action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof authored Aug 11, 2020
0 parents commit 160a7e1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions action.yml
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 }}

0 comments on commit 160a7e1

Please sign in to comment.