Nomad changes
Some checks failed
Deploy continuwuity to Nomad / nomad job run continuwuity (push) Has been cancelled
Some checks failed
Deploy continuwuity to Nomad / nomad job run continuwuity (push) Has been cancelled
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: debian-host
|
runs-on: debian-host
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NOMAD_ADDR: ${{ secrets.NOMAD_ADDR }}
|
NOMAD_ADDR: https://nomad.i80.dk
|
||||||
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}
|
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
10
.idea/.gitignore
generated
vendored
Normal file
10
.idea/.gitignore
generated
vendored
Normal file
@@ -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
|
||||||
9
.idea/continuwuity.iml
generated
Normal file
9
.idea/continuwuity.iml
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
6
.idea/misc.xml
generated
Normal file
6
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" project-jdk-name="26" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/continuwuity.iml" filepath="$PROJECT_DIR$/.idea/continuwuity.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
job "continuwuity" {
|
job "continuwuity" {
|
||||||
|
region = "global"
|
||||||
datacenters = ["dc1"]
|
datacenters = ["dc1"]
|
||||||
type = "service"
|
type = "service"
|
||||||
node_pool = "default"
|
node_pool = "default"
|
||||||
@@ -127,8 +128,9 @@ EOF
|
|||||||
|
|
||||||
config {
|
config {
|
||||||
# TODO: pin to a released tag instead of :latest before going to prod.
|
# TODO: pin to a released tag instead of :latest before going to prod.
|
||||||
image = "forgejo.ellis.link/continuwuation/continuwuity:latest"
|
image = "forgejo.ellis.link/continuwuation/continuwuity:latest"
|
||||||
ports = ["http"]
|
ports = ["http"]
|
||||||
|
force_pull = true # required with :latest — otherwise Nomad reuses the cached image on redeploy
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
|
|||||||
Reference in New Issue
Block a user