From d8d1db50cd65e324de8a6eb337df8acdd63511bf Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Thu, 9 Jul 2020 10:55:46 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Add=20aarch64=20mock=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build osbuild/osbuild-composer packages on AWS using aarch64 instances. Signed-off-by: Major Hayden --- schutzbot/Jenkinsfile | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/schutzbot/Jenkinsfile b/schutzbot/Jenkinsfile index 128c43d7c..1a998526a 100644 --- a/schutzbot/Jenkinsfile +++ b/schutzbot/Jenkinsfile @@ -60,6 +60,22 @@ pipeline { ) } } + stage('Fedora 31 aarch64') { + agent { label "f31cloudbase_aarch64_temporary" } + environment { + AWS_CREDS = credentials('aws-credentials-osbuildci') + } + steps { + sh "schutzbot/ci_details.sh" + retry(3) { + sh "schutzbot/mockbuild.sh" + } + stash ( + includes: 'osbuild-mock.repo', + name: 'fedora31_aarch64' + ) + } + } stage('Fedora 32') { agent { label "f32cloudbase && x86_64" } environment { @@ -76,6 +92,22 @@ pipeline { ) } } + stage('Fedora 32 aarch64') { + agent { label "f32cloudbase_aarch64_temporary" } + environment { + AWS_CREDS = credentials('aws-credentials-osbuildci') + } + steps { + sh "schutzbot/ci_details.sh" + retry(3) { + sh "schutzbot/mockbuild.sh" + } + stash ( + includes: 'osbuild-mock.repo', + name: 'fedora32_aarch64' + ) + } + } stage('RHEL 8 CDN') { agent { label "rhel8cloudbase && x86_64" } environment { @@ -93,6 +125,23 @@ pipeline { ) } } + stage('RHEL 8 CDN aarch64') { + agent { label "rhel8cloudbase_aarch64_temporary" } + environment { + AWS_CREDS = credentials('aws-credentials-osbuildci') + RHN_REGISTRATION_SCRIPT = credentials('rhn-register-script-production-aarch64') + } + steps { + sh "schutzbot/ci_details.sh" + retry(3) { + sh "schutzbot/mockbuild.sh" + } + stash ( + includes: 'osbuild-mock.repo', + name: 'rhel8cdn_aarch64' + ) + } + } // NOTE(mhayden): RHEL 8.3 is only available in PSI for now. stage('RHEL 8.3 Nightly') { agent { label "rhel83cloudbase && x86_64" }