-
Notifications
You must be signed in to change notification settings - Fork 375
/
Copy path.validate.yml
35 lines (34 loc) · 981 Bytes
/
.validate.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
validate_escu:
stage: validate
before_script:
- pip3 install poetry
- git submodule update --init contentctl
- cd contentctl
- git checkout main
- poetry install
script:
- >
if [[ "$CI_COMMIT_TAG" =~ ^4\.[0-9]+\.[0-9]+$ ]]; then
echo "Tagged build - Enabling Enrichment"
poetry run contentctl -p ../ --enable_enrichment validate
else
echo "Disabling Enrichment"
poetry run contentctl -p ../ validate
fi
validate_ba:
stage: validate
before_script:
- pip3 install poetry
- git submodule update --init contentctl
- cd contentctl
- git checkout main
- poetry install
script:
- >
if [[ "$CI_COMMIT_TAG" =~ ^4\.[0-9]+\.[0-9]+$ ]]; then
echo "Tagged build - Enabling Enrichment"
poetry run contentctl -p ../ --enable_enrichment validate -t ssa
else
echo "Disabling Enrichment"
poetry run contentctl -p ../ validate -t ssa
fi