Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from smlx/smoke-test
Browse files Browse the repository at this point in the history
Add smoke test script
  • Loading branch information
smlx committed Jun 24, 2021
2 parents e31ec7c + c40a4aa commit 365395b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env sh

# This test script is used for simple local smoke-testing.
#
# Usage:
#
# 1. go build .
# 2. ./test.sh
#
# You should see some JSON-formatted data like:
#
# $ ./test.sh
# {"EXTERNAL_SECRET_MOCK_SECRET_BAR":"YmFy","EXTERNAL_SECRET_MOCK_SECRET_FOO":"Zm9v"}


set -eu

export LAGOON_PROJECT_VARIABLES='[{
"name": "LAGOON_EXTERNAL_SECRETS_MOCK_BACKEND",
"value": "does not matter",
"scope": "build"
}]'
export LAGOON_ENVIRONMENT_VARIABLES='[]'

./lagoon-ges

0 comments on commit 365395b

Please sign in to comment.