-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci.yaml
More file actions
46 lines (45 loc) · 1.16 KB
/
ci.yaml
File metadata and controls
46 lines (45 loc) · 1.16 KB
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
ci:
build:
binaries:
- name: wfctl
path: ./cmd/wfctl
os: [linux, darwin]
arch: [amd64, arm64]
ldflags: "-s -w -X main.version=${VERSION}"
- name: workflow-server
path: ./cmd/server
os: [linux, darwin]
arch: [amd64, arm64]
ldflags: "-s -w"
- name: workflow-lsp-server
path: ./cmd/workflow-lsp-server
os: [linux, darwin]
arch: [amd64, arm64]
ldflags: "-s -w"
containers:
- name: workflow-server
dockerfile: Dockerfile
registry: ghcr.io/gocodealone
tag: ${VERSION}
test:
unit:
command: go test ./... -race -count=1
coverage: true
deploy:
environments:
staging:
provider: kubernetes
namespace: workflow-staging
strategy: rolling
healthCheck:
path: /healthz
timeout: 30s
secrets:
defaultStore: github
entries:
- name: GITHUB_TOKEN
description: GitHub API token for releases and dispatches
- name: HOMEBREW_TAP_TOKEN
description: Token for updating Homebrew tap
- name: NPM_TOKEN
description: Token for npm package publishing