Skip to content

Commit 6069bd6

Browse files
committed
fix(ci): Helm generate invalid YAML syntax
Signed-off-by: William Phetsinorath <william.phetsinorath-open@interieur.gouv.fr>
1 parent 554c122 commit 6069bd6

3 files changed

Lines changed: 21 additions & 3 deletions

File tree

ci/kind/env/dso-values-dev.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
global:
22
env:
33
NODE_ENV: development
4-
4+
keycloak:
5+
domain:
6+
backend: dso-cpn-keycloak
7+
frontend: dso-cpn-keycloak
58
server:
69
image:
710
repository: dso-console/server
@@ -15,7 +18,6 @@ server:
1518
# enabled: false
1619
env:
1720
CI: "false"
18-
KEYCLOAK_DOMAIN: dso-cpn-keycloak
1921
extraVolumes:
2022
- name: dev-workspace
2123
path: /app/apps/server/src

ci/kind/env/dso-values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ server:
5656
env:
5757
CI: "true"
5858
DEV_SETUP: "true"
59-
KEYCLOAK_DOMAIN: dso-cpn-keycloak
6059

6160
client:
6261
image:

scripts/cancel-ci-shikanime.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# Cancel all in_progress and queued runs for user 'shikanime' on workflow 'Continuous Integration'
4+
5+
echo "Cancelling in_progress runs..."
6+
gh run list --workflow "Continuous Integration" --user shikanime --status in_progress --json databaseId --jq '.[].databaseId' | while read -r run_id; do
7+
echo "Cancelling run $run_id"
8+
gh run cancel "$run_id"
9+
done
10+
11+
echo "Cancelling queued runs..."
12+
gh run list --workflow "Continuous Integration" --user shikanime --status queued --json databaseId --jq '.[].databaseId' | while read -r run_id; do
13+
echo "Cancelling run $run_id"
14+
gh run cancel "$run_id"
15+
done
16+
17+
echo "Done."

0 commit comments

Comments
 (0)