Skip to content

Commit

Permalink
Fixed GeekZone application image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
giulio-giunta committed Dec 17, 2023
1 parent d03781b commit ea9508f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion aws/k8s/celery/celery-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
name: celery-broker-url
- secretRef:
name: celery-secrets
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
name: celery
command: ["sh", "-c", "celery -A web worker -l INFO"]
resources:
Expand Down
8 changes: 4 additions & 4 deletions aws/k8s/prod-environment/deploy-gz-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ spec:
spec:
initContainers:
- name: wait-for-migration
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
command: ["python3", "manage.py", "migrate"]
envFrom:
- secretRef:
name: prod-secrets
- name: wait-for-database
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
command: ["python3", "manage.py", "wait_for_database"]
envFrom:
- secretRef:
name: prod-secrets
containers:
- name: django-backend
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
envFrom:
- secretRef:
name: celery-broker-url
Expand All @@ -54,7 +54,7 @@ spec:
memory: "50Mi"
cpu: 30m
- name: frontend-proxy
image: geekzone/frontend:0.1.$TAG
image: geekzone/frontend:$TAG
ports:
- containerPort: 8080
protocol: TCP
Expand Down
8 changes: 4 additions & 4 deletions aws/k8s/test-environment/deploy-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ spec:
spec:
initContainers:
- name: wait-for-migration
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
command: ["python3", "manage.py", "migrate"]
envFrom:
- secretRef:
name: testing-secrets
- name: wait-for-database
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
command: ["python3", "manage.py", "wait_for_database"]
envFrom:
- secretRef:
name: testing-secrets
containers:
- name: django-backend
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
envFrom:
- secretRef:
name: dynamic-secrets
Expand All @@ -106,7 +106,7 @@ spec:
memory: "50Mi"
cpu: 30m
- name: frontend-proxy
image: geekzone/frontend:0.1.$TAG
image: geekzone/frontend:$TAG
ports:
- containerPort: 8080
protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion azure/k8s/celery/celery-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
name: celery-broker-url
- secretRef:
name: celery-secrets
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
name: celery
command: ["sh", "-c", "celery -A web worker -l INFO"]
resources:
Expand Down
8 changes: 4 additions & 4 deletions azure/k8s/prod-environment/deploy-gz-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ spec:
spec:
initContainers:
- name: wait-for-migration
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
command: ["python3", "manage.py", "migrate"]
envFrom:
- secretRef:
name: prod-secrets
- name: wait-for-database
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
command: ["python3", "manage.py", "wait_for_database"]
envFrom:
- secretRef:
name: prod-secrets
containers:
- name: django-backend
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
envFrom:
- secretRef:
name: celery-broker-url
Expand All @@ -54,7 +54,7 @@ spec:
memory: "50Mi"
cpu: 30m
- name: frontend-proxy
image: geekzone/frontend:0.1.$TAG
image: geekzone/frontend:$TAG
ports:
- containerPort: 8080
protocol: TCP
Expand Down
8 changes: 4 additions & 4 deletions azure/k8s/test-environment/deploy-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ spec:
spec:
initContainers:
- name: wait-for-migration
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
command: ["python3", "manage.py", "migrate"]
envFrom:
- secretRef:
name: testing-secrets
- name: wait-for-database
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
command: ["python3", "manage.py", "wait_for_database"]
envFrom:
- secretRef:
name: testing-secrets
containers:
- name: django-backend
image: geekzone/backend:0.1.$TAG
image: geekzone/backend:$TAG
envFrom:
- secretRef:
name: dynamic-secrets
Expand All @@ -106,7 +106,7 @@ spec:
memory: "50Mi"
cpu: 30m
- name: frontend-proxy
image: geekzone/frontend:0.1.$TAG
image: geekzone/frontend:$TAG
ports:
- containerPort: 8080
protocol: TCP
Expand Down

0 comments on commit ea9508f

Please sign in to comment.