Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 4 additions & 36 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,48 +20,16 @@ jobs:
- chmod +x ./scripts/check-asciidoctor-build.sh
- ./scripts/check-asciidoctor-build.sh
- stage: build
name: "Build openshift-enterprise distro"
name: "Build openshift-gitops distro"
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.14 --no-upstream-fetch && python3 makeBuild.py
- # stage name not required, will continue to use `build`
if: branch IN (main, enterprise-4.13, enterprise-4.14)
name: "Build openshift-dedicated distro"
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.13, enterprise-4.14)
name: "Build openshift-rosa distro"
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
- # stage name not required, will continue to use `build`
if: branch IN (main, enterprise-4.13, enterprise-4.14)
name: "Build microshift distro"
before_install:
- gem install asciidoctor
- gem install asciidoctor-diagram
install:
- pip3 install pyyaml
- pip3 install aura.tar.gz
script:
- python3 build.py --distro microshift --product "MicroShift" --version 4 --no-upstream-fetch && python3 makeBuild.py
- python3 build.py --distro openshift-gitops --product "OpenShift GitOps" --version 1.9 --no-upstream-fetch && python3 makeBuild.py

# Remove Vale stage until PR commenting feature is ready
# - stage: check-with-vale
# env:
Expand All @@ -86,7 +54,7 @@ jobs:
env:
- CAN_FAIL=true
language: minimal
if: type IN (pull_request) AND branch IN (main, enterprise-4.13, enterprise-4.14) AND sender != "openshift-cherrypick-robot"
if: type IN (pull_request) AND branch IN (main, gitops-docs-1.8, gitops-docs-1.9) AND sender != "openshift-cherrypick-robot"
script:
- chmod +x autopreview.sh && ./autopreview.sh

Expand Down