Skip to content

Commit fd2ac4f

Browse files
committed
fix git in app creation
1 parent b63dea8 commit fd2ac4f

File tree

2 files changed

+153
-0
lines changed

2 files changed

+153
-0
lines changed

app.production.yaml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
apiversion: application.kubero.dev/v1alpha1
2+
kind: KuberoApp
3+
metadata: {}
4+
spec:
5+
addons: []
6+
affinity: {}
7+
autodeploy: false
8+
autoscale: false
9+
autoscaling:
10+
enabled: false
11+
branch: main
12+
buildpack: NodeJS
13+
cronjobs: []
14+
domain: popop.lacolhost.com
15+
envvars: []
16+
fullnameoverride: ""
17+
gitrepo:
18+
admin: true
19+
cloneurl: https://github.com/kubero-dev/template-nodeapp.git
20+
defaultbranch: main
21+
description: Simple example Node app
22+
homepage: ""
23+
id: 501665730
24+
language: JavaScript
25+
name: template-nodeapp
26+
nodeid: R_kgDOHebPwg
27+
owner: kubero-dev
28+
private: false
29+
push: true
30+
sshurl: [email protected]:kubero-dev/template-nodeapp.git
31+
visibility: public
32+
image:
33+
fetch:
34+
repository: ""
35+
tag: ""
36+
build:
37+
command: ""
38+
repository: ""
39+
tag: ""
40+
run:
41+
command: ""
42+
repository: ""
43+
tag: ""
44+
containerport: 8080
45+
pullpolicy: ""
46+
repository: ""
47+
tag: ""
48+
imagepullsecrets: []
49+
ingress:
50+
annotations: {}
51+
classname: ""
52+
enabled: false
53+
hosts: []
54+
tls: []
55+
name: meintest
56+
nameoverride: ""
57+
nodeselector: {}
58+
phase: production
59+
pipeline: clitest2
60+
podannotations: {}
61+
podsecuritycontext: {}
62+
podsize: ""
63+
replicacount: 0
64+
service:
65+
port: 0
66+
type: ""
67+
serviceaccount:
68+
annotations: {}
69+
create: false
70+
name: ""
71+
tolerations: []
72+
web:
73+
autoscaling:
74+
maxreplicas: 0
75+
minreplicas: 0
76+
targetcpuutilizationpercentage: 0
77+
targetmemoryutilizationpercentage: 0
78+
replicacount: 1
79+
worker:
80+
autoscaling:
81+
maxreplicas: 0
82+
minreplicas: 0
83+
targetcpuutilizationpercentage: 0
84+
targetmemoryutilizationpercentage: 0
85+
replicacount: 0

pipeline.yaml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
apiversion: application.kubero.dev/v1alpha1
2+
kind: KuberoPipeline
3+
spec:
4+
buildpack:
5+
build:
6+
command: npm install
7+
repository: node
8+
tag: latest
9+
fetch:
10+
repository: ghcr.io/kubero-dev/buildpacks/fetch
11+
tag: main
12+
language: JavaScript
13+
name: NodeJS
14+
run:
15+
command: node index.js
16+
repository: node
17+
tag: latest
18+
deploymentstrategy: git
19+
dockerimage: ""
20+
git:
21+
keys:
22+
createdat: 2022-11-15T08:42:40Z
23+
id: 73749231
24+
readonly: true
25+
title: bot@kubero
26+
url: https://api.github.com/repos/kubero-dev/template-nodeapp/keys/73749231
27+
verified: true
28+
repository:
29+
provider: Github
30+
admin: true
31+
cloneurl: https://github.com/kubero-dev/template-nodeapp.git
32+
defaultbranch: main
33+
description: Simple example Node app
34+
homepage: ""
35+
id: 501665730
36+
language: JavaScript
37+
name: template-nodeapp
38+
nodeid: R_kgDOHebPwg
39+
owner: kubero-dev
40+
private: false
41+
push: true
42+
sshurl: [email protected]:kubero-dev/template-nodeapp.git
43+
visibility: public
44+
webhook:
45+
active: true
46+
createdat: 2022-10-30T20:26:50Z
47+
events:
48+
- pull_request
49+
- push
50+
id: 386238670
51+
insecure: "0"
52+
url: https://kubero6d304b3d55d72.loca.lt/api/repo/webhooks/github
53+
webhooks: {}
54+
name: clitest2
55+
phases:
56+
- name: review
57+
enabled: false
58+
context: ""
59+
- name: test
60+
enabled: false
61+
context: ""
62+
- name: stage
63+
enabled: false
64+
context: ""
65+
- name: production
66+
enabled: true
67+
context: inClusterContext
68+
reviewapps: false

0 commit comments

Comments
 (0)