File tree Expand file tree Collapse file tree 4 files changed +17
-15
lines changed
Expand file tree Collapse file tree 4 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 1+ on : [push, workflow_dispatch]
2+ jobs :
3+ cicd :
4+ # https://github.com/internetarchive/cicd
5+ uses : internetarchive/cicd/.github/workflows/cicd.yml@main
6+ with :
7+ NOMAD_VAR_PORTS : ' { 5000 = "http", 5432 = "backend" }'
8+ NOMAD_VAR_MULTI_CONTAINER : ' true'
9+ BASE_DOMAIN : ext.archive.org
10+ NO_TEST : true
11+ secrets :
12+ NOMAD_TOKEN_EXT : ${{ secrets.NOMAD_TOKEN_EXT }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33demo repo that deploys two+ related containers (eg: frontend + redis or DB, etc.)
44which can talk to each other
55
6- example webapp (this repo): https://multi.dev .archive.org/
6+ example webapp (this repo): https://internetarchive- multi.ext .archive.org/
77
88
99## how to
@@ -17,7 +17,7 @@ $NOMAD_ADDR_backend
1717
1818Our port numbers and names get setup in our
1919
20- [ .gitlab-ci .yml] ( .gitlab-ci .yml )
20+ [ .github/workflows/cicd .yml] ( .github/workflows/cicd .yml )
2121
2222here:
2323``` yaml
Original file line number Diff line number Diff line change 22# multi-container jobspec end-to-end
33
44variables {
5- CI_REGISTRY = " registry.gitlab.com "
6- CI_REGISTRY_IMAGE = " registry.gitlab.com /internetarchive/nomad-multiple-tasks"
5+ CI_REGISTRY = " ghcr.io "
6+ CI_REGISTRY_IMAGE = " ghcr.io /internetarchive/nomad-multiple-tasks:main "
77 CI_COMMIT_REF_SLUG = " main"
88 CI_COMMIT_SHA = " latest"
99
@@ -12,7 +12,7 @@ variables {
1212
1313variable "HOSTNAMES" {
1414 type = list (string )
15- default = [" internetarchive-nomad-multiple-tasks.dev .archive.org" ]
15+ default = [" internetarchive-nomad-multiple-tasks.ext .archive.org" ]
1616}
1717
1818
You can’t perform that action at this time.
0 commit comments