Skip to content
Snippets Groups Projects
Commit 8edcc098 authored by Malte Bauch's avatar Malte Bauch
Browse files

Merge remote-tracking branch 'origin/develop' into cli-refactoring-pterm

parents db8554f9 9a8420b8
No related branches found
No related tags found
1 merge request!284Improve usability and better output formatting for gosndc
Pipeline #99504 failed
......@@ -4,6 +4,10 @@ variables:
CEOS_IMAGE: "${CI_PCONTAINERS_REGISTRY_IMAGE}/ceos:4.28.0F"
GOLANG_VERSION: "1.18"
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == 'push'
stages:
- build
- test
......
......@@ -27,8 +27,6 @@ build-testing-image:
build-image:
rules:
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
TAG: $CI_DEFAULT_BRANCH
......
......@@ -5,10 +5,6 @@ variables:
containerlab-deploy:
stage: integration-test
rules:
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
when: never
- when: on_success
tags:
- shell-containerlab
needs: ["build-image", "build-testing-image"]
......@@ -43,10 +39,6 @@ containerlab-deploy:
containerlab-destroy:
rules:
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
when: never
- when: always
stage: integration-test
tags:
- shell-containerlab
......
.integration-test: &integration-test
image: $GOSDN_TESTING_IMAGE
stage: integration-test
rules:
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
when: never
- when: on_success
needs:
["containerlab-deploy"]
variables:
......
.rules: &rules
stage: analyze
rules:
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
when: never
- when: always
needs: []
sast:
......@@ -36,10 +32,6 @@ semgrep-sast:
container_scanning:
stage: analyze
rules:
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
when: never
- when: always
variables:
DOCKER_IMAGE: "${GOSDN_IMAGE}"
DOCKER_USER: "${CI_REGISTRY_USER}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment