mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-03-02 18:10:20 +00:00
* pull out script blocks into `hack` path * update e2e workflow to use scripts in `hack` * install cert manager and self-signed cluster issuer in e2e * deploy podinfo with secure port and certificate enabled * add `hack/e2e.sh` script, which can be used to execute the github workflow locally
21 lines
325 B
Bash
Executable File
21 lines
325 B
Bash
Executable File
#! /usr/bin/env sh
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
|
|
|
|
# run the build
|
|
$SCRIPT_DIR/build.sh
|
|
|
|
# create the kind cluster
|
|
kind create cluster || true
|
|
|
|
# load the docker image
|
|
kind load docker-image test/podinfo:latest
|
|
|
|
# run the deploy
|
|
$SCRIPT_DIR/deploy.sh
|
|
|
|
# run the tests
|
|
$SCRIPT_DIR/test.sh
|