Skip to content

Commit 2604098

Browse files
committed
switch to GH Actions
1 parent 91e785c commit 2604098

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

.github/workflows/cicd.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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 }}

.gitlab-ci.yml

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
demo repo that deploys two+ related containers (eg: frontend + redis or DB, etc.)
44
which 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

1818
Our 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

2222
here:
2323
```yaml

minimal.nomad

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# multi-container jobspec end-to-end
33

44
variables {
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

1313
variable "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

0 commit comments

Comments
 (0)