Skip to content

Commit 5c8b20f

Browse files
authored
Merge pull request #117 from opencrvs/ocrvs-9792
feat: Boostrap OpenCRVS node (ocrvs-9792)
2 parents d59d835 + 7eb93a5 commit 5c8b20f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+704
-1421
lines changed

.github/workflows/deploy-dependencies.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ on:
99
default: "dev"
1010
type: choice
1111
options:
12-
- demo
13-
- dev
14-
- dev-stg
12+
- ""
1513
jobs:
1614
github-to-k8s-sync-env:
1715
uses: ./.github/workflows/github-to-k8s-sync-env.yml

.github/workflows/deploy-opencrvs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ on:
2727
default: "dev"
2828
type: choice
2929
options:
30-
- demo
31-
- dev
32-
- dev-stg
30+
- ""
3331
reset:
3432
description: "Reset environment after deploy"
3533
required: false

.github/workflows/k8s-reindex.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ on:
99
default: "dev"
1010
type: choice
1111
options:
12-
- demo
13-
- dev
14-
- dev-stg
12+
- ""
1513
workflow_call:
1614
inputs:
1715
environment:

.github/workflows/k8s-reset-data.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ on:
88
required: true
99
type: choice
1010
options:
11-
- demo
12-
- dev
13-
- dev-stg
11+
- ""
1412
workflow_call:
1513
inputs:
1614
environment:

.github/workflows/k8s-seed-data.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ on:
99
default: "dev"
1010
type: choice
1111
options:
12-
- demo
13-
- dev
14-
- dev-stg
12+
- ""
1513
workflow_call:
1614
inputs:
1715
environment:

.github/workflows/provision.md

Whitespace-only changes.

.github/workflows/provision.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ on:
99
default: 'demo'
1010
type: choice
1111
options:
12-
- dev
13-
- demo
12+
- ""
1413
tags:
1514
description: 'Tags to apply to the provisioned resources'
1615
required: true
@@ -27,8 +26,7 @@ on:
2726
- decrypt-on-boot
2827
- checks
2928
- containerd-setup
30-
- kubernetes-installation
31-
- join-workers
29+
- k8s
3230
- system-preparation
3331
jobs:
3432
provision:
@@ -62,7 +60,6 @@ jobs:
6260
smtp_from: "[email protected]"
6361
smtp_password: ${{ secrets.SMTP_PASSWORD }}
6462
alert_email: ${{ secrets.ALERT_EMAIL }}
65-
6663
- name: checkout repository
6764
uses: actions/checkout@v5
6865
- name: Run Ansible Playbook

.github/workflows/update-envs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Extract available environment names
2828
id: extract_environment
2929
run: |
30-
ENVIRONMENTS=(`ls -1 environments`)
30+
ENVIRONMENTS=(`find environments/ -type d -mindepth 1 -maxdepth 1 -exec basename {} \;`)
3131
echo "env_list=${ENVIRONMENTS[@]}" >> "$GITHUB_OUTPUT"
3232
echo "List of existing environment configurations:"
3333
echo "${ENVIRONMENTS[@]}"
@@ -52,6 +52,7 @@ jobs:
5252
".github/workflows/deploy-opencrvs.yml"
5353
".github/workflows/k8s-reset-data.yml"
5454
".github/workflows/k8s-seed-data.yml"
55+
".github/workflows/k8s-reindex.yml"
5556
)
5657
path=".on.workflow_dispatch.inputs.environment.options"
5758

environments/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This folder is used to store helm chart values.
2+
3+
Files in this folder are created by `yarn environment:init`, but all further updates should be done manually.

environments/demo/README.md

Lines changed: 0 additions & 222 deletions
This file was deleted.

0 commit comments

Comments
 (0)