Fix dev deployment and revert CI changes
- Remove SBOM job (not starting, investigate later) - Revert KICS rules change - Fix memory requests to equal limits per cluster Kyverno policy
This commit is contained in:
@@ -28,8 +28,6 @@ stages:
|
||||
kics:
|
||||
variables:
|
||||
KICS_CONFIG: kics.config
|
||||
rules:
|
||||
- when: always
|
||||
|
||||
# Post-deployment integration tests template
|
||||
.integration_test_template: &integration_test_template
|
||||
@@ -112,26 +110,6 @@ integration_test_feature:
|
||||
- if: '$CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != "main"'
|
||||
when: on_success
|
||||
|
||||
# Generate Software Bill of Materials (SBOM)
|
||||
sbom:
|
||||
stage: build
|
||||
needs: [build_image]
|
||||
image: deps.global.bsf.tools/docker/anchore/syft:latest
|
||||
timeout: 10m
|
||||
variables:
|
||||
IMAGE_NAME: registry.global.bsf.tools/esv/bsf/bsf-integration/orchard/orchard-mvp:git.linux-amd64-$CI_COMMIT_SHA
|
||||
script:
|
||||
- echo "Generating SBOM for $IMAGE_NAME"
|
||||
- syft $IMAGE_NAME -o spdx-json=sbom-spdx.json -o cyclonedx-json=sbom-cyclonedx.json
|
||||
- echo "SBOM generation complete"
|
||||
- echo "SPDX format:" && head -50 sbom-spdx.json
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 1 year
|
||||
paths:
|
||||
- sbom-spdx.json
|
||||
- sbom-cyclonedx.json
|
||||
|
||||
# Run Python backend tests
|
||||
python_tests:
|
||||
stage: test
|
||||
|
||||
Reference in New Issue
Block a user