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 2018/09/01 07:23:57 UTC
[isis] branch maint-1.16.2 updated: ISIS-1965: disables gitlab ci
again for simplepp.
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch maint-1.16.2
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/maint-1.16.2 by this push:
new 904197c ISIS-1965: disables gitlab ci again for simplepp.
904197c is described below
commit 904197ca68f80e68e8829cf42ec996c43542466c
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Sat Sep 1 08:22:08 2018 +0100
ISIS-1965: disables gitlab ci again for simplepp.
This reverts commit 36e738fbc12f4ffd9ffc4adabf745344dce0f204.
---
.gitlab-ci.yml | 58 +++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 35 insertions(+), 23 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 63d0fac..50607a9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,28 +44,40 @@ build-package-push:
-Dnexus-deploy.repositoryUrl=$NEXUS_REPO_URL \
$CORE_ADDITIONAL_OPTS
- cd ..
- - cd example/application/$APP_NAME
- - >
- mvn --batch-mode \
- install \
- -Drevision=$REVISION \
- -Disis.version=$REVISION \
- $CORE_ADDITIONAL_OPTS \
- -Dmavenmixin-docker \
- -Ddocker-plugin.imageName=$DOCKER_REGISTRY_NAME/$DOCKER_REGISTRY_USERNAME/$APP_NAME
- - >
- mvn -s .m2/settings.xml \
- --batch-mode \
- docker:push@push-image-tagged \
- -pl webapp \
- -Drevision=$REVISION \
- -Disis.version=$REVISION \
- -DskipTests \
- -Dskip.isis-swagger \
- -Dmavenmixin-docker \
- -Ddocker-plugin.imageName=$DOCKER_REGISTRY_NAME/$DOCKER_REGISTRY_USERNAME/$APP_NAME \
- -Ddocker-plugin.serverId=docker-registry \
- -Ddocker.registryUrl=$DOCKER_REGISTRY_URL
- - cd ../../..
+#
+# remainder commented out for now, see: https://gitlab.com/gitlab-org/gitlab-runner/issues/3552
+#
+# it's possible that the mvn command to build the Docker image is failing ... it seems to get stuck.
+# maybe the background stuff is deadlocking?
+# then, the CI job for reporting the failure/uploading artifacts then hangs.
+# if that's correct, then commenting this out is a problem because we're masking an error on our side.
+#
+# on the other hand, I can't reproduce this issue locally.
+#
+# - cd example/application/$APP_NAME
+# - >
+# mvn --batch-mode \
+# install \
+# -Drevision=$REVISION \
+# -Disis.version=$REVISION \
+# $CORE_ADDITIONAL_OPTS \
+# -Dmavenmixin-docker \
+# -Ddocker-plugin.imageName=$DOCKER_REGISTRY_NAME/$DOCKER_REGISTRY_USERNAME/$APP_NAME
+# - >
+# mvn -s .m2/settings.xml \
+# --batch-mode \
+# docker:push@push-image-tagged \
+# -pl webapp \
+# -Drevision=$REVISION \
+# -Disis.version=$REVISION \
+# -DskipTests \
+# -Dskip.isis-swagger \
+# -Dmavenmixin-docker \
+# -Ddocker-plugin.imageName=$DOCKER_REGISTRY_NAME/$DOCKER_REGISTRY_USERNAME/$APP_NAME \
+# -Ddocker-plugin.serverId=docker-registry \
+# -Ddocker.registryUrl=$DOCKER_REGISTRY_URL
+# - cd ../../..
+#
+#