forked from splunk/security_content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
33 lines (29 loc) · 973 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
default:
image: docker-hub.repo.splunkdev.net/python:3.11
variables:
EXTRACTO_VERSION:
value: "1.0.60"
description: "The version of extracto to use"
SKIP_DOWNSTREAM_TESTING:
value: "False"
description: "If true, downstream testing will be suppressed (useful for debugging or forcing a release in an emergency)."
ENABLE_INTEGRATION_TESTING:
value: "True"
description: "Flag indicating that integration testing should be performed. Defaults to True, may be suppressed in some workflows."
stages:
- build
- app_inspect
- test
- release
include:
- local: "pipeline/.build.yml"
- local: "pipeline/.app-inspect.yml"
- local: "pipeline/.test.yml"
- local: "pipeline/.release.yml"
- local: "pipeline/.post.yml"
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH =~ /^release_v[0-9]+\.[0-9]+\.[0-9]+$/