From 0aac47d7087c6eda147fdc971aa8f4339f431835 Mon Sep 17 00:00:00 2001 From: Russell Bunch Date: Tue, 31 Jan 2023 16:17:49 -0600 Subject: [PATCH] Provide `rsync` necessary SSH keys The SSH public keys are in on the node, mount the `known_hosts` file into the container to allow access to DST. Also fix the `bdist_wheel`, which is not Python2 compatible. --- Jenkinsfile.github | 2 +- pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile.github b/Jenkinsfile.github index 218e7ee..dd926e7 100644 --- a/Jenkinsfile.github +++ b/Jenkinsfile.github @@ -136,7 +136,7 @@ pipeline { agent { docker { // Mount docker.sock so the clamAV container can run inside of the Docker image, we need to run in a Docker image to get the right os-release file. - args '-u root -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker --group-add 999' + args '-u root -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker -v /home/jenkins/.ssh:/root/.ssh -v /home/jenkins/.ssh:/home/jenkins/.ssh --group-add 999' label "metal-gcp-builder" reuseNode true image "${pythonImage}:${PYTHON_VERSION}" diff --git a/pyproject.toml b/pyproject.toml index d125a77..72a0bf2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,4 +82,5 @@ requires = [ ] [tool.distutils.bdist_wheel] -universal = true +universal = false # This app. is not compatible with Python2. +