Skip to content

Commit

Permalink
refactor: standartize app naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Jan 13, 2025
1 parent dd704c6 commit 4fa508b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ jobs:
set -ex
docker pull darkwind8/darkstat:production
sleep 5
docker service update --image darkwind8/darkstat:production production-darkstat-web
docker service update --image darkwind8/darkstat:production production-darkstat-app
env:
DOCKER_HOST: ssh://root@darkbot
2 changes: 1 addition & 1 deletion .github/workflows/docker-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ jobs:
set -ex
docker pull darkwind8/darkstat:staging
sleep 5
docker service update --image darkwind8/darkstat:staging staging-darkstat-web
docker service update --image darkwind8/darkstat:staging staging-darkstat-app
env:
DOCKER_HOST: ssh://root@darkbot
2 changes: 0 additions & 2 deletions kcls/build.k
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ _workflows = [
image_name = _image_name
service_name = "darkstat"
environment = "staging"
task_name = "web"
})
workflow.DockerDeploySwarm(workflow.DockerDeploySwarmOpts {
image_name = _image_name
service_name = "darkstat"
environment = "production"
task_name = "web"
})
]

Expand Down
2 changes: 1 addition & 1 deletion tf/modules/darkstat/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data "docker_network" "caddy" {
}

resource "docker_service" "darkstat" {
name = "${var.environment}-darkstat-web"
name = "${var.environment}-darkstat-app"

task_spec {
networks_advanced {
Expand Down

0 comments on commit 4fa508b

Please sign in to comment.