summaryrefslogtreecommitdiffstats
path: root/screwdriver.yaml
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahooinc.com>2023-11-03 10:50:25 +0100
committerArnstein Ressem <aressem@yahooinc.com>2023-11-03 10:50:25 +0100
commita1a0df2bf50ed9904c9ba8f858a9b1eaa703348c (patch)
treeefa75e002d29ca5275e8e2a30749b5c05d4429cf /screwdriver.yaml
parent96f6abe9caa338074ee39cb2fd566d3efff464c9 (diff)
Add job for periodic upload to cloudsmith.
Diffstat (limited to 'screwdriver.yaml')
-rw-r--r--screwdriver.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/screwdriver.yaml b/screwdriver.yaml
index 7661f7043dc..e1ee1bcff8c 100644
--- a/screwdriver.yaml
+++ b/screwdriver.yaml
@@ -528,6 +528,24 @@ jobs:
dnf install -y epel-release
dnf install -y vespa
+ mirror-copr-rpms-to-archive:
+ image: quay.io/centos/centos:stream8
+ annotations:
+ screwdriver.cd/cpu: LOW
+ screwdriver.cd/ram: LOW
+ screwdriver.cd/disk: HIGH
+ screwdriver.cd/timeout: 60
+ screwdriver.cd/buildPeriodically: H 6 * * *
+ secrets:
+ - CLOUDSMITH_API_CREDS
+ steps:
+ - install: |
+ dnf install -y dnf-plugins-core jq
+ - mirror-x86-64: |
+ screwdriver/publish-unpublished-rpms-to-archive.sh x86_64
+ - mirror-aarch64: |
+ screwdriver/publish-unpublished-rpms-to-archive.sh aarch64
+
mirror-copr-rpms-to-artifactory:
image: quay.io/centos/centos:stream8
annotations: