-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipelines.yml
45 lines (43 loc) · 1.13 KB
/
pipelines.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
apiVersion: v1.1
resources:
- name: gitFkLogger
type: GitRepo
configuration:
gitProvider: githubAccountGeoffwilliams
path: declarativesystems/fklogger
- name: npmEnvFkLogger
type: declarativesystems/NpmEnv
configuration:
sourceArtifactory: artifactory
repositoryName: npm
pipelines:
- name: fkLogger
configuration:
runtime:
type: image
image:
custom:
name: "declarativesystems.jfrog.io/docker-local/pipelines"
tag: "0.7.0-27"
registry: artifactory
sourceRepository: docker-local
steps:
- name: npmBuildAndPublish
type: Bash
configuration:
integrations:
- name: artifactory
- name: slack
inputResources:
- name: npmEnvFkLogger
- name: gitFkLogger
execution:
onStart:
- cd ${res_gitFkLogger_resourcePath}
- make ci_notify_start
- make test
- yarn publish
onFailure:
- make ci_notify_failure
onSuccess:
- make ci_notify_complete