From 609d8d538dcb2c07b81216cb58cd2e32f730a5e4 Mon Sep 17 00:00:00 2001
From: Steven Murray <Steven.Murray@cern.ch>
Date: Mon, 29 Oct 2018 16:28:30 +0100
Subject: [PATCH] Removed redundant 'cta_rpm:' section from .gitlab-ci.yml

---
 .gitlab-ci.yml | 27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6d4197d4a..4a07ba3803 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
-- 
GitLab