Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2758 from keptn/feature/2753/integration_tests_on…
Browse files Browse the repository at this point in the history
…_cron

#2753 Move most integration tests to cron (nightlies)
  • Loading branch information
christian-kreuzberger-dtx committed Dec 3, 2020
2 parents b9eca15 + d174eae commit 4b64881
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ jobs:
<<: *gke_full_part2 # use GKE template

- stage: Test Minishift Standalone (--platform=openshift)
if: (branch = master or branch =~ ^release.*$) AND (type = cron OR type = push) # run for any change on master/release-* on push and cron
if: (branch = master or branch =~ ^release.*$) AND (type = cron) # run nightlies for any master/release-* branches
os: linux
before_script:
# download and install kubectl
Expand Down Expand Up @@ -490,6 +490,7 @@ jobs:
- kubectl get services --all-namespaces
- kubectl get ingress --all-namespaces

# Run K3s Standalone on every push on master/release branch
- &K3sStandaloneTest
stage: Test K3s Standalone (--platform=kubernetes, --namespace=keptn-test)
if: (branch = master or branch =~ ^release.*$) AND (type = cron OR type = push) # run for any change on master/release-* on push as well as cron
Expand Down Expand Up @@ -523,12 +524,13 @@ jobs:
- kubectl get ingress --all-namespaces

- <<: *K3sStandaloneTest
if: (branch = master or branch =~ ^release.*$) AND (type = cron) # run only nightly
env:
- K3S_VERSION=v1.19.2+k3s1 # see https://github.com/rancher/k3s/releases

- &microk8sStandaloneTest
stage: Test MicroK8s Standalone (--platform=kubernetes)
if: (branch = master or branch =~ ^release.*$) AND (type = cron OR type = push) # run for any change on master/release-* on push as well as cron
if: (branch = master or branch =~ ^release.*$) AND (type = cron) # run nightlies for any master/release-* branches
os: linux
env:
- MICROK8S_VERSION=1.16/stable # see https://snapcraft.io/microk8s channels
Expand Down Expand Up @@ -558,4 +560,4 @@ jobs:

- <<: *microk8sStandaloneTest
env:
- MICROK8S_VERSION=1.19/stable # see https://snapcraft.io/microk8s channels
- MICROK8S_VERSION=1.19/stable # see https://snapcraft.io/microk8s channels

0 comments on commit 4b64881

Please sign in to comment.