forked from openshift/openshift-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (42 loc) · 1.56 KB
/
.travis.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
language: python
cache: pip
# env:
# - PR_AUTHOR=${TRAVIS_PULL_REQUEST_SLUG::-15}
jobs:
include:
- stage: build
before_install:
- gem install asciidoctor
- gem install asciidoctor-diagram
install:
- pip3 install pyyaml
- pip3 install aura.tar.gz
script:
- python3 build.py --distro openshift-enterprise --product "OpenShift Container Platform" --version 4.11 --no-upstream-fetch && python3 makeBuild.py
- # stage name not required, will continue to use `build`
if: branch IN (main, enterprise-4.10, enterprise-4.11)
before_install:
- gem install asciidoctor
- gem install asciidoctor-diagram
install:
- pip3 install pyyaml
- pip3 install aura.tar.gz
script:
- python3 build.py --distro openshift-dedicated --product "OpenShift Dedicated" --version 4 --no-upstream-fetch && python3 makeBuild.py
- # stage name not required, will continue to use `build`
if: branch IN (main, enterprise-4.10, enterprise-4.11)
before_install:
- gem install asciidoctor
- gem install asciidoctor-diagram
install:
- pip3 install pyyaml
- pip3 install aura.tar.gz
script:
- python3 build.py --distro openshift-rosa --product "Red Hat OpenShift Service on AWS" --version 4 --no-upstream-fetch && python3 makeBuild.py
# Commenting out to disable auto-merging of PRs
# - stage: automerge
# if: env(PR_AUTHOR)=openshift-cherrypick-robot
# script: bash ./automerge.sh
stages:
- build
# - automerge