-
-
Notifications
You must be signed in to change notification settings - Fork 348
/
config.yml
128 lines (125 loc) · 2.96 KB
/
config.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
version: 2.1
orbs:
sdk: ory/sdk@0.1.41
changelog: ory/changelog@0.1.10
goreleaser: ory/goreleaser@0.1.31
slack: circleci/slack@3.4.2
nancy: ory/nancy@0.0.18
docs: ory/docs@0.0.11
golangci: ory/golangci@0.0.18
go: circleci/go@1.5.0
prettier: ory/prettier@0.0.11
jobs:
test:
docker:
- image: cimg/go:1.16-node
environment:
- GO111MODULE=on
steps:
- checkout
- setup_remote_docker
- go/load-cache
- run: go mod tidy
- go/save-cache
- prettier/install
- prettier/check
- goreleaser/install
- goreleaser/check
- golangci/install
- golangci/lint
- run: make .bin/go-acc
- run: .bin/go-acc -o coverage.out ./... -- -failfast -timeout=20m
- run: |
bash <(curl -s https://codecov.io/bash)
- run: ./test/e2e/run.sh
- run: ./test/reload/run.sh
workflows:
"test, build, and relase":
jobs:
- test:
filters:
tags:
only: /.*/
- changelog/generate:
requires:
- test
filters:
tags:
only: /.*/
branches:
only: master
- sdk/generate:
appname: Ory_Oathkeeper
swagpath: spec/api.json
requires:
- test
- sdk/release:
swagpath: spec/api.json
requires:
- test
- goreleaser/release
filters:
tags:
only: /.*/
branches:
ignore: /.*/
- docs/build:
swag-spec-location: spec/api.json
requires:
- test
filters:
tags:
only: /.*/
branches:
only: master
-
goreleaser/release:
requires:
- test
filters:
branches:
ignore: /.*/
tags:
only: /.*/
-
goreleaser/render-version-schema:
schema-path: .schema/config.schema.json
requires:
- goreleaser/release
filters:
tags:
only: /.*/
-
goreleaser/newsletter-draft:
chimp-list: f605a41b53
chimp-segment: 6479485
requires:
- goreleaser/release
filters:
tags:
only: /.*/
-
slack/approval-notification:
message: Pending approval
channel: release-automation
requires:
- goreleaser/newsletter-draft
filters:
tags:
only: /.*/
-
newsletter-approval:
type: approval
requires:
- goreleaser/newsletter-draft
filters:
tags:
only: /.*/
-
goreleaser/newsletter-send:
chimp-list: f605a41b53
requires:
- newsletter-approval
filters:
tags:
only: /.*/