Skip to content

e2e-noscience

e2e-noscience #27

name: "e2e: noscience, self-hosted"
on:
repository_dispatch:
types: [e2e-noscience]
jobs:
e2e-science:
runs-on: ubuntu-latest
steps:
- name: build
run: |
image="${{ github.event.client_payload.image }}"
if [ "${{ github.event.client_payload.build }}" == "true" ]; then
echo "build success for image $image"
else
echo "build failed for image $image"
exit 1
fi
- name: e2e
run: |
cluster="${{ github.event.client_payload.cluster }}"
if [ "${{ github.event.client_payload.e2e }}" == "true" ]; then
echo "Succeed to run e2e tests on cluster $cluster"
else
echo "Failed to run e2e tests on cluster $cluster"
exit 1
fi
- name: push
run: |
image="${{ github.event.client_payload.image }}"
if [ "${{ github.event.client_payload.push }}" == "true" ]; then
echo "Succeed in pushing image $image"
else
echo "Failed to push image $image"
exit 1
fi