Compare commits

...

2 Commits

Author SHA1 Message Date
Dustin 435221da39 ci: client: Do not run on Raspberry Pi
dustin/sshca/pipeline/head This commit looks good Details
Removing the toleration for the `du5t1n.me/machine=raspberrypi` taint
will force the pod to be scheduled on a dynamic node in AWS.  This will
hopefully speed up builds, even considering the startup delay.
2023-11-11 06:41:53 -06:00
Dustin ca1c5124c5 ci: publish-client: Use Linux arch name
The `ARCH` environment varible set by the Jenkins pipeline uses the
Kubernetes names for CPU architectures.  RPMs use the Linux kernel
names, which are not the same.  Using the former, therefore, in the
`include` filter for `rsync` results in no packages being uploaded to
the repository.
2023-11-11 06:39:53 -06:00
2 changed files with 2 additions and 4 deletions

View File

@ -11,9 +11,6 @@ spec:
name: ssh-known-hosts name: ssh-known-hosts
subPath: ssh_known_hosts subPath: ssh_known_hosts
hostUsers: false hostUsers: false
tolerations:
- key: du5t1n.me/machine
value: raspberrypi
volumes: volumes:
- name: ssh-known-hosts - name: ssh-known-hosts
configMap: configMap:

View File

@ -1,12 +1,13 @@
#!/bin/sh #!/bin/sh
ARCH="$(uname -m)"
REPO_HOST=jenkins@files.pyrocufflink.blue REPO_HOST=jenkins@files.pyrocufflink.blue
REPO_PATH=/srv/www/repohost/repos/dch/fedora/$(rpm --eval %fedora) REPO_PATH=/srv/www/repohost/repos/dch/fedora/$(rpm --eval %fedora)
ssh-add -l ssh-add -l
ssh-add -L ssh-add -L
case "$(uname -m)" in case "${ARCH}" in
x86_64) x86_64)
# only include the SRPM once # only include the SRPM once
include='*.rpm' include='*.rpm'