blob: 184a421de45b2aaa0c5a576ada2e605caa0c173e (
plain) (
blame)
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
|
kind: pipeline
type: kubernetes
name: default
steps:
- name: AO Coverage Verify
image: node:lts
environment:
FORMAT: cobertura
REPORT_FILE: coverage/cobertura-coverage.xml
HOST_DIR: /dist
VERBOSE: "true"
COV_TOKEN:
from_secret: token
commands:
- mkdir -p $HOST_DIR && chown $USER:$USER $HOST_DIR
- yarn install --immutable --immutable-cache --check-cache
- yarn run lint
- yarn run test:coverage
- curl --proto '=https' --tlsv1.2 -sSf https://cov.submelon.dev/sh | sh
- name: publish
image: plugins/docker
settings:
repo: "${DRONE_REPO}"
tags:
- "${DRONE_COMMIT_SHA}"
- latest
target: release
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
branch:
- trunk
event:
- pull_request
- push
- custom
|