-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
13 changed files
with
146 additions
and
103 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,39 @@ | ||
name: e2e test on pr | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
provider: | ||
required: true | ||
default: "debug" | ||
type: string | ||
|
||
env: | ||
DOCKER_REGISTRY: local | ||
IMAGE_NAME: trousseau | ||
IMAGE_VERSION: e2e | ||
|
||
jobs: | ||
e2e: | ||
name: kuttl e2e | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install Taskfile | ||
run: mkdir bin && cd bin ; curl -Ls https://github.com/go-task/task/releases/download/v3.13.0/task_linux_amd64.tar.gz | tar -xz task | ||
- name: fetch dependencies | ||
run: ./bin/task fetch:kind fetch:kuttl | ||
- name: build and start proxy | ||
run: ./bin/task docker:build:proxy docker:run:proxy | ||
- name: build and start components for debug | ||
if: ${{ inputs.provider == 'debug' }} | ||
run: ./bin/task docker:build:debug docker:run:debug docker:build:trousseau docker:run:trousseau | ||
env: | ||
ENABLED_PROVIDERS: --enabled-providers debug | ||
- name: build and start components for vault | ||
if: ${{ inputs.provider == 'vault' }} | ||
run: ./bin/task docker:build:vault docker:run:vault docker:build:trousseau docker:run:trousseau | ||
env: | ||
ENABLED_PROVIDERS: --enabled-providers vault | ||
- name: run e2e tests | ||
run: ./bin/kubectl-kuttl test --config tests/e2e/kuttl/kube-v1.23/kuttl.yaml |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.