Skip to content

Commit f3bc6b6

Browse files
author
Maurice Faber
committed
fix: gen-drone, gitea double [ci skip]
1 parent 540ce22 commit f3bc6b6

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

bin/gen-drone.sh

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ if [ "$receiver" = 'slack' ]; then
2020
else
2121
key="lowPrio"
2222
fi
23+
set -x
2324
readonly webhook=$(echo "$values" | yq r - "alerts.$receiver.$key")
2425

2526
function template_drone_config() {

bin/otomi

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function show_usage() {
7373
bootstrap bootstrap values repo with artifacts corresponding to the target cluster's stack version
7474
check-policies check if generated manifests adhere to defined OPA policies (takes helmfile options)
7575
commit execute wrapper for encrypt -> generate pipelines -> git commit changed files
76-
configure Configure otomi settings (stored in $ENV_DIR/otomi.cfg). Currently has only one option: `-c|--cluster` (to set target cluster).
76+
configure Configure otomi settings (stored in $ENV_DIR/otomi.cfg). Currently has only one option: $(-c | --cluster) (to set target cluster).
7777
console start Otomi Console (add any arg to quit) on http://127.0.0.1:3000 (licensed, so pull secret required for api)
7878
decrypt decrypts file(s) given as arguments (relative to env folder), or all env/*.secrets.yaml to env/*.secrets.yaml.dec files
7979
deploy execute otomi-core deploy script
@@ -330,6 +330,7 @@ function execute() {
330330
;;
331331
gen-drone)
332332
evaluate_secrets
333+
validate_cluster_env
333334
drun bin/gen-drone.sh
334335
;;
335336
hf)

core.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ services:
9494
ownHost: true
9595
isShared: true
9696
port: 3000
97+
hide: true
9798
- name: notary
9899
svc: harbor-harbor-notary-server
99100
port: 4443
@@ -182,8 +183,8 @@ services:
182183
ownHost: true
183184
logo:
184185
name: vault
185-
path: 'ui/vault/auth?with=oidc'
186186
isShared: true
187+
path: 'ui/vault/auth?with=oidc'
187188
- name: kubeapps
188189
svc: kubeapps
189190
namespace: kubeapps

0 commit comments

Comments
 (0)