Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy vLatest to production #72

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3de1877
Deploy production to v1.0.11
kennsippell Feb 13, 2024
d5e6393
Merge branch 'main' into deploy
kennsippell Feb 16, 2024
9ca4eb5
1.0.15
kennsippell Feb 25, 2024
8dba8fd
1.1.2
kennsippell Mar 13, 2024
0d0c345
Merge branch 'main' into deploy
kennsippell Mar 13, 2024
da500e3
1.1.3
kennsippell Mar 14, 2024
884051b
1.1.5
kennsippell Mar 18, 2024
cd9d561
1.1.6
kennsippell Mar 19, 2024
8eb58ca
1.3.0
kennsippell Mar 22, 2024
1d0b383
1.3.1
kennsippell Mar 24, 2024
f01890c
Merge branch 'main' into deploy
kennsippell Mar 25, 2024
d41d4f0
1.3.2
kennsippell Mar 25, 2024
cd87ad2
Merge branch 'main' into deploy
kennsippell Mar 27, 2024
a279f01
Deploy togo 1.3.3
kennsippell Mar 27, 2024
5d312e2
Remove certificate-arn reference from deploy
nydr Mar 28, 2024
ed7c1ab
1.3.5
kennsippell Apr 1, 2024
16ba9ba
Merge remote-tracking branch 'origin/dn/rm-cert-arn' into deploy
kennsippell Apr 2, 2024
624aa0c
1.3.6
kennsippell Apr 2, 2024
2eeba1f
1.3.11
kennsippell Apr 17, 2024
3a7e5d8
1.3.15
kennsippell Apr 25, 2024
fd32f28
Deploy 1.3.16
kennsippell May 8, 2024
62415e4
Merge branch 'main' into deploy
freddieptf May 13, 2024
ef66682
deploy 1.13.18
freddieptf May 13, 2024
b26eefa
1.3.19
kennsippell May 15, 2024
0ed874a
1.3.20
kennsippell May 23, 2024
c2610e5
Create users-chis-civ.yaml in deploy branch
mrjones-plip Aug 27, 2024
70de746
users-chis-civ.yaml to tag 1.3.20-civ-fixes-patch-1 per medic-infrast…
mrjones-plip Sep 13, 2024
ca21075
Deploy civ updates (#202)
inromualdo Sep 17, 2024
e4e461a
update tag for users-chis-civ.yaml to use new patch
mrjones-plip Sep 17, 2024
120062b
Merge branch 'main' into deploy
kennsippell Dec 27, 2024
d21b915
Merge branch 'deploy' of https://github.com/medic/cht-user-management…
kennsippell Dec 27, 2024
f022a83
2.0.0
kennsippell Dec 27, 2024
873b7bf
2.1.0
kennsippell Jan 9, 2025
4391f61
Merge branch 'main' into deploy
kennsippell Jan 9, 2025
1302f05
Missing 2.1.0 tag
kennsippell Jan 9, 2025
7c3d620
Cleanup
kennsippell Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
"lint": "npx eslint --color --cache .",
"start": "node dist/index.js",
"dev": "tsc-watch --onSuccess \"node dist/index.js\"",
"publish": "node scripts/publish.js"
"publish": "node scripts/publish.js",
"deploy-ke": "cd scripts/deploy && helm upgrade --kube-context arn:aws:eks:eu-west-2:720541322708:cluster/prod-cht-eks --namespace users-chis-prod --values values/users-chis-ke.yaml users-chis-ke medic/cht-user-management",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this will work as expected, wouldn't this require having medic/cht-user-management in the deploy directory?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth replacing these vars with environment variables

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think when you run these steps then the medic/cht-user-management is an alias. I tested these commands and I don't have that repo in this folder.

We can do environment variables, but I think just you and I are using this for the foreseeable future and then we are going to move to MoH self-host. Did you try it? Can you?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not try it, i followed the steps in https://github.com/medic/cht-user-management/blob/main/scripts/deploy/medic-deploy.md. If it works then no prob we can merge

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just leave it open. Can you try it next time you're doing a deployment? No rush on this one.

"deploy-ug": "cd scripts/deploy && helm upgrade --kube-context arn:aws:eks:eu-west-2:720541322708:cluster/prod-cht-eks --namespace users-chis-prod --values values/users-chis-ug.yaml users-chis-ug medic/cht-user-management",
"deploy": "npm run deploy-ke && npm run deploy-ug"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy/values/users-chis-ke.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cht-user-management:
image:
tag: 1.0.8
tag: 1.0.11
env:
CONFIG_NAME: chis-ke

Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy/values/users-chis-ug.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cht-user-management:
image:
tag: 1.0.8
tag: 1.0.11
env:
CONFIG_NAME: chis-ug

Expand Down
Loading