Skip to content

Commit

Permalink
enanced e2e workflow definition
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Mar 14, 2023
1 parent ebf9f66 commit dd417e9
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
name: E2E

"on":
workflow_dispatch:
inputs:
kne_ref:
description: "openconfig/kne reference (tag, commit, branch)"
type: string
default: v0.24.4
default: v0.1.7
required: true
kind_version:
description: "KinD version"
type: string
required: true
default: v0.17.0

env:
GOVER: 1.20.2

jobs:
e2e:
name: End-to-end test
Expand All @@ -26,13 +32,15 @@ jobs:
with:
go-version: ${{ env.GOVER }}

- name: set up kind cluster
- name: Install kind
uses: engineerd/setup-kind@v0.5.0
with:
version: ${{ inputs.kind_version }}
skipClusterCreation: true

- uses: actions/checkout@v3
# - uses: fregante/setup-git-user@v1

- name: Publish structs
- name: Run e2e test
# this test ensures that srl-controller (built from referenced source) can be succesfully installed on a KNE cluster
# for a using specified versions of KNE/KinD
run: make install-srl-controller

0 comments on commit dd417e9

Please sign in to comment.