Loading capif/.gitlab-ci.yml +11 −52 Original line number Diff line number Diff line stages: - main_cancel_previous_action - main_pre_pipeline - merge_request_staging_into_main - test - main_sast Loading @@ -22,34 +22,6 @@ stages: - dev_build_and_push - deploy_ocf_dev - delete_ocf_dev # - test # to Security and Compliance gitLab # - main_sast # - main_container_scanning # - sast # - merge_request_staging_into_main # - main_build_and_push # - main_cancel_previous_action # - staging_cancel_previous_action # - dev_cancel_previous_action ## - staging_pulling_repo # - staging_secrets_in_repo # - staging_linting_code # - staging_linting_docker # - staging_security # - staging_build_and_push # - staging_unit_tests ## - dev_pulling_repo # - dev_secrets_in_repo # - dev_linting_code # - dev_linting_docker # - dev_build_and_push # - deploy_ocf_main # - main_rf_testing # - delete_ocf_main # - deploy_ocf_staging # - delete_ocf_staging # - deploy_ocf_dev # - delete_ocf_dev variables: Loading Loading @@ -102,7 +74,7 @@ variables: - shell main_cancel_previous_action: stage: main_cancel_previous_action stage: main_pre_pipeline script: - | if [[ -n "$CI_JOB_TOKEN" ]]; then Loading Loading @@ -265,6 +237,8 @@ container_scanning: - when: never main_semgrep_sast: needs: - main_pre_pipeline stage: main_sast extends: semgrep-sast variables: Loading @@ -275,6 +249,8 @@ main_semgrep_sast: <<: *main_dnd main_kubesec_sast: needs: - main_pre_pipeline stage: main_sast extends: kubesec-sast before_script: Loading @@ -290,6 +266,8 @@ main_kubesec_sast: <<: *main_dnd main_gemnasium_python_dependency_scanning: needs: - main_pre_pipeline stage: main_sast extends: gemnasium-python-dependency_scanning variables: Loading @@ -297,6 +275,8 @@ main_gemnasium_python_dependency_scanning: <<: *main_dnd main_secret_detection: needs: - main_pre_pipeline stage: main_sast extends: secret_detection variables: Loading Loading @@ -730,24 +710,3 @@ delete_ocf_main: environment: name: review/main action: stop No newline at end of file #ci_in_staging: # stage: ci_in_staging # script: # - echo "Define the ci_in_staging job here" # needs: ["workflow_ci"] # <<: *staging_common # #ci_deploy_in_staging: # stage: ci_deploy_in_staging # script: # - echo "Define the ci_deploy_in_staging job here" # needs: ["ci_in_staging"] # <<: *staging_common # #cleaning_in_staging: # stage: cleaning_in_staging # script: # - echo "Define the cleaning_in_staging job here" # needs: ["ci_deploy_in_staging"] # <<: *staging_common Loading
capif/.gitlab-ci.yml +11 −52 Original line number Diff line number Diff line stages: - main_cancel_previous_action - main_pre_pipeline - merge_request_staging_into_main - test - main_sast Loading @@ -22,34 +22,6 @@ stages: - dev_build_and_push - deploy_ocf_dev - delete_ocf_dev # - test # to Security and Compliance gitLab # - main_sast # - main_container_scanning # - sast # - merge_request_staging_into_main # - main_build_and_push # - main_cancel_previous_action # - staging_cancel_previous_action # - dev_cancel_previous_action ## - staging_pulling_repo # - staging_secrets_in_repo # - staging_linting_code # - staging_linting_docker # - staging_security # - staging_build_and_push # - staging_unit_tests ## - dev_pulling_repo # - dev_secrets_in_repo # - dev_linting_code # - dev_linting_docker # - dev_build_and_push # - deploy_ocf_main # - main_rf_testing # - delete_ocf_main # - deploy_ocf_staging # - delete_ocf_staging # - deploy_ocf_dev # - delete_ocf_dev variables: Loading Loading @@ -102,7 +74,7 @@ variables: - shell main_cancel_previous_action: stage: main_cancel_previous_action stage: main_pre_pipeline script: - | if [[ -n "$CI_JOB_TOKEN" ]]; then Loading Loading @@ -265,6 +237,8 @@ container_scanning: - when: never main_semgrep_sast: needs: - main_pre_pipeline stage: main_sast extends: semgrep-sast variables: Loading @@ -275,6 +249,8 @@ main_semgrep_sast: <<: *main_dnd main_kubesec_sast: needs: - main_pre_pipeline stage: main_sast extends: kubesec-sast before_script: Loading @@ -290,6 +266,8 @@ main_kubesec_sast: <<: *main_dnd main_gemnasium_python_dependency_scanning: needs: - main_pre_pipeline stage: main_sast extends: gemnasium-python-dependency_scanning variables: Loading @@ -297,6 +275,8 @@ main_gemnasium_python_dependency_scanning: <<: *main_dnd main_secret_detection: needs: - main_pre_pipeline stage: main_sast extends: secret_detection variables: Loading Loading @@ -730,24 +710,3 @@ delete_ocf_main: environment: name: review/main action: stop No newline at end of file #ci_in_staging: # stage: ci_in_staging # script: # - echo "Define the ci_in_staging job here" # needs: ["workflow_ci"] # <<: *staging_common # #ci_deploy_in_staging: # stage: ci_deploy_in_staging # script: # - echo "Define the ci_deploy_in_staging job here" # needs: ["ci_in_staging"] # <<: *staging_common # #cleaning_in_staging: # stage: cleaning_in_staging # script: # - echo "Define the cleaning_in_staging job here" # needs: ["ci_deploy_in_staging"] # <<: *staging_common