Skip to content

Commit

Permalink
ci: add integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bauer <[email protected]>
  • Loading branch information
fsrv-xyz committed Jun 17, 2023
1 parent 2ae9ec1 commit 2bdb6db
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include:
- kubernetes-review.yaml

variables:
KUBE_BASE_DIR: "${CI_PROJECT_DIR}/example/kubernetes"
KUBE_BASE_DIR: "${CI_PROJECT_DIR}/.it/kubernetes"

build:
stage: build
Expand All @@ -44,3 +44,14 @@ review::start:
artifacts: false
review::stop:
stage: review

integration test:
stage: review
needs:
- job: review::start
artifacts: true
image: debian:bullseye-slim
before_script:
- apt update -y -qq && apt install -y -qq curl
script:
- bash .it/test.sh
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions .it/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -xeuo pipefail

env

0 comments on commit 2bdb6db

Please sign in to comment.