Revert all changes to the baseline 35/22735/1
authorAreli Fuss <af732p@att.com>
Wed, 8 Nov 2017 08:46:25 +0000 (10:46 +0200)
committerAreli Fuss <af732p@att.com>
Wed, 8 Nov 2017 08:47:22 +0000 (10:47 +0200)
Revert all changes to the baseline
after Docker MTU changes

Change-Id: I092c23e45e4bd6a77ef366e1f598ccdd9b7f0e12
Issue-Id: VVP-25
Signed-off-by: Areli Fuss <af732p@att.com>
Dockerfile
assets/setup
pom.xml

index 0dfbb00..9633a54 100755 (executable)
@@ -47,42 +47,11 @@ RUN apt-get update -q \
       apt-transport-https \
       vim \
       nano \
-      patch \
-      curl
+      patch
 
 # Copy assets
 COPY RELEASE /
 COPY assets/ /assets/
-
-#Workaround for onap
-ENV RELEASE_VERSION 8.6.1-ce.0
-ENV PACKAGECLOUD_REPO gitlab-ce
-ENV RELEASE_PACKAGE gitlab-ce
-
-ADD https://packages.gitlab.com/gpg.key key
-RUN cat key | apt-key add -
-RUN apt-key list
-
-#TEST
-RUN echo "####### TEST START #########"
-ARG HTTP_PROXY
-ARG HTTPS_PROXY
-
-ENV HTTP_PROXY  ${HTTP_PROXY}
-ENV HTTPS_PROXY ${HTTPS_PROXY}
-
-RUN if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::proxy  \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; fi && \
-    if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi
-
-ADD https://packages.gitlab.com/login ttt
-RUN curl https://packages.gitlab.com/login
-
-RUN echo "####### TEST END #########"
-
-
-RUN echo "deb https://packages.gitlab.com/gitlab/${PACKAGECLOUD_REPO}/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/gitlab_${RELEASE_PACKAGE}.list
-RUN apt-get update
-
 RUN /assets/setup
 
 # Allow to access embedded tools
index 255ef45..27af8cb 100755 (executable)
@@ -42,9 +42,9 @@ set -xe
 source /RELEASE
 
 # Download & Install GitLab
-#echo "deb https://packages.gitlab.com/gitlab/${PACKAGECLOUD_REPO}/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/gitlab_${RELEASE_PACKAGE}.list
-#wget -d --secure-protocol=TLSv1 --no-check-certificate -O - https://packages.gitlab.com/gpg.key | apt-key add -
-#apt-get update
+echo "deb https://packages.gitlab.com/gitlab/${PACKAGECLOUD_REPO}/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/gitlab_${RELEASE_PACKAGE}.list
+wget -q -O - https://packages.gitlab.com/gpg.key | apt-key add -
+apt-get update
 apt-get install -yq --no-install-recommends ${RELEASE_PACKAGE}=${RELEASE_VERSION}
 
 # Create sshd daemon
diff --git a/pom.xml b/pom.xml
index 5314838..c7c8cec 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                     <id>push-images</id>
                     <phase>deploy</phase>
                     <goals>
-                        <goal>build</goal>
                         <goal>push</goal>
                     </goals>
                     <configuration>