Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Foundation
IT
APIs
git-eca-rest-api
Commits
d2cf732e
Commit
d2cf732e
authored
Dec 02, 2021
by
Mikaël Barbero
🗡
Browse files
Jenkinsfile housekeeping
parent
ccc44f5c
Pipeline
#1341
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
d2cf732e
...
...
@@ -35,9 +35,9 @@
buildDiscarder
(
logRotator
(
numToKeepStr:
'10'
))
}
triggers
{
triggers
{
// build once a week to keep up with parents images updates
cron
(
'H H * * H'
)
cron
(
'H H * * H'
)
}
stages
{
...
...
@@ -88,33 +88,33 @@
stage
(
'Deploy to cluster'
)
{
agent
{
kubernetes
{
label
'kubedeploy-agent
-'
+
env
.
JOB_NAME
.
replaceAll
(
"/"
,
"-"
)
label
'kubedeploy-agent
'
yaml
'''
apiVersion: v1
kind: Pod
spec:
containers:
- name: kubectl
image: eclipsefdn/kubectl:okd-c1
command:
- cat
tty: true
resources:
limits:
cpu: 1
memory: 1Gi
volumeMounts:
- mountPath: "/home/default/.kube"
name: "dot-kube"
readOnly: false
- name: jnlp
resources:
limits:
cpu: 1
memory: 1Gi
volumes:
- name: "dot-kube"
emptyDir: {}
apiVersion: v1
kind: Pod
spec:
containers:
- name: kubectl
image: eclipsefdn/kubectl:okd-c1
command:
- cat
tty: true
resources:
limits:
cpu: 1
memory: 1Gi
volumeMounts:
- mountPath: "/home/default/.kube"
name: "dot-kube"
readOnly: false
- name: jnlp
resources:
limits:
cpu: 1
memory: 1Gi
volumes:
- name: "dot-kube"
emptyDir: {}
'''
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment