@catladder/pipeline 3.40.1 โ 3.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/base/index.js +2 -4
- package/dist/build/types.d.ts +0 -10
- package/dist/constants.js +1 -1
- package/dist/deploy/base/deploy.js +1 -6
- package/dist/deploy/cloudRun/createJobs/getCloudRunDeployScripts.js +2 -3
- package/dist/deploy/cloudRun/createJobs/getCloudRunStopScripts.js +2 -3
- package/dist/deploy/custom/deployJob.js +2 -3
- package/dist/deploy/kubernetes/deployJob.js +2 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/examples/__snapshots__/automatic-releases.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-execute-script-on-deploy.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-http2.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-n8n.test.ts.snap +940 -0
- package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-session-affinity.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +0 -336
- package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +0 -224
- package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +0 -112
- package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +0 -112
- package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +0 -112
- package/examples/__snapshots__/custom-build-job.test.ts.snap +0 -112
- package/examples/__snapshots__/custom-deploy.test.ts.snap +0 -106
- package/examples/__snapshots__/custom-docker-file.test.ts.snap +0 -112
- package/examples/__snapshots__/custom-envs.test.ts.snap +0 -132
- package/examples/__snapshots__/custom-verify-job.test.ts.snap +0 -112
- package/examples/__snapshots__/git-submodule.test.ts.snap +0 -112
- package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +0 -112
- package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +0 -112
- package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +0 -224
- package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +0 -112
- package/examples/__snapshots__/local-dot-env.test.ts.snap +0 -112
- package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +0 -112
- package/examples/__snapshots__/modify-generated-files.test.ts.snap +0 -88
- package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +0 -88
- package/examples/__snapshots__/multiline-var.test.ts.snap +0 -336
- package/examples/__snapshots__/native-app.test.ts.snap +0 -216
- package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +0 -112
- package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +0 -112
- package/examples/__snapshots__/override-secrets.test.ts.snap +0 -112
- package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +0 -112
- package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +0 -112
- package/examples/__snapshots__/referencing-other-vars.test.ts.snap +0 -336
- package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +0 -208
- package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +0 -224
- package/examples/__snapshots__/workspace-api-www.test.ts.snap +0 -224
- package/examples/{custom-sbom-java.test.ts โ cloud-run-n8n.test.ts} +2 -2
- package/examples/cloud-run-n8n.ts +62 -0
- package/package.json +1 -1
- package/src/build/base/index.ts +0 -4
- package/src/build/types.ts +0 -13
- package/src/deploy/base/deploy.ts +0 -5
- package/src/deploy/cloudRun/createJobs/getCloudRunDeployScripts.ts +0 -2
- package/src/deploy/cloudRun/createJobs/getCloudRunStopScripts.ts +0 -2
- package/src/deploy/custom/deployJob.ts +2 -9
- package/src/deploy/kubernetes/deployJob.ts +3 -10
- package/dist/build/sbom.d.ts +0 -5
- package/dist/build/sbom.js +0 -35
- package/dist/deploy/sbom.d.ts +0 -4
- package/dist/deploy/sbom.js +0 -21
- package/examples/custom-sbom-java.ts +0 -38
- package/src/build/sbom.ts +0 -53
- package/src/deploy/sbom.ts +0 -34
|
@@ -283,28 +283,6 @@ before_script:
|
|
|
283
283
|
needs: []
|
|
284
284
|
retry: *a1
|
|
285
285
|
interruptible: true
|
|
286
|
-
'api ๐งพ sbom | dev ':
|
|
287
|
-
stage: build
|
|
288
|
-
image:
|
|
289
|
-
name: aquasec/trivy:0.58.2
|
|
290
|
-
entrypoint:
|
|
291
|
-
- ''
|
|
292
|
-
variables: {}
|
|
293
|
-
script:
|
|
294
|
-
- collapseable_section_start "injectvars" "Injecting variables"
|
|
295
|
-
- collapseable_section_end "injectvars"
|
|
296
|
-
- trivy fs --quiet --format cyclonedx --output "__sbom.json" api
|
|
297
|
-
artifacts:
|
|
298
|
-
paths:
|
|
299
|
-
- __sbom.json
|
|
300
|
-
rules:
|
|
301
|
-
- when: never
|
|
302
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
303
|
-
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
304
|
-
needs: []
|
|
305
|
-
retry: *a1
|
|
306
|
-
interruptible: true
|
|
307
|
-
allow_failure: true
|
|
308
286
|
'api ๐ Deploy | dev ':
|
|
309
287
|
stage: deploy dev
|
|
310
288
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -328,8 +306,6 @@ before_script:
|
|
|
328
306
|
- collapseable_section_end "injectvars"
|
|
329
307
|
- cd api
|
|
330
308
|
- yarn deploy
|
|
331
|
-
- echo 'Uploading SBOM to Dependency Track'
|
|
332
|
-
- /dtrackuploader https://dep.panter.swiss/ "$DT_KEY_PROD" upload "pan-test-app/api" "$ROOT_URL" "__sbom.json" vex.json || true
|
|
333
309
|
- echo "CL_GITLAB_ENVIRONMENT_URL=$ROOT_URL" >> gitlab_environment.env
|
|
334
310
|
environment:
|
|
335
311
|
name: dev/api
|
|
@@ -349,8 +325,6 @@ before_script:
|
|
|
349
325
|
artifacts: true
|
|
350
326
|
- job: 'api ๐งช test | dev '
|
|
351
327
|
artifacts: false
|
|
352
|
-
- job: 'api ๐งพ sbom | dev '
|
|
353
|
-
artifacts: true
|
|
354
328
|
- job: 'api ๐ก audit | dev '
|
|
355
329
|
artifacts: false
|
|
356
330
|
retry: *a1
|
|
@@ -547,28 +521,6 @@ before_script:
|
|
|
547
521
|
needs: []
|
|
548
522
|
retry: *a1
|
|
549
523
|
interruptible: true
|
|
550
|
-
'api ๐งพ sbom | review ':
|
|
551
|
-
stage: build
|
|
552
|
-
image:
|
|
553
|
-
name: aquasec/trivy:0.58.2
|
|
554
|
-
entrypoint:
|
|
555
|
-
- ''
|
|
556
|
-
variables: {}
|
|
557
|
-
script:
|
|
558
|
-
- collapseable_section_start "injectvars" "Injecting variables"
|
|
559
|
-
- collapseable_section_end "injectvars"
|
|
560
|
-
- trivy fs --quiet --format cyclonedx --output "__sbom.json" api
|
|
561
|
-
artifacts:
|
|
562
|
-
paths:
|
|
563
|
-
- __sbom.json
|
|
564
|
-
rules:
|
|
565
|
-
- when: never
|
|
566
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
567
|
-
- if: $CI_MERGE_REQUEST_ID
|
|
568
|
-
needs: []
|
|
569
|
-
retry: *a1
|
|
570
|
-
interruptible: true
|
|
571
|
-
allow_failure: true
|
|
572
524
|
'api ๐ Deploy | review ':
|
|
573
525
|
stage: deploy review
|
|
574
526
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -592,8 +544,6 @@ before_script:
|
|
|
592
544
|
- collapseable_section_end "injectvars"
|
|
593
545
|
- cd api
|
|
594
546
|
- yarn deploy
|
|
595
|
-
- echo 'Uploading SBOM to Dependency Track'
|
|
596
|
-
- /dtrackuploader https://dep.panter.swiss/ "$DT_KEY_PROD" upload "pan-test-app/api" "$ROOT_URL" "__sbom.json" vex.json || true
|
|
597
547
|
- echo "CL_GITLAB_ENVIRONMENT_URL=$ROOT_URL" >> gitlab_environment.env
|
|
598
548
|
environment:
|
|
599
549
|
name: review/$CI_COMMIT_REF_NAME/api
|
|
@@ -613,8 +563,6 @@ before_script:
|
|
|
613
563
|
artifacts: true
|
|
614
564
|
- job: 'api ๐งช test | review '
|
|
615
565
|
artifacts: false
|
|
616
|
-
- job: 'api ๐งพ sbom | review '
|
|
617
|
-
artifacts: true
|
|
618
566
|
- job: 'api ๐ก audit | review '
|
|
619
567
|
artifacts: false
|
|
620
568
|
retry: *a1
|
|
@@ -696,28 +644,6 @@ before_script:
|
|
|
696
644
|
needs: []
|
|
697
645
|
retry: *a1
|
|
698
646
|
interruptible: true
|
|
699
|
-
'api ๐งพ sbom | stage ':
|
|
700
|
-
stage: build
|
|
701
|
-
image:
|
|
702
|
-
name: aquasec/trivy:0.58.2
|
|
703
|
-
entrypoint:
|
|
704
|
-
- ''
|
|
705
|
-
variables: {}
|
|
706
|
-
script:
|
|
707
|
-
- collapseable_section_start "injectvars" "Injecting variables"
|
|
708
|
-
- collapseable_section_end "injectvars"
|
|
709
|
-
- trivy fs --quiet --format cyclonedx --output "__sbom.json" api
|
|
710
|
-
artifacts:
|
|
711
|
-
paths:
|
|
712
|
-
- __sbom.json
|
|
713
|
-
rules:
|
|
714
|
-
- when: never
|
|
715
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
716
|
-
- if: $CI_COMMIT_TAG
|
|
717
|
-
needs: []
|
|
718
|
-
retry: *a1
|
|
719
|
-
interruptible: true
|
|
720
|
-
allow_failure: true
|
|
721
647
|
'api ๐ Deploy | stage ':
|
|
722
648
|
stage: deploy stage
|
|
723
649
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -741,8 +667,6 @@ before_script:
|
|
|
741
667
|
- collapseable_section_end "injectvars"
|
|
742
668
|
- cd api
|
|
743
669
|
- yarn deploy
|
|
744
|
-
- echo 'Uploading SBOM to Dependency Track'
|
|
745
|
-
- /dtrackuploader https://dep.panter.swiss/ "$DT_KEY_PROD" upload "pan-test-app/api" "$ROOT_URL" "__sbom.json" vex.json || true
|
|
746
670
|
- echo "CL_GITLAB_ENVIRONMENT_URL=$ROOT_URL" >> gitlab_environment.env
|
|
747
671
|
environment:
|
|
748
672
|
name: stage/api
|
|
@@ -758,8 +682,6 @@ before_script:
|
|
|
758
682
|
needs:
|
|
759
683
|
- job: 'api ๐จ app | stage '
|
|
760
684
|
artifacts: true
|
|
761
|
-
- job: 'api ๐งพ sbom | stage '
|
|
762
|
-
artifacts: true
|
|
763
685
|
retry: *a1
|
|
764
686
|
interruptible: true
|
|
765
687
|
allow_failure: false
|
|
@@ -839,28 +761,6 @@ before_script:
|
|
|
839
761
|
needs: []
|
|
840
762
|
retry: *a1
|
|
841
763
|
interruptible: true
|
|
842
|
-
'api ๐งพ sbom | prod ':
|
|
843
|
-
stage: build
|
|
844
|
-
image:
|
|
845
|
-
name: aquasec/trivy:0.58.2
|
|
846
|
-
entrypoint:
|
|
847
|
-
- ''
|
|
848
|
-
variables: {}
|
|
849
|
-
script:
|
|
850
|
-
- collapseable_section_start "injectvars" "Injecting variables"
|
|
851
|
-
- collapseable_section_end "injectvars"
|
|
852
|
-
- trivy fs --quiet --format cyclonedx --output "__sbom.json" api
|
|
853
|
-
artifacts:
|
|
854
|
-
paths:
|
|
855
|
-
- __sbom.json
|
|
856
|
-
rules:
|
|
857
|
-
- when: never
|
|
858
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
859
|
-
- if: $CI_COMMIT_TAG
|
|
860
|
-
needs: []
|
|
861
|
-
retry: *a1
|
|
862
|
-
interruptible: true
|
|
863
|
-
allow_failure: true
|
|
864
764
|
'api ๐ Deploy | prod ':
|
|
865
765
|
stage: deploy prod
|
|
866
766
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -884,8 +784,6 @@ before_script:
|
|
|
884
784
|
- collapseable_section_end "injectvars"
|
|
885
785
|
- cd api
|
|
886
786
|
- yarn deploy
|
|
887
|
-
- echo 'Uploading SBOM to Dependency Track'
|
|
888
|
-
- /dtrackuploader https://dep.panter.swiss/ "$DT_KEY_PROD" upload "pan-test-app/api" "$ROOT_URL" "__sbom.json" vex.json || true
|
|
889
787
|
- echo "CL_GITLAB_ENVIRONMENT_URL=$ROOT_URL" >> gitlab_environment.env
|
|
890
788
|
environment:
|
|
891
789
|
name: prod/api
|
|
@@ -901,8 +799,6 @@ before_script:
|
|
|
901
799
|
needs:
|
|
902
800
|
- job: 'api ๐จ app | prod '
|
|
903
801
|
artifacts: true
|
|
904
|
-
- job: 'api ๐งพ sbom | prod '
|
|
905
|
-
artifacts: true
|
|
906
802
|
retry: *a1
|
|
907
803
|
interruptible: true
|
|
908
804
|
allow_failure: true
|
|
@@ -1085,28 +981,6 @@ before_script:
|
|
|
1085
981
|
needs: []
|
|
1086
982
|
retry: *a1
|
|
1087
983
|
interruptible: true
|
|
1088
|
-
'www ๐งพ sbom | dev ':
|
|
1089
|
-
stage: build
|
|
1090
|
-
image:
|
|
1091
|
-
name: aquasec/trivy:0.58.2
|
|
1092
|
-
entrypoint:
|
|
1093
|
-
- ''
|
|
1094
|
-
variables: {}
|
|
1095
|
-
script:
|
|
1096
|
-
- collapseable_section_start "injectvars" "Injecting variables"
|
|
1097
|
-
- collapseable_section_end "injectvars"
|
|
1098
|
-
- trivy fs --quiet --format cyclonedx --output "__sbom.json" www
|
|
1099
|
-
artifacts:
|
|
1100
|
-
paths:
|
|
1101
|
-
- __sbom.json
|
|
1102
|
-
rules:
|
|
1103
|
-
- when: never
|
|
1104
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1105
|
-
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
1106
|
-
needs: []
|
|
1107
|
-
retry: *a1
|
|
1108
|
-
interruptible: true
|
|
1109
|
-
allow_failure: true
|
|
1110
984
|
'www ๐ Deploy | dev ':
|
|
1111
985
|
stage: deploy dev
|
|
1112
986
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -1130,8 +1004,6 @@ before_script:
|
|
|
1130
1004
|
- collapseable_section_end "injectvars"
|
|
1131
1005
|
- cd www
|
|
1132
1006
|
- yarn deploy
|
|
1133
|
-
- echo 'Uploading SBOM to Dependency Track'
|
|
1134
|
-
- /dtrackuploader https://dep.panter.swiss/ "$DT_KEY_PROD" upload "pan-test-app/www" "$ROOT_URL" "__sbom.json" vex.json || true
|
|
1135
1007
|
- echo "CL_GITLAB_ENVIRONMENT_URL=$ROOT_URL" >> gitlab_environment.env
|
|
1136
1008
|
environment:
|
|
1137
1009
|
name: dev/www
|
|
@@ -1153,8 +1025,6 @@ before_script:
|
|
|
1153
1025
|
artifacts: true
|
|
1154
1026
|
- job: 'www ๐งช test | dev '
|
|
1155
1027
|
artifacts: false
|
|
1156
|
-
- job: 'www ๐งพ sbom | dev '
|
|
1157
|
-
artifacts: true
|
|
1158
1028
|
- job: 'www ๐ก audit | dev '
|
|
1159
1029
|
artifacts: false
|
|
1160
1030
|
retry: *a1
|
|
@@ -1351,28 +1221,6 @@ before_script:
|
|
|
1351
1221
|
needs: []
|
|
1352
1222
|
retry: *a1
|
|
1353
1223
|
interruptible: true
|
|
1354
|
-
'www ๐งพ sbom | review ':
|
|
1355
|
-
stage: build
|
|
1356
|
-
image:
|
|
1357
|
-
name: aquasec/trivy:0.58.2
|
|
1358
|
-
entrypoint:
|
|
1359
|
-
- ''
|
|
1360
|
-
variables: {}
|
|
1361
|
-
script:
|
|
1362
|
-
- collapseable_section_start "injectvars" "Injecting variables"
|
|
1363
|
-
- collapseable_section_end "injectvars"
|
|
1364
|
-
- trivy fs --quiet --format cyclonedx --output "__sbom.json" www
|
|
1365
|
-
artifacts:
|
|
1366
|
-
paths:
|
|
1367
|
-
- __sbom.json
|
|
1368
|
-
rules:
|
|
1369
|
-
- when: never
|
|
1370
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1371
|
-
- if: $CI_MERGE_REQUEST_ID
|
|
1372
|
-
needs: []
|
|
1373
|
-
retry: *a1
|
|
1374
|
-
interruptible: true
|
|
1375
|
-
allow_failure: true
|
|
1376
1224
|
'www ๐ Deploy | review ':
|
|
1377
1225
|
stage: deploy review
|
|
1378
1226
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -1396,8 +1244,6 @@ before_script:
|
|
|
1396
1244
|
- collapseable_section_end "injectvars"
|
|
1397
1245
|
- cd www
|
|
1398
1246
|
- yarn deploy
|
|
1399
|
-
- echo 'Uploading SBOM to Dependency Track'
|
|
1400
|
-
- /dtrackuploader https://dep.panter.swiss/ "$DT_KEY_PROD" upload "pan-test-app/www" "$ROOT_URL" "__sbom.json" vex.json || true
|
|
1401
1247
|
- echo "CL_GITLAB_ENVIRONMENT_URL=$ROOT_URL" >> gitlab_environment.env
|
|
1402
1248
|
environment:
|
|
1403
1249
|
name: review/$CI_COMMIT_REF_NAME/www
|
|
@@ -1419,8 +1265,6 @@ before_script:
|
|
|
1419
1265
|
artifacts: true
|
|
1420
1266
|
- job: 'www ๐งช test | review '
|
|
1421
1267
|
artifacts: false
|
|
1422
|
-
- job: 'www ๐งพ sbom | review '
|
|
1423
|
-
artifacts: true
|
|
1424
1268
|
- job: 'www ๐ก audit | review '
|
|
1425
1269
|
artifacts: false
|
|
1426
1270
|
retry: *a1
|
|
@@ -1502,28 +1346,6 @@ before_script:
|
|
|
1502
1346
|
needs: []
|
|
1503
1347
|
retry: *a1
|
|
1504
1348
|
interruptible: true
|
|
1505
|
-
'www ๐งพ sbom | stage ':
|
|
1506
|
-
stage: build
|
|
1507
|
-
image:
|
|
1508
|
-
name: aquasec/trivy:0.58.2
|
|
1509
|
-
entrypoint:
|
|
1510
|
-
- ''
|
|
1511
|
-
variables: {}
|
|
1512
|
-
script:
|
|
1513
|
-
- collapseable_section_start "injectvars" "Injecting variables"
|
|
1514
|
-
- collapseable_section_end "injectvars"
|
|
1515
|
-
- trivy fs --quiet --format cyclonedx --output "__sbom.json" www
|
|
1516
|
-
artifacts:
|
|
1517
|
-
paths:
|
|
1518
|
-
- __sbom.json
|
|
1519
|
-
rules:
|
|
1520
|
-
- when: never
|
|
1521
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1522
|
-
- if: $CI_COMMIT_TAG
|
|
1523
|
-
needs: []
|
|
1524
|
-
retry: *a1
|
|
1525
|
-
interruptible: true
|
|
1526
|
-
allow_failure: true
|
|
1527
1349
|
'www ๐ Deploy | stage ':
|
|
1528
1350
|
stage: deploy stage
|
|
1529
1351
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -1547,8 +1369,6 @@ before_script:
|
|
|
1547
1369
|
- collapseable_section_end "injectvars"
|
|
1548
1370
|
- cd www
|
|
1549
1371
|
- yarn deploy
|
|
1550
|
-
- echo 'Uploading SBOM to Dependency Track'
|
|
1551
|
-
- /dtrackuploader https://dep.panter.swiss/ "$DT_KEY_PROD" upload "pan-test-app/www" "$ROOT_URL" "__sbom.json" vex.json || true
|
|
1552
1372
|
- echo "CL_GITLAB_ENVIRONMENT_URL=$ROOT_URL" >> gitlab_environment.env
|
|
1553
1373
|
environment:
|
|
1554
1374
|
name: stage/www
|
|
@@ -1566,8 +1386,6 @@ before_script:
|
|
|
1566
1386
|
artifacts: false
|
|
1567
1387
|
- job: 'www ๐จ app | stage '
|
|
1568
1388
|
artifacts: true
|
|
1569
|
-
- job: 'www ๐งพ sbom | stage '
|
|
1570
|
-
artifacts: true
|
|
1571
1389
|
retry: *a1
|
|
1572
1390
|
interruptible: true
|
|
1573
1391
|
allow_failure: false
|
|
@@ -1647,28 +1465,6 @@ before_script:
|
|
|
1647
1465
|
needs: []
|
|
1648
1466
|
retry: *a1
|
|
1649
1467
|
interruptible: true
|
|
1650
|
-
'www ๐งพ sbom | prod ':
|
|
1651
|
-
stage: build
|
|
1652
|
-
image:
|
|
1653
|
-
name: aquasec/trivy:0.58.2
|
|
1654
|
-
entrypoint:
|
|
1655
|
-
- ''
|
|
1656
|
-
variables: {}
|
|
1657
|
-
script:
|
|
1658
|
-
- collapseable_section_start "injectvars" "Injecting variables"
|
|
1659
|
-
- collapseable_section_end "injectvars"
|
|
1660
|
-
- trivy fs --quiet --format cyclonedx --output "__sbom.json" www
|
|
1661
|
-
artifacts:
|
|
1662
|
-
paths:
|
|
1663
|
-
- __sbom.json
|
|
1664
|
-
rules:
|
|
1665
|
-
- when: never
|
|
1666
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1667
|
-
- if: $CI_COMMIT_TAG
|
|
1668
|
-
needs: []
|
|
1669
|
-
retry: *a1
|
|
1670
|
-
interruptible: true
|
|
1671
|
-
allow_failure: true
|
|
1672
1468
|
'www ๐ Deploy | prod ':
|
|
1673
1469
|
stage: deploy prod
|
|
1674
1470
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -1692,8 +1488,6 @@ before_script:
|
|
|
1692
1488
|
- collapseable_section_end "injectvars"
|
|
1693
1489
|
- cd www
|
|
1694
1490
|
- yarn deploy
|
|
1695
|
-
- echo 'Uploading SBOM to Dependency Track'
|
|
1696
|
-
- /dtrackuploader https://dep.panter.swiss/ "$DT_KEY_PROD" upload "pan-test-app/www" "$ROOT_URL" "__sbom.json" vex.json || true
|
|
1697
1491
|
- echo "CL_GITLAB_ENVIRONMENT_URL=$ROOT_URL" >> gitlab_environment.env
|
|
1698
1492
|
environment:
|
|
1699
1493
|
name: prod/www
|
|
@@ -1711,8 +1505,6 @@ before_script:
|
|
|
1711
1505
|
artifacts: false
|
|
1712
1506
|
- job: 'www ๐จ app | prod '
|
|
1713
1507
|
artifacts: true
|
|
1714
|
-
- job: 'www ๐งพ sbom | prod '
|
|
1715
|
-
artifacts: true
|
|
1716
1508
|
retry: *a1
|
|
1717
1509
|
interruptible: true
|
|
1718
1510
|
allow_failure: true
|