forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
45 lines (39 loc) · 1.47 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
default:
image: docker-io.artifactory.pan.local/devdemisto/gitlab-content-ci:1.0.0.18999
artifacts:
expire_in: 30 days
paths:
- /builds/xsoar/content/artifacts/*
when: always
stages:
- unittests-and-validations
- create-instances
- run-instances
- upload-to-marketplace
variables:
FORCE_COLOR: 1
TERM: "xterm-256color"
DONT_CACHE_LAST_RESPONSE: "true"
GCS_MARKET_BUCKET: "marketplace-dist-dev"
SLACK_CHANNEL: "dmst-content-team"
DEMISTO_README_VALIDATION: "true"
ARTIFACTS_FOLDER: "/builds/xsoar/content/artifacts"
BASH_ENV: "/builds/xsoar/content/artifacts/bash_env"
PYTHONPATH: "/builds/xsoar/content"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
FEATURE_BRANCH_NAME: "v4.5.0"
# Gitlab CI/CD uses shallow fetch with default depth of 50, these arguments are used to override it
# See here for more about that https://docs.gitlab.com/ee/ci/pipelines/settings.html#git-shallow-clone # disable-secrets-detection
GIT_STRATEGY: clone
GIT_DEPTH: 0
IFRA_ENV_TYPE: "Content-Env"
# Remove this when https://github.com/demisto/etc/issues/36775 is done.
SKIP_PRIVATE_BUILD: "true"
ENV_RESULTS_PATH: "/builds/xsoar/content/artifacts/env_results.json"
GCS_PRODUCTION_BUCKET: "marketplace-dist" # change to marketplace-dist this after testing period
include:
- local: .gitlab/ci/global.yml
- local: .gitlab/ci/on-push.yml
- local: .gitlab/ci/bucket-upload.yml
- local: .gitlab/ci/instance-test.yml
- local: .gitlab/ci/sdk-nightly.yml