mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-550 Disable release job
- disable release job - enable DockerHub login in init.sh script - enable DockerHub image push in the release jobs
This commit is contained in:
@@ -235,6 +235,7 @@ jobs:
|
|||||||
# TODO enable job
|
# TODO enable job
|
||||||
- name: "Push to Nexus"
|
- name: "Push to Nexus"
|
||||||
stage: release
|
stage: release
|
||||||
|
if: false
|
||||||
before_script: bash scripts/travis/verify_release_tag.sh
|
before_script: bash scripts/travis/verify_release_tag.sh
|
||||||
script: travis_wait 40 bash scripts/travis/maven_release.sh
|
script: travis_wait 40 bash scripts/travis/maven_release.sh
|
||||||
|
|
||||||
|
@@ -189,16 +189,15 @@
|
|||||||
</build>
|
</build>
|
||||||
</image>
|
</image>
|
||||||
<!-- DockerHub image -->
|
<!-- DockerHub image -->
|
||||||
<!-- todo enable when the dockerhub credentials are set on the project -->
|
<image>
|
||||||
<!-- <image>-->
|
<name>${image.name}:${image.tag}</name>
|
||||||
<!-- <name>${image.name}:${image.tag}</name>-->
|
<build>
|
||||||
<!-- <build>-->
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||||
<!-- <dockerFileDir>${project.basedir}/</dockerFileDir>-->
|
<buildOptions>
|
||||||
<!-- <buildOptions>-->
|
<squash>true</squash>
|
||||||
<!-- <squash>true</squash>-->
|
</buildOptions>
|
||||||
<!-- </buildOptions>-->
|
</build>
|
||||||
<!-- </build>-->
|
</image>
|
||||||
<!-- </image>-->
|
|
||||||
</images>
|
</images>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
@@ -238,16 +237,15 @@
|
|||||||
</build>
|
</build>
|
||||||
</image>
|
</image>
|
||||||
<!-- DockerHub image -->
|
<!-- DockerHub image -->
|
||||||
<!-- todo enable when the dockerhub credentials are set on the project -->
|
<image>
|
||||||
<!-- <image>-->
|
<name>${image.name}:${project.version}</name>
|
||||||
<!-- <name>${image.name}:${project.version}</name>-->
|
<build>
|
||||||
<!-- <build>-->
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||||
<!-- <dockerFileDir>${project.basedir}/</dockerFileDir>-->
|
<buildOptions>
|
||||||
<!-- <buildOptions>-->
|
<squash>true</squash>
|
||||||
<!-- <squash>true</squash>-->
|
</buildOptions>
|
||||||
<!-- </buildOptions>-->
|
</build>
|
||||||
<!-- </build>-->
|
</image>
|
||||||
<!-- </image>-->
|
|
||||||
</images>
|
</images>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
@@ -7,8 +7,7 @@ mkdir -p "${HOME}/.m2" && cp -f .travis.settings.xml "${HOME}/.m2/settings.xml"
|
|||||||
find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
|
find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
|
||||||
|
|
||||||
# Docker Logins
|
# Docker Logins
|
||||||
# todo enable when the dockerhub credentials are set on the project
|
echo "${DOCKERHUB_USERNAME}" | docker login -u="${DOCKERHUB_PASSWORD}" --password-stdin
|
||||||
#echo "${DOCKERHUB_USERNAME}" | docker login -u="${DOCKERHUB_PASSWORD}" --password-stdin
|
|
||||||
echo "${QUAY_PASSWORD}" | docker login -u="${QUAY_USERNAME}" --password-stdin quay.io
|
echo "${QUAY_PASSWORD}" | docker login -u="${QUAY_USERNAME}" --password-stdin quay.io
|
||||||
|
|
||||||
# Enable experimental docker features (for the image squash option)
|
# Enable experimental docker features (for the image squash option)
|
||||||
|
Reference in New Issue
Block a user