diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 40ca079..4e867e0 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -14,7 +14,7 @@ jobs: runs-on: debian-host env: - NOMAD_ADDR: ${{ secrets.NOMAD_ADDR }} + NOMAD_ADDR: https://nomad.i80.dk NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }} steps: diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..30cf57e --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/continuwuity.iml b/.idea/continuwuity.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/continuwuity.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..0280eb4 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..849a533 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/continuwuity.hcl b/continuwuity.hcl index 71ca17d..dca583f 100644 --- a/continuwuity.hcl +++ b/continuwuity.hcl @@ -1,4 +1,5 @@ job "continuwuity" { + region = "global" datacenters = ["dc1"] type = "service" node_pool = "default" @@ -127,8 +128,9 @@ EOF config { # TODO: pin to a released tag instead of :latest before going to prod. - image = "forgejo.ellis.link/continuwuation/continuwuity:latest" - ports = ["http"] + image = "forgejo.ellis.link/continuwuation/continuwuity:latest" + ports = ["http"] + force_pull = true # required with :latest — otherwise Nomad reuses the cached image on redeploy } resources {