-
Notifications
You must be signed in to change notification settings - Fork 4
62 lines (59 loc) · 1.87 KB
/
prepare-release.yaml
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
name: mock # This name appears in GitHub's Checks API and in workflow's status badge.
# THIS WORKFLOW:
# Is special, and only a workaround for limitations in Github's CI config.
# When a PR touches only changelog .md files, most CI workflows do not run.
# However, our branch protection rules still require that the jobs in those
# workflows _pass_; them being skipped is not good enough for Github.
#
# This workflow creates mock success statuses for all the jobs that would
# otherwise run in regular CI workflows, and triggers exactly when the regular
# CI workflows don't.
on:
# A push occurs to one of the matched branches.
push:
branches:
- main
paths: # Trigger if _only_ these files were changed.
- .punch_version.py
- .changelog/*.md
- CHANGELOG.md
# Or when a pull request event occurs for a pull request against one of the
# matched branches.
pull_request:
branches:
- main
paths: # Trigger if _only_ these files were changed.
- .punch_version.py
- .changelog/*.md
- CHANGELOG.md
jobs:
build-go:
name: build-go
runs-on: ubuntu-20.04
steps: [{name: "fake success", run: "exit 0"}]
lint-go:
name: lint-go
runs-on: ubuntu-20.04
steps: [{name: "fake success", run: "exit 0"}]
validate-openapi:
name: validate-openapi
runs-on: ubuntu-20.04
steps: [{name: "fake success", run: "exit 0"}]
validate-migrations:
name: validate-migrations
runs-on: ubuntu-20.04
steps: [{name: "fake success", run: "exit 0"}]
test-e2e-localnet:
name: test-e2e-localnet
runs-on: ubuntu-20.04
steps: [{name: "fake success", run: "exit 0"}]
test-e2e-regression:
strategy:
matrix:
suite:
- damask
- eden
- edenfast
name: test-e2e-regression
runs-on: ubuntu-20.04
steps: [{name: "fake success", run: "exit 0"}]