Skip to content

Commit 94e656e

Browse files
authored
feat(sage-monorepo): remove all publish-image tasks (ARCH-336) (#2921)
1 parent 669c707 commit 94e656e

File tree

31 files changed

+0
-372
lines changed

31 files changed

+0
-372
lines changed

apps/agora/apex/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@
1616
"command": "docker/agora/serve-detach.sh agora-apex"
1717
}
1818
},
19-
"publish-image": {
20-
"executor": "@nx-tools/nx-container:build",
21-
"options": {
22-
"context": "apps/agora/apex",
23-
"metadata": {
24-
"images": ["ghcr.io/sage-bionetworks/agora-apex"],
25-
"tags": ["type=edge,branch=main", "type=sha"]
26-
},
27-
"push": true
28-
},
29-
"dependsOn": ["build-image"]
30-
},
3119
"scan-image": {
3220
"executor": "nx:run-commands",
3321
"options": {

apps/agora/api-docs/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@
3030
"command": "docker/agora/serve-detach.sh agora-api-docs"
3131
}
3232
},
33-
"publish-image": {
34-
"executor": "@nx-tools/nx-container:build",
35-
"options": {
36-
"context": "apps/agora/api-docs",
37-
"metadata": {
38-
"images": ["ghcr.io/sage-bionetworks/agora-api-docs"],
39-
"tags": ["type=edge,branch=main", "type=sha"]
40-
},
41-
"push": true
42-
},
43-
"dependsOn": ["build-image"]
44-
},
4533
"scan-image": {
4634
"executor": "nx:run-commands",
4735
"options": {

apps/agora/api/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,6 @@
6060
"fix": true
6161
}
6262
},
63-
"publish-image": {
64-
"executor": "@nx-tools/nx-container:build",
65-
"options": {
66-
"context": ".",
67-
"metadata": {
68-
"images": ["ghcr.io/sage-bionetworks/agora-api"],
69-
"tags": ["type=edge,branch=main", "type=sha"]
70-
},
71-
"push": true
72-
},
73-
"dependsOn": ["build-image"]
74-
},
7563
"scan-image": {
7664
"executor": "nx:run-commands",
7765
"options": {

apps/agora/app/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,6 @@
156156
},
157157
"defaultConfiguration": "development"
158158
},
159-
"publish-image": {
160-
"executor": "@nx-tools/nx-container:build",
161-
"options": {
162-
"context": ".",
163-
"metadata": {
164-
"images": ["ghcr.io/sage-bionetworks/agora-app"],
165-
"tags": ["type=edge,branch=main", "type=sha"]
166-
},
167-
"push": true
168-
},
169-
"dependsOn": ["build-image"]
170-
},
171159
"scan-image": {
172160
"executor": "nx:run-commands",
173161
"options": {

apps/agora/data/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@
3131
"command": "docker/agora/serve-detach.sh {projectName}"
3232
}
3333
},
34-
"publish-image": {
35-
"executor": "@nx-tools/nx-container:build",
36-
"options": {
37-
"context": "{projectRoot}",
38-
"metadata": {
39-
"images": ["ghcr.io/sage-bionetworks/{projectName}"],
40-
"tags": ["type=edge,branch=main", "type=sha", "type=raw,value=$DATA_FILE.$DATA_VERSION"]
41-
},
42-
"push": true
43-
},
44-
"dependsOn": ["build-image"]
45-
},
4634
"scan-image": {
4735
"executor": "nx:run-commands",
4836
"options": {

apps/agora/mongo/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@
1818
"command": "docker/agora/serve-detach.sh {projectName}"
1919
}
2020
},
21-
"publish-image": {
22-
"executor": "@nx-tools/nx-container:build",
23-
"options": {
24-
"context": "apps/agora/mongo",
25-
"metadata": {
26-
"images": ["ghcr.io/sage-bionetworks/{projectName}"],
27-
"tags": ["type=edge,branch=main", "type=sha"]
28-
},
29-
"push": true
30-
},
31-
"dependsOn": ["build-image"]
32-
},
3321
"scan-image": {
3422
"executor": "nx:run-commands",
3523
"options": {

apps/iatlas/postgres/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@
2727
"push": false
2828
}
2929
},
30-
"publish-image": {
31-
"executor": "@nx-tools/nx-container:build",
32-
"options": {
33-
"context": "apps/iatlas/postgres",
34-
"metadata": {
35-
"images": ["ghcr.io/sage-bionetworks/{projectName}"],
36-
"tags": ["type=edge,branch=main", "type=sha"]
37-
},
38-
"push": true
39-
},
40-
"dependsOn": ["build-image"]
41-
},
4230
"scan-image": {
4331
"executor": "nx:run-commands",
4432
"options": {

apps/model-ad/apex/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@
2727
"push": false
2828
}
2929
},
30-
"publish-image": {
31-
"executor": "@nx-tools/nx-container:build",
32-
"options": {
33-
"context": "apps/model-ad/apex",
34-
"metadata": {
35-
"images": ["ghcr.io/sage-bionetworks/model-ad-apex"],
36-
"tags": ["type=edge,branch=main", "type=sha"]
37-
},
38-
"push": true
39-
},
40-
"dependsOn": ["build-image"]
41-
},
4230
"scan-image": {
4331
"executor": "nx:run-commands",
4432
"options": {

apps/model-ad/api-docs/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,6 @@
4242
},
4343
"dependsOn": ["build"]
4444
},
45-
"publish-image": {
46-
"executor": "@nx-tools/nx-container:build",
47-
"options": {
48-
"context": "apps/model-ad/api-docs",
49-
"metadata": {
50-
"images": ["ghcr.io/sage-bionetworks/model-ad-api-docs"],
51-
"tags": ["type=edge,branch=main", "type=sha"]
52-
},
53-
"push": true
54-
},
55-
"dependsOn": ["build-image"]
56-
},
5745
"scan-image": {
5846
"executor": "nx:run-commands",
5947
"options": {

apps/model-ad/api/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,6 @@
7979
},
8080
"dependsOn": ["build-image-base"]
8181
},
82-
"publish-image": {
83-
"executor": "@nx-tools/nx-container:build",
84-
"context": "apps/model-ad/api",
85-
"options": {
86-
"metadata": {
87-
"images": ["ghcr.io/sage-bionetworks/{projectName}"],
88-
"tags": ["type=edge,branch=main", "type=sha"]
89-
},
90-
"push": true
91-
},
92-
"dependsOn": ["build-image"]
93-
},
9482
"scan-image": {
9583
"executor": "nx:run-commands",
9684
"options": {

apps/model-ad/app/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -158,18 +158,6 @@
158158
},
159159
"dependsOn": ["server"]
160160
},
161-
"publish-image": {
162-
"executor": "@nx-tools/nx-container:build",
163-
"options": {
164-
"context": ".",
165-
"metadata": {
166-
"images": ["ghcr.io/sage-bionetworks/model-ad-app"],
167-
"tags": ["type=edge,branch=main", "type=sha"]
168-
},
169-
"push": true
170-
},
171-
"dependsOn": ["build-image"]
172-
},
173161
"scan-image": {
174162
"executor": "nx:run-commands",
175163
"options": {

apps/model-ad/mongo/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@
2727
},
2828
"push": false
2929
}
30-
},
31-
"publish-image": {
32-
"executor": "@nx-tools/nx-container:build",
33-
"options": {
34-
"context": ".",
35-
"metadata": {
36-
"images": ["ghcr.io/sage-bionetworks/model-ad-mongo"],
37-
"tags": ["type=edge,branch=main", "type=sha"]
38-
},
39-
"push": true
40-
},
41-
"dependsOn": ["build-image"]
4230
}
4331
},
4432
"tags": ["type:db", "scope:backend"],

