forked from lightbend/console-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
93 lines (82 loc) · 2.93 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: go
sudo: required
dist: xenial
services:
- docker
install:
- scripts/setup-tools-for-ubuntu.sh
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
jobs:
include:
- stage: Tests
name: Validate
script:
- make lint
- name: ES Smoke Tests
script:
- scripts/setup-minikube-for-linux.sh
- make test CHARTS=enterprise-suite
- name: ES Smoke Tests (Latest)
# Only build latest in the daily cron - don't block PRs or master releases.
if: type in (cron)
script:
- scripts/setup-minikube-for-linux.sh
- make test CHARTS=enterprise-suite-latest
- name: ES Frontend E2E
addons:
apt:
update: true
packages:
- libgconf2-4
cache:
directories:
- ~/.npm
- ~/.cache
node_js: 9.4.0
script:
- scripts/setup-minikube-for-linux.sh
- make test CHARTS=enterprise-suite ES_TEST=frontend
after_failure:
# Cypress videos.
- artifacts upload $(find . -name '*.mp4')
- name: ES Frontend E2E (Latest)
if: type in (cron)
addons:
apt:
update: true
packages:
- libgconf2-4
cache:
directories:
- ~/.npm
- ~/.cache
node_js: 9.4.0
script:
- scripts/setup-minikube-for-linux.sh
- make test CHARTS=enterprise-suite-latest ES_TEST=frontend
- name: Reactive-sandbox test
script:
- make test CHARTS=reactive-sandbox
- stage: deploy
name: Deploy to GCS
# Only deploy for pushes to master (and if manually invoked)
if: type IN (push, api)
script:
# Decrypt credentials for GCS system account [email protected]
- mkdir -p /tmp/resources
- openssl aes-256-cbc -K $encrypted_f01ffbb90c44_key -iv $encrypted_f01ffbb90c44_iv -in resources/es-repo-7c1fefe17951.json.enc -out /tmp/resources/es-repo-7c1fefe17951.json -d
- scripts/deploy-to-gcs.sh
- scripts/trigger-build-helm-charts.sh
branches:
only:
- master
notifications:
email: false
slack:
rooms:
secure: AHDrkFweHIHLOY5VFaxgfLQKlARY5b8wM/jN3XGoEzvpECQgFrgUN/KNGUmYDlWJkmxuzr4lNpVKZe6gUgYUBwGbOO7uhLjpcoPJSYj9T2dj1Dddh9hEReDlgP/VCyPKQoPSX/8/ZJF1yq1vSAXC9es1ek4dyJAcEyWmH5uYYM2jslxNm6J64XFAwZKSo2gU98jEMvbGFfjbfdlDIRQJlKmMTpJMxvWJLHZFmLMAXgK2SB3htrS4lasOh775vEqMc4fS/Cmecb/KsVnDcYHUCYT2SZpNzkde8uCTPgB5XdZZf3F7zo1HK7+3a7eygIbWtGTDk9AUisODZLAjPTRDRVDyjSt7pNKbDhipGrYvWgt397WbvlXiDZ8TeOkWJdTf2E7RM5odtJL5ZF0XklnqOQMu2b/ZXlMq4vZTYAbsof5+Nw3Fw00iqCBEUd9J9nvaoQX/86cySWfU1N/NlptIG5hY4ro3tsrvSuIkmyBM6XN3GUFp8OexeNcCtaW40XO0qnzpbYv4be7Be6yG6fPhewO+5pOIM4mL8V+ryORAzK29MIU0L+9/gChmTxZ4YmUbksYYp1ifUlAmSnJAZcMXIy2DhqrWs9pszLKeGC4dzOxmNNzWGYnL1l2X137wRC0mfKK84Bxs1RiaToxWUQO88FXffI8c8xF7m/+Zir6vMq8=
on_success: change
on_failure: always
on_pull_requests: false
template:
- "Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) of %{repository_slug}@%{branch} by %{author} %{result} in %{elapsed_time}"