aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile6
-rw-r--r--fedora.yaml (renamed from fedora-amd64.yaml)5
2 files changed, 5 insertions, 6 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 990c13f..d79d100 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,8 +1,10 @@
pipeline {
agent {
kubernetes {
- yamlFile 'fedora-amd64.yaml'
- defaultContainer 'fedora-amd64'
+ yamlFile 'fedora.yaml'
+ defaultContainer 'fedora'
+ slaveConnectTimeout '1000'
+ nodeSelector 'kubernetes.io/arch: amd64'
}
}
diff --git a/fedora-amd64.yaml b/fedora.yaml
index b9afcd0..b169519 100644
--- a/fedora-amd64.yaml
+++ b/fedora.yaml
@@ -2,11 +2,8 @@ apiVersion: v1
kind: Pod
spec:
containers:
- - name: fedora-amd64
+ - name: fedora
image: fedora
command:
- cat
tty: true
-nodeSelector:
- kubernetes.io/os: linux
- kubernetes.io/arch: amd64