diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6d4197d4a87b936be48dba94238c9d54bcfa2a6..4a07ba380338fcfa07491fb665dfa166485f98e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,33 +60,6 @@ cta_rpm: tags: - docker -cta_rpm: - except: - - tags - stage: build:rpm - retry: 1 - image: gitlab-registry.cern.ch/linuxsupport/cc7-base - script: - - cp -f continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo /etc/yum.repos.d/ - - yum install -y gcc-c++ cmake make rpm-build - - yum -y install yum-plugin-priorities yum-plugin-versionlock - - yum install -y git - - git submodule update --init --recursive - - cp -f continuousintegration/docker/ctafrontend/cc7/etc/yum/pluginconf.d/versionlock.list /etc/yum/pluginconf.d/ - - yum-builddep --nogpgcheck -y build_srpm/RPM/SRPMS/* - - mkdir build_rpm - - cd build_rpm - - cmake -DVCS_VERSION=${CTA_BUILD_ID} .. - - make cta_rpm - - artifacts: - expire_in: 30 days - paths: - - build_rpm/RPM/RPMS - - tags: - - docker - cta_tagged_rpm: only: - tags