You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2019/10/28 09:08:21 UTC

[isis] branch v2 updated: fixing .gitlab-ci.yml to create interim builds

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/v2 by this push:
     new c1d411f  fixing .gitlab-ci.yml to create interim builds
c1d411f is described below

commit c1d411fee095d1fb4185878d1c57ed316835e1ed
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Oct 28 09:08:05 2019 +0000

    fixing .gitlab-ci.yml to create interim builds
---
 .gitlab-ci.yml | 38 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e99f43a..a96888b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,10 +10,6 @@
 #
 # It requires the following gitlab secret variables
 #
-# - NEXUS_USERNAME
-# - NEXUS_PASSWORD
-# - NEXUS_REPO_URL
-#
 # - GCPAPPENGINEREPO_USERNAME
 # - GCPAPPENGINEREPO_PASSWORD
 # - GCPAPPENGINEREPO_URL
@@ -26,10 +22,7 @@
 # NB: if deploying to docker hub, then the image is named apacheisis/$APPNAME,
 #     where 'apacheisis' is an org that the user can write to
 #
-#     if deploying to repo.incode.cloud, then the image is docker-dev.incode.cloud/$DOCKER_REGISTRY_USERNAME/$APP_NAME,
-#     where 'docker-dev.incode.cloud' is the repository in Nexus
-#
-#     In both cases, use $DOCKER_REGISTRY_USERNAME/$DOCKER_REGISTRY_PASSWORD credentials to upload
+#     Use $DOCKER_REGISTRY_USERNAME/$DOCKER_REGISTRY_PASSWORD credentials to upload
 #
 
 image: maven:3.5.3-jdk-8
@@ -71,14 +64,6 @@ build-package-push:
           -Drevision=$REVISION \
           -Dskip.assemble-zip \
           $CORE_ADDITIONAL_OPTS
-    - >
-      mvn -s .m2/settings.xml \
-          --batch-mode \
-          clean deploy \
-          -Drevision=$REVISION \
-          -Dnexus-deploy \
-          -Dnexus-deploy.repositoryUrl=$NEXUS_REPO_URL \
-          $CORE_ADDITIONAL_OPTS
     - cd ..
     - echo ""
     - echo ""
@@ -112,3 +97,24 @@ build-package-push:
           -Ddocker.registryUrl=$DOCKER_REGISTRY_URL
     - cd ../../..
 
+
+#
+# Previously this script also uploaded to a Sonatype Nexus.
+# Here's the stuff that did it.
+#
+# It requires the following gitlab secret variables
+#
+# - NEXUS_USERNAME
+# - NEXUS_PASSWORD
+# - NEXUS_REPO_URL
+#
+#    - cd core
+#    - >
+#      mvn -s .m2/settings.xml \
+#          --batch-mode \
+#          clean deploy \
+#          -Drevision=$REVISION \
+#          -Dnexus-deploy \
+#          -Dnexus-deploy.repositoryUrl=$NEXUS_REPO_URL \
+#          $CORE_ADDITIONAL_OPTS
+#    - cd ..
\ No newline at end of file