Skip to content

Commit

Permalink
LAST time, cube5, /dev/urandom IS NOT a variable name generator...
Browse files Browse the repository at this point in the history
Signed-off-by: Mriyam Tamuli <[email protected]>
  • Loading branch information
mbtamuli committed Jan 3, 2024
1 parent 0f1c8bd commit 35d9fb5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 31 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
name: emptydirclone-e2e-tests

on:
workflow_dispatch:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
branches:
- 'main'
workflow_run:
workflows: [emptydirclone-image-build-push]
types: [completed]

permissions:
packages: write

jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- run: echo 'The triggering workflow passed'
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'The triggering workflow failed'
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
- name: Run E2E tests
run: echo "Hello, E2E"
5 changes: 5 additions & 0 deletions .github/workflows/image-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
image-build-push:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
-
name: Docker meta
id: meta
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/unit-tests.yaml

This file was deleted.

0 comments on commit 35d9fb5

Please sign in to comment.