From 95469144c45a100bc3075eb59f82ae966787628f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 08 2019 13:01:17 +0000 Subject: Run the pip container in jenkins and exports its artifacts Signed-off-by: Pierre-Yves Chibon --- diff --git a/.cico.pipeline b/.cico.pipeline index 11fc913..0fb747c 100644 --- a/.cico.pipeline +++ b/.cico.pipeline @@ -73,6 +73,7 @@ node('pagure') { stage('Sync Artifacts'){ syncfromduffynode('pagure/results_f29-rpms-py3/') syncfromduffynode('pagure/results_centos7-rpms-py2/') + syncfromduffynode('pagure/results_fedora-pip-py3/') } stage('Deallocate Node'){ @@ -87,6 +88,7 @@ node('pagure') { stage('Archive Artifacts'){ archiveArtifacts artifacts: 'pagure/results_f29-rpms-py3/' archiveArtifacts artifacts: 'pagure/results_centos7-rpms-py2/' + archiveArtifacts artifacts: 'pagure/results_fedora-pip-py3/' } } } diff --git a/run_ci_tests_containers.sh b/run_ci_tests_containers.sh index fe11956..cd941d0 100644 --- a/run_ci_tests_containers.sh +++ b/run_ci_tests_containers.sh @@ -36,3 +36,18 @@ podman run --rm -it --name pagure-c7-rpms-py2 \ -e BRANCH=$BRANCH \ -e REPO=$REPO \ pagure-c7-rpms-py2 + + +podman build --rm -t pagure-fedora-pip-py3 \ + -f dev/containers/fedora-pip-py3 \ + dev/containers + +if [ ! -d `pwd`/results_fedora-pip-py3 ]; then + mkdir `pwd`/results_fedora-pip-py3; +fi + +podman run --rm -it --name pagure-fedora-pip-py3 \ + -v `pwd`/results_fedora-pip-py3:/pagure/results:z \ + -e BRANCH=$BRANCH \ + -e REPO=$REPO \ + pagure-fedora-pip-py3