Skip to content
Snippets Groups Projects
Commit abf3fe6a authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- revert last commit

- removed superflous comment
parent 5577bfd7
No related branches found
No related tags found
No related merge requests found
Pipeline #3146 passed
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
# This is a sample GitLab CI/CD configuration file that should run without any modifications.
# It demonstrates a basic 3 stage CI/CD pipeline. Instead of real tests or scripts,
# it uses echo commands to simulate the pipeline execution.
#
# A pipeline is composed of independent jobs that run scripts, grouped into stages.
# Stages run in sequential order, but jobs within stages run in parallel.
#
# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
- build - build
- test - test
- analysis
- packaging - packaging
variables: variables:
...@@ -28,9 +12,6 @@ variables: ...@@ -28,9 +12,6 @@ variables:
ARTIFACT_COMPRESSION_LEVEL: "fast" ARTIFACT_COMPRESSION_LEVEL: "fast"
CACHE_COMPRESSION_LEVEL: "fast" CACHE_COMPRESSION_LEVEL: "fast"
# CI_DEBUG_TRACE: "true" # CI_DEBUG_TRACE: "true"
SAST_DEFAULT_ANALYZERS: "spotbugs"
SAST_EXCLUDED_ANALYZERS: ""
SAST_JAVA_VERSION: 11
include: include:
- template: Security/SAST.gitlab-ci.yml - template: Security/SAST.gitlab-ci.yml
...@@ -84,54 +65,6 @@ test-job: ...@@ -84,54 +65,6 @@ test-job:
- ROSETTASDK=$ROSETTASDK make -e check_prerequisites - ROSETTASDK=$ROSETTASDK make -e check_prerequisites
- ROSETTASDK=$ROSETTASDK make -e test - ROSETTASDK=$ROSETTASDK make -e test
spotbugs-sast:
stage: analysis
variables:
FAIL_NEVER: 1
tags:
- cmr
artifacts:
paths:
- gl-sast-report.json
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: always
- if: '$CI_COMMIT_BRANCH == "main"'
when: always
- when: manual
allow_failure: true
secret_detection:
stage: analysis
tags:
- cmr
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: always
- if: '$CI_COMMIT_BRANCH == "main"'
when: always
- when: manual
allow_failure: true
eslint-sast:
stage: analysis
tags:
- cmr
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: always
- if: '$CI_COMMIT_BRANCH == "main"'
when: always
- when: manual
allow_failure: true
packaging-job: packaging-job:
stage: packaging stage: packaging
timeout: 3h timeout: 3h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment