forked from operator-framework/community-operators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (28 loc) · 898 Bytes
/
.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
dist: xenial
language: python
os: linux
sudo: required
if: branch = master
python:
- "3.6"
env:
- DISTRO_TYPE=upstream KIND_VER=v0.7.0 KUBE_VER=v1.17.0 OLM_VER=0.14.1 SDK_VER=v0.16.0
before_install:
# check-pr needs to be sourced so it can pass the test early.
- source scripts/ci/check-pr $DISTRO_TYPE
install:
- scripts/ci/install-deps $DISTRO_TYPE
jobs:
include:
- stage: catalog build
name: Test loading the Operator into the Community Catalog
install: skip
script:
- docker build --build-arg PERMISSIVE_LOAD=false -f upstream.Dockerfile -t operatorhub-catalog:dev .
- stage: operator deployment test
name: Test Operator deployment using OLM running on KIND
script: scripts/ci/run-deployment-tests.sh
- stage: operatorhubio prod deploy
name: Trigger PROD deploy of operatorhub.io
script: scripts/ci/trigger-operatorhubio-ci.sh
if: type = push