Skip to content

Commit 998c83d

Browse files
committed
feat: first commit
0 parents  commit 998c83d

37 files changed

+11061
-0
lines changed

.gitignore

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
node_modules/
2+
# Temporary Build Files
3+
_dist/
4+
build/_output
5+
build/_test
6+
bin/
7+
# Created by https://www.gitignore.io/api/go,vim,emacs,visualstudiocode
8+
### Emacs ###
9+
# -*- mode: gitignore; -*-
10+
*~
11+
\#*\#
12+
/.emacs.desktop
13+
/.emacs.desktop.lock
14+
*.elc
15+
auto-save-list
16+
tramp
17+
.\#*
18+
# Org-mode
19+
.org-id-locations
20+
*_archive
21+
# flymake-mode
22+
*_flymake.*
23+
# eshell files
24+
/eshell/history
25+
/eshell/lastdir
26+
# elpa packages
27+
/elpa/
28+
# reftex files
29+
*.rel
30+
# AUCTeX auto folder
31+
/auto/
32+
# cask packages
33+
.cask/
34+
dist/
35+
# Flycheck
36+
flycheck_*.el
37+
# server auth directory
38+
/server/
39+
# projectiles files
40+
.projectile
41+
projectile-bookmarks.eld
42+
# directory configuration
43+
.dir-locals.el
44+
# saveplace
45+
places
46+
# url cache
47+
url/cache/
48+
# cedet
49+
ede-projects.el
50+
# smex
51+
smex-items
52+
# company-statistics
53+
company-statistics-cache.el
54+
# anaconda-mode
55+
anaconda-mode/
56+
### Go ###
57+
# Binaries for programs and plugins
58+
*.exe
59+
*.exe~
60+
*.dll
61+
*.so
62+
*.dylib
63+
# Test binary, build with 'go test -c'
64+
*.test
65+
# Output of the go coverage tool, specifically when used with LiteIDE
66+
*.out
67+
### Vim ###
68+
# swap
69+
.sw[a-p]
70+
.*.sw[a-p]
71+
# session
72+
Session.vim
73+
# temporary
74+
.netrwhist
75+
# auto-generated tag files
76+
tags
77+
### VisualStudioCode ###
78+
.vscode/*
79+
.history
80+
# End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode

.prow.yaml

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
presubmits:
2+
- name: test-node-tagger
3+
decorate: true
4+
always_run: true
5+
skip_report: false
6+
clone_uri: "git@github.com:ouzi-dev/node-tagger.git"
7+
max_concurrency: 1
8+
trigger: "(?m)test( please)?"
9+
rerun_command: "test"
10+
spec:
11+
containers:
12+
- name: "test"
13+
imagePullPolicy: IfNotPresent
14+
image: quay.io/ouzi/go-builder:1.13.7
15+
command:
16+
- make
17+
args:
18+
- test
19+
- name: lint-node-tagger
20+
decorate: true
21+
always_run: true
22+
skip_report: false
23+
clone_uri: "git@github.com:ouzi-dev/node-tagger.git"
24+
max_concurrency: 1
25+
trigger: "(?m)lint( please)?"
26+
rerun_command: "lint"
27+
spec:
28+
containers:
29+
- name: "lint"
30+
imagePullPolicy: IfNotPresent
31+
image: quay.io/ouzi/go-builder:1.13.7
32+
command:
33+
- make
34+
args:
35+
- lint
36+
resources:
37+
requests:
38+
memory: "2Gi"
39+
cpu: 1
40+
- name: helm-chart-lint-node-tagger
41+
context: helm-chart-lint-node-tagger
42+
decorate: true
43+
run_if_changed: 'deploy/helm/'
44+
always_run: false
45+
skip_report: false
46+
clone_uri: "git@github.com:ouzi-dev/node-tagger.git"
47+
max_concurrency: 1
48+
trigger: "(?m)helm-lint( please)?"
49+
rerun_command: "helm-lint"
50+
spec:
51+
containers:
52+
- name: "helm-chart-lint"
53+
imagePullPolicy: IfNotPresent
54+
image: quay.io/ouzi/helm:v3.0.1
55+
command:
56+
- make
57+
args:
58+
- helm-lint
59+
- name: helm-chart-validate-node-tagger
60+
context: helm-chart-validate-node-tagger
61+
decorate: true
62+
run_if_changed: 'deploy/helm/'
63+
always_run: false
64+
skip_report: false
65+
clone_uri: "git@github.com:ouzi-dev/node-tagger.git"
66+
max_concurrency: 1
67+
trigger: "(?m)helm-validate( please)?"
68+
rerun_command: "helm-validate"
69+
spec:
70+
containers:
71+
- name: "helm-chart-validate"
72+
imagePullPolicy: IfNotPresent
73+
image: quay.io/ouzi/helm:v3.0.1
74+
command:
75+
- make
76+
args:
77+
- helm-validate
78+
- name: helm-chart-package-node-tagger
79+
context: helm-chart-package-node-tagger
80+
decorate: true
81+
run_if_changed: 'deploy/helm/'
82+
always_run: false
83+
skip_report: false
84+
clone_uri: "git@github.com:ouzi-dev/node-tagger.git"
85+
max_concurrency: 1
86+
trigger: "(?m)helm-package( please)?"
87+
rerun_command: "helm-package"
88+
spec:
89+
containers:
90+
- name: "helm-chart-package"
91+
imagePullPolicy: IfNotPresent
92+
image: quay.io/ouzi/helm:v3.0.1
93+
command:
94+
- make
95+
args:
96+
- helm-package
97+
- VERSION=0.0.0
98+
- name: test-semrelease-dryrun-node-tagger
99+
context: test-semrelease-dryrun-node-tagger
100+
decorate: true
101+
always_run: true
102+
skip_report: false
103+
clone_uri: "git@github.com:ouzi-dev/node-tagger.git"
104+
max_concurrency: 1
105+
labels:
106+
preset-semantic-release: "true"
107+
trigger: "(?m)semrelease-dryrun( please)?"
108+
rerun_command: "semrelease-dryrun"
109+
spec:
110+
containers:
111+
- name: "test-semrelease-dryrun"
112+
imagePullPolicy: IfNotPresent
113+
image: quay.io/ouzi/toolbox:0.1.2
114+
command:
115+
- make
116+
args:
117+
- semantic-release-dry-run
118+
postsubmits:
119+
- name: node-tagger-release
120+
labels:
121+
preset-semantic-release: "true"
122+
preset-docker: "true"
123+
clone_uri: "git@github.com:ouzi-dev/node-tagger.git"
124+
decorate: true
125+
max_concurrency: 1
126+
branches:
127+
- master
128+
spec:
129+
nodeSelector:
130+
group_name: image-builder
131+
tolerations:
132+
- key: "imagebuilderonly"
133+
value: "true"
134+
operator: "Equal"
135+
effect: "PreferNoSchedule"
136+
containers:
137+
- name: "release"
138+
imagePullPolicy: Always
139+
image: quay.io/ouzi/kube-dind:18.09
140+
command:
141+
- runner.sh
142+
args:
143+
- make
144+
- semantic-release
145+
securityContext:
146+
privileged: true
147+
resources:
148+
requests:
149+
memory: "2Gi"
150+
cpu: 1

0 commit comments

Comments
 (0)