forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
35 lines (30 loc) · 1.04 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
default:
image: docker-io.artifactory.pan.local/devdemisto/gitlab-content-ci:1.0.0.18863
artifacts:
expire_in: 30 days
paths:
- /builds/xsoar/content/artifacts/*
when: always
stages:
- unittests-and-validations
- create-instances
- run-instances
- upload-to-marketplace
variables:
DONT_CACHE_LAST_RESPONSE: "true"
GCS_MARKET_BUCKET: "marketplace-dist"
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"
include:
- local: .gitlab/ci/global.yml
- local: .gitlab/ci/on-push.yml