Remove 'lure-' prefix from subdirectories

This commit is contained in:
Elara 2023-09-26 15:32:46 -07:00
parent e5b9294f93
commit 185371b649
48 changed files with 14 additions and 14 deletions

View File

@ -15,14 +15,14 @@ steps:
publish-frontend: publish-frontend:
image: gitea.elara.ws/elara6331/crane image: gitea.elara.ws/elara6331/crane
secrets: [ registry_password ] secrets: [ registry_password ]
directory: lure-frontend
commands: commands:
- export HOME=/home/nonroot - export HOME=/home/nonroot
- crane auth login gitea.elara.ws -u Elara6331 -p "$${REGISTRY_PASSWORD}" - crane auth login gitea.elara.ws -u Elara6331 -p "$${REGISTRY_PASSWORD}"
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/elara6331/lure-web:amd64 --platform=linux/amd64 - crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/lure/frontend:amd64 --platform=linux/amd64
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/elara6331/lure-web:arm64 --platform=linux/arm64 - crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/lure/frontend:arm64 --platform=linux/arm64
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/elara6331/lure-web:riscv64 --platform=linux/riscv64 - crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/lure/frontend:riscv64 --platform=linux/riscv64
- crane index append -m gitea.elara.ws/elara6331/lure-web:amd64 -m gitea.elara.ws/elara6331/lure-web:arm64 -m gitea.elara.ws/elara6331/lure-web:riscv64 -t gitea.elara.ws/elara6331/lure-web:latest - crane index append -m gitea.elara.ws/lure/frontend:amd64 -m gitea.elara.ws/lure/frontend:arm64 -m gitea.elara.ws/lure/frontend:riscv64 -t gitea.elara.ws/lure/frontend:latest
build-backend: build-backend:
image: gitea.elara.ws/elara6331/builder image: gitea.elara.ws/elara6331/builder
@ -34,7 +34,7 @@ steps:
environment: environment:
- REGISTRY=gitea.elara.ws - REGISTRY=gitea.elara.ws
- REGISTRY_USERNAME=Elara6331 - REGISTRY_USERNAME=Elara6331
- KO_DOCKER_REPO=gitea.elara.ws/elara6331 - KO_DOCKER_REPO=gitea.elara.ws/lure
- KO_DEFAULTBASEIMAGE=gitea.elara.ws/elara6331/static - KO_DEFAULTBASEIMAGE=gitea.elara.ws/elara6331/static
deploy: deploy:

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -14,7 +14,7 @@ job "lure-web" {
} }
} }
task "lure-backend" { task "backend" {
driver = "docker" driver = "docker"
env { env {
@ -26,7 +26,7 @@ job "lure-web" {
} }
config { config {
image = "gitea.elara.ws/elara6331/lure-backend:latest" image = "gitea.elara.ws/lure/backend:latest"
ports = ["api"] ports = ["api"]
} }
@ -35,8 +35,8 @@ job "lure-web" {
port = "api" port = "api"
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.lure-api-server.rule=Host(`api.lure.elara.ws`)", "traefik.http.routers.lure-backend.rule=Host(`api.lure.elara.ws`)",
"traefik.http.routers.lure-api-server.tls.certresolver=letsencrypt" "traefik.http.routers.lure-backend.tls.certresolver=letsencrypt"
] ]
check { check {
@ -48,11 +48,11 @@ job "lure-web" {
} }
} }
task "lure-web" { task "frontend" {
driver = "docker" driver = "docker"
config { config {
image = "gitea.elara.ws/elara6331/lure-web:latest" image = "gitea.elara.ws/lure/frontend:latest"
ports = ["http"] ports = ["http"]
args = ["build"] args = ["build"]
} }
@ -63,8 +63,8 @@ job "lure-web" {
port = "http" port = "http"
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.lure-web.rule=Host(`lure.elara.ws`)", "traefik.http.routers.lure-frontend.rule=Host(`lure.elara.ws`)",
"traefik.http.routers.lure-web.tls.certresolver=letsencrypt", "traefik.http.routers.lure-frontend.tls.certresolver=letsencrypt",
] ]
} }
} }