diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-08-20 01:06:28 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-08-20 01:06:28 +0200 |
commit | 12be8f3b4bbc0c7a282380b677abde720d6cc40e (patch) | |
tree | 9bf3cc0644fa56d187a62b7fc377b11afa45975b | |
parent | 5c7b8a4b352cfbf630f64fd8c19b05dc6ef3bad5 (diff) | |
download | jenkinsfiles-12be8f3b4bbc0c7a282380b677abde720d6cc40e.tar.gz |
move stuff to yaml
-rw-r--r-- | Jenkinsfile | 6 | ||||
-rw-r--r-- | centos7-rpmbuild.yaml | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 0e41d62..1024492 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,11 +24,7 @@ pipeline { uname -a printenv | sort cat /etc/os-release - export CENTOS_MIRROR=http://spunk.home.kraxel.org/centos/ - export EPEL_MIRROR=http://spunk.home.kraxel.org/epel/ - /usr/local/bin/configure-mirror - yum update -y - yum install -y gtk3-devel + grep baseurl /etc/yum.repos.d/* ''' } } diff --git a/centos7-rpmbuild.yaml b/centos7-rpmbuild.yaml index 89851db..90a3491 100644 --- a/centos7-rpmbuild.yaml +++ b/centos7-rpmbuild.yaml @@ -5,6 +5,10 @@ spec: - name: centos7-rpmbuild image: registry.gitlab.com/kraxel/rpm-package-builder:centos7 imagePullPolicy: Always - command: - - cat + env: + - name: "CENTOS_MIRROR" + value: "http://spunk.home.kraxel.org/centos/" + - name: "EPEL_MIRROR" + value: "http://spunk.home.kraxel.org/epel/" tty: true + command: [ "/bin/sh", "-c", "/usr/local/bin/configure-mirror && cat" ] |