Compare commits

...

2 Commits

Author SHA1 Message Date
Dustin a754e47b0d ci: Request 1.5 CPUs for each container
dustin/sshca-cli/pipeline/head This commit looks good Details
The cloud aarch64 build machine does not have enough resources to build
multiple versions at once.  Requesting multiple CPUs ensures that only
one build pod is scheduled at a time.  Since the node has 2 CPUs and
240m CPUs are taken by Longhorn, if we request 1500m CPUs, builds will
run sequentially.
2023-12-29 12:36:34 -06:00
Dustin 7f51ae919f ci: build for Fedora 39
Fedora 39 is out, so we need builds of *sshca-cli* for it.
2023-12-29 12:36:34 -06:00
2 changed files with 11 additions and 1 deletions

8
ci/Jenkinsfile vendored
View File

@ -9,6 +9,10 @@ pipeline {
name 'ARCH'
values 'amd64', 'arm64'
}
axis {
name 'FEDORA'
values '38', '39'
}
}
stages {
@ -19,6 +23,10 @@ pipeline {
yamlMergeStrategy merge()
defaultContainer 'fedora'
nodeSelector "kubernetes.io/arch=${ARCH}"
containerTemplate {
name 'fedora'
image "registry.fedoraproject.org/fedora:${FEDORA}"
}
}
}
environment {

View File

@ -1,11 +1,13 @@
spec:
containers:
- name: fedora
image: registry.fedoraproject.org/fedora:38
command:
- cat
stdin: true
tty: true
resources:
requests:
cpu: 1500m
volumeMounts:
- mountPath: /etc/ssh/ssh_known_hosts
name: ssh-known-hosts