This commit is contained in:
parent
cf08c9e928
commit
6d5c7141fb
@ -26,13 +26,13 @@ job "lure-updater" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
env {
|
env {
|
||||||
GIT_REPO_DIR="/etc/lure-updater/repo"
|
GIT_REPO_DIR = "/etc/lure-updater/repo"
|
||||||
GIT_REPO_URL="https://github.com/Elara6331/lure-repo.git"
|
GIT_REPO_URL = "https://github.com/Elara6331/lure-repo.git"
|
||||||
GIT_CREDENTIALS_USERNAME="lure-repo-bot"
|
GIT_CREDENTIALS_USERNAME = "lure-repo-bot"
|
||||||
GIT_CREDENTIALS_PASSWORD="${GITHUB_PASSWORD}"
|
GIT_CREDENTIALS_PASSWORD = "${GITHUB_PASSWORD}"
|
||||||
GIT_COMMIT_NAME="lure-repo-bot"
|
GIT_COMMIT_NAME = "lure-repo-bot"
|
||||||
GIT_COMMIT_EMAIL="lure@elara.ws"
|
GIT_COMMIT_EMAIL = "lure@elara.ws"
|
||||||
WEBHOOK_PASSWORD_HASH="${PASSWORD_HASH}"
|
WEBHOOK_PASSWORD_HASH = "${PASSWORD_HASH}"
|
||||||
|
|
||||||
// Hack to force Nomad to re-deploy the service
|
// Hack to force Nomad to re-deploy the service
|
||||||
// instead of ignoring it
|
// instead of ignoring it
|
||||||
@ -41,10 +41,10 @@ job "lure-updater" {
|
|||||||
|
|
||||||
config {
|
config {
|
||||||
image = "alpine:latest"
|
image = "alpine:latest"
|
||||||
ports = ["webhook"]
|
|
||||||
volumes = ["local/lure-updater/:/opt/lure-updater:ro"]
|
|
||||||
command = "/opt/lure-updater/lure-updater"
|
command = "/opt/lure-updater/lure-updater"
|
||||||
args = ["-dE"]
|
args = ["-dE"]
|
||||||
|
ports = ["webhook"]
|
||||||
|
volumes = ["local/lure-updater/:/opt/lure-updater:ro"]
|
||||||
}
|
}
|
||||||
|
|
||||||
artifact {
|
artifact {
|
||||||
|
Loading…
Reference in New Issue
Block a user