12345678910111213141516171819202122232425262728293031323334353637383940 |
- image: ghcr.io/siemens/kas/kas-isar:latest
- variables:
- GIT_STRATEGY: clone
- .common-build: &common-build
- stage: build
- before_script:
- - export http_proxy=$HTTP_PROXY
- - export https_proxy=$HTTPS_PROXY
- - export ftp_proxy=$FTP_PROXY
- - export no_proxy=$NO_PROXY
- artifacts:
- name: "logs-$CI_JOB_ID"
- paths:
- - build/tmp/work/*/*/*/temp
- when: on_failure
- expire_in: 1 week
- fast-ci:
- <<: *common-build
- except:
- - schedules
- script:
- - scripts/ci_build.sh -q -f
- full-ci:
- <<: *common-build
- only:
- - schedules
- script:
- - PREVIOUS_SHA="$(cat .CI_COMMIT_SHA || true)"
- - if [ "$CI_COMMIT_SHA" != "$PREVIOUS_SHA" ]; then
- echo "$CI_COMMIT_SHA" > .CI_COMMIT_SHA;
- scripts/ci_build.sh -q -c -r;
- fi
- cache:
- key: "$CI_COMMIT_REF_SLUG"
- paths:
- - .CI_COMMIT_SHA
|