forked from pixel-point/kube-forwarder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
41 lines (38 loc) · 1.07 KB
/
.drone.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
kind: pipeline
name: tests
clone:
disable: true
trigger:
event: push
steps:
- name: clone
image: proalexandr/git-lfs:2.7.2
commands:
- git clone https://github.com/${DRONE_REPO}.git .
- git checkout $DRONE_COMMIT
- name: lint
image: node:10.16
commands:
- npm run lint
# TODO: Fix different font rendering on different operation systems
# - name: cypress
# image: cypress/included:3.3.1
# environment:
# SENTRY_DSN: ''
# GA_TRACKING_ID: ''
# commands:
# - npm install
# - npm run test:cypress:onhost
# - name: upload-diffs
# image: proalexandr/minio-zip:2019-05-29_3.0-r7
# environment:
# MC_HOST_pixelpoint:
# from_secret: mc_host
# commands:
# - export DIFF_FILENAME=diff-$(date +%s).zip
# - find cypress/snapshots -name '*.diff.png' | zip -0 $DIFF_FILENAME -@
# - mc cp $DIFF_FILENAME pixelpoint/kf-test-diffs/
# - echo "You can download a diff file, https://$(echo $MC_HOST_pixelpoint | cut -d"@" -f2)/kf-test-diffs/$DIFF_FILENAME"
# when:
# status:
# - failure