Skip to content

Commit

Permalink
Travis release (#1)
Browse files Browse the repository at this point in the history
* initial setup

Co-authored-by: j0zi <[email protected]>
  • Loading branch information
J0zi and j0zi committed Aug 11, 2020
1 parent 3fdc3b4 commit f0ea2d6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ language: python
os: linux
sudo: required

#TODO: remove
if: type = pull_request
# - (branch = release-pipeline-running and type = cron) or (branch = release-pipeline-running and type = api)
# - type = api

python:
- "3.8"

#TODO: set redhat-operator-ecosystem/operator-test-playbooks
env:

- DISTRO_TYPE=upstream PLAYBOOK_VARS="-i localhost, local.yml -e kind_version=v0.8.1 -e kind_kube_ver=v1.18.2 -e olm_ver=0.15.1 -e operator_sdk_version=v0.16.0 -e ansible_connection=local -e run_remove_catalog_repo=false" PLAYBOOK_REPO=https://github.com/J0zi/operator-test-playbooks PLAYBOOK_BRANCH='upstream-community' ANSIBLE_STDOUT_CALLBACK=yaml
- DISTRO_TYPE=upstream PLAYBOOK_VARS="-i localhost, local.yml -e kind_version=v0.8.1 -e kind_kube_ver=v1.18.2 -e olm_ver=0.15.1 -e operator_sdk_version=v0.19.2 -e ansible_connection=local -e run_remove_catalog_repo=false" PLAYBOOK_REPO=https://github.com/J0zi/operator-test-playbooks PLAYBOOK_BRANCH='upstream-community' ANSIBLE_STDOUT_CALLBACK=yaml

services:
- docker
Expand All @@ -37,15 +38,15 @@ jobs:
- stage: Release pipeline
name: Release Pipeline test
script:
- /tmp/oper/community-operators/scripts/ci/run-release -s
- cd /tmp/oper/community-operators && scripts/ci/run-release -s
# if: type = push

# - name: Release Pipeline upstream
# script:
# - /tmp/oper/community-operators/scripts/ci/run-release -u
# - cd /tmp/oper/community-operators && scripts/ci/run-release -u
## if: type = push
#
# - name: Release Pipeline openshift community
# script:
# - /tmp/oper/community-operators/scripts/ci/run-release -c
# - cd /tmp/oper/community-operators && scripts/ci/run-release -c
## if: type = push

0 comments on commit f0ea2d6

Please sign in to comment.