apps/openchallenges/apex/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,6 @@
1717
"command": "docker/openchallenges/serve-detach.sh openchallenges-apex"
1818
}
1919
},
20-
"publish-image": {
21-
"executor": "@nx-tools/nx-container:build",
22-
"options": {
23-
"context": "apps/openchallenges/apex",
24-
"metadata": {
25-
"images": ["ghcr.io/sage-bionetworks/openchallenges-apex"],
26-
"tags": ["type=edge,branch=main", "type=sha"]
27-
},
28-
"push": true
29-
},
30-
"dependsOn": ["build-image"]
31-
},
3220
"scan-image": {
3321
"executor": "nx:run-commands",
3422
"options": {

apps/openchallenges/api-docs/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@
3131
"command": "docker/openchallenges/serve-detach.sh openchallenges-api-docs"
3232
}
3333
},
34-
"publish-image": {
35-
"executor": "@nx-tools/nx-container:build",
36-
"options": {
37-
"context": "apps/openchallenges/api-docs",
38-
"metadata": {
39-
"images": ["ghcr.io/sage-bionetworks/openchallenges-api-docs"],
40-
"tags": ["type=edge,branch=main", "type=sha"]
41-
},
42-
"push": true
43-
},
44-
"dependsOn": ["build-image"]
45-
},
4634
"scan-image": {
4735
"executor": "nx:run-commands",
4836
"options": {

apps/openchallenges/api-gateway/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,6 @@
6767
},
6868
"dependsOn": ["^install"]
6969
},
70-
"publish-image": {
71-
"executor": "@nx-tools/nx-container:build",
72-
"options": {
73-
"context": "apps/openchallenges/api-gateway",
74-
"metadata": {
75-
"images": ["ghcr.io/sage-bionetworks/openchallenges-api-gateway"],
76-
"tags": ["type=edge,branch=main", "type=sha"]
77-
},
78-
"push": true
79-
},
80-
"dependsOn": ["build-image"]
81-
},
8270
"scan-image": {
8371
"executor": "nx:run-commands",
8472
"options": {

apps/openchallenges/app/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,6 @@
132132
"jestConfig": "apps/openchallenges/app/jest.config.ts"
133133
}
134134
},
135-
"publish-image": {
136-
"executor": "@nx-tools/nx-container:build",
137-
"options": {
138-
"context": ".",
139-
"metadata": {
140-
"images": ["ghcr.io/sage-bionetworks/openchallenges-app"],
141-
"tags": ["type=edge,branch=main", "type=sha"]
142-
},
143-
"push": true
144-
},
145-
"dependsOn": ["build-image"]
146-
},
147135
"scan-image": {
148136
"executor": "nx:run-commands",
149137
"options": {

apps/openchallenges/challenge-service/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,6 @@
7575
},
7676
"dependsOn": ["^install"]
7777
},
78-
"publish-image": {
79-
"executor": "@nx-tools/nx-container:build",
80-
"context": "apps/openchallenges/challenge-service",
81-
"options": {
82-
"metadata": {
83-
"images": ["ghcr.io/sage-bionetworks/{projectName}"],
84-
"tags": ["type=edge,branch=main", "type=sha"]
85-
},
86-
"push": true
87-
},
88-
"dependsOn": ["build-image"]
89-
},
9078
"scan-image": {
9179
"executor": "nx:run-commands",
9280
"options": {

apps/openchallenges/config-server/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,6 @@
6767
},
6868
"dependsOn": ["^install"]
6969
},
70-
"publish-image": {
71-
"executor": "@nx-tools/nx-container:build",
72-
"options": {
73-
"context": "apps/openchallenges/config-server",
74-
"metadata": {
75-
"images": ["ghcr.io/sage-bionetworks/openchallenges-config-server"],
76-
"tags": ["type=edge,branch=main", "type=sha"]
77-
},
78-
"push": true
79-
},
80-
"dependsOn": ["build-image"]
81-
},
8270
"scan-image": {
8371
"executor": "nx:run-commands",
8472
"options": {

apps/openchallenges/edam-etl/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@
3131
"command": "docker/openchallenges/serve-detach.sh {projectName}"
3232
}
3333
},
34-
"publish-image": {
35-
"executor": "@nx-tools/nx-container:build",
36-
"options": {
37-
"context": "{projectRoot}",
38-
"metadata": {
39-
"images": ["ghcr.io/sage-bionetworks/{projectName}"],
40-
"tags": ["type=edge,branch=main", "type=sha"]
41-
},
42-
"push": true
43-
},
44-
"dependsOn": ["build-image"]
45-
},
4634
"scan-image": {
4735
"executor": "nx:run-commands",
4836
"options": {

apps/openchallenges/elasticsearch/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@
1818
},
1919
"dependsOn": []
2020
},
21-
"publish-image": {
22-
"executor": "@nx-tools/nx-container:build",
23-
"options": {
24-
"context": "apps/openchallenges/elasticsearch",
25-
"metadata": {
26-
"images": ["ghcr.io/sage-bionetworks/openchallenges-elasticsearch"],
27-
"tags": ["type=edge,branch=main", "type=sha"]
28-
},
29-
"push": true
30-
},
31-
"dependsOn": ["build-image"]
32-
},
3321
"scan-image": {
3422
"executor": "nx:run-commands",
3523
"options": {

apps/openchallenges/grafana/project.json

-12
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,6 @@
2121
},
2222
"dependsOn": []
2323
},
24-
"publish-image": {
25-
"executor": "@nx-tools/nx-container:build",
26-
"options": {
27-
"context": "apps/openchallenges/grafana",
28-
"metadata": {
29-
"images": ["ghcr.io/sage-bionetworks/openchallenges-grafana"],
30-
"tags": ["type=edge,branch=main", "type=sha"]
31-
},
32-
"push": true
33-
},
34-
"dependsOn": ["build-image"]
35-
},
3624
"scan-image": {
3725
"executor": "nx:run-commands",
3826
"options": {

0 commit comments

Comments
 (0)