Skip to content

Commit 200f537

Browse files
committed
WIP: Moving prod dockerfiles out of defunct k8s dir.
1 parent aae5494 commit 200f537

File tree

16 files changed

+8
-8
lines changed

16 files changed

+8
-8
lines changed

.github/workflows/containerbuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
with:
8080
skip_after_successful_duplicate: false
8181
github_token: ${{ github.token }}
82-
paths: '["k8s/images/nginx/*", ".github/workflows/containerbuild.yml"]'
82+
paths: '["docker/prod/nginx/*", ".github/workflows/containerbuild.yml"]'
8383

8484
build_nginx:
8585
name: nginx - test build of nginx Docker image
@@ -100,6 +100,6 @@ jobs:
100100
uses: docker/build-push-action@v6
101101
with:
102102
context: ./
103-
file: ./k8s/images/nginx/Dockerfile
103+
file: ./docker/prod/nginx/Dockerfile
104104
platforms: linux/amd64
105105
push: false

cloudbuild-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ steps:
2020
waitFor: ['-'] # don't wait for previous steps
2121
args: [
2222
'build',
23-
'-f', 'k8s/images/nginx/Dockerfile',
23+
'-f', 'docker/prod/nginx/Dockerfile',
2424
'--cache-from', 'gcr.io/$PROJECT_ID/learningequality-studio-nginx:latest',
2525
'-t', 'gcr.io/$PROJECT_ID/learningequality-studio-nginx:$COMMIT_SHA',
2626
'-t', 'gcr.io/$PROJECT_ID/learningequality-studio-nginx:latest',

cloudbuild-production.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
- >
1313
docker build
1414
--build_arg COMMIT_SHA=$COMMIT_SHA
15-
-f k8s/images/app/Dockerfile
15+
-f docker/prod/app/Dockerfile
1616
--cache-from gcr.io/$PROJECT_ID/learningequality-studio-app:latest
1717
-t gcr.io/$PROJECT_ID/learningequality-studio-app:$COMMIT_SHA
1818
-t gcr.io/$PROJECT_ID/learningequality-studio-app:latest
@@ -23,7 +23,7 @@ steps:
2323
waitFor: ['-'] # don't wait for previous steps
2424
args: [
2525
'build',
26-
'-f', 'k8s/images/nginx/Dockerfile',
26+
'-f', 'docker/prod/nginx/Dockerfile',
2727
'--cache-from', 'gcr.io/$PROJECT_ID/learningequality-studio-nginx:latest',
2828
'-t', 'gcr.io/$PROJECT_ID/learningequality-studio-nginx:$COMMIT_SHA',
2929
'-t', 'gcr.io/$PROJECT_ID/learningequality-studio-nginx:latest',
@@ -40,7 +40,7 @@ steps:
4040
waitFor: ['pull-prober-image-cache'] # don't wait for previous steps
4141
args: [
4242
'build',
43-
'-f', 'k8s/images/prober/Dockerfile',
43+
'-f', 'docker/prod/prober/Dockerfile',
4444
'--cache-from', 'gcr.io/$PROJECT_ID/learningequality-studio-prober:latest',
4545
'-t', 'gcr.io/$PROJECT_ID/learningequality-studio-prober:$COMMIT_SHA',
4646
'-t', 'gcr.io/$PROJECT_ID/learningequality-studio-prober:latest',

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ services:
3535
platform: linux/amd64
3636
build:
3737
context: .
38-
dockerfile: k8s/images/nginx/Dockerfile
38+
dockerfile: docker/prod/nginx/Dockerfile
3939
ports:
4040
- "8081:8080"
4141
depends_on:
File renamed without changes.

0 commit comments

Comments
 (0)