Skip to content

Commit c635233

Browse files
author
Irakli Mchedlishvili
committed
remove more jenkins
1 parent 5974ae5 commit c635233

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.travis.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ HELM_VERSION="${HELM_VERSION:-v3.5.2}"
99

1010
if [ "${1}" == "install" ]; then
1111
! docker pull viderum/ckan-cloud-operator:latest && echo Failed to pull image && exit 1
12-
# ! docker pull viderum/ckan-cloud-operator:jnlp-latest && echo Failed to pull jnlp image && exit 1
1312
echo Great Success! && exit 0
1413

1514
elif [ "${1}" == "install-tools" ]; then
@@ -111,26 +110,11 @@ elif [ "${1}" == "deploy" ]; then
111110
echo && echo "viderum/ckan-cloud-operator:${TAG}" && echo &&\
112111
docker push "viderum/ckan-cloud-operator:${TAG}"
113112
[ "$?" != "0" ] && echo Failed to tag and push && exit 1
114-
docker tag ckan-cloud-operator-jnlp "viderum/ckan-cloud-operator:jnlp-${TAG}" &&\
115-
echo && echo "viderum/ckan-cloud-operator:jnlp-${TAG}" && echo &&\
116-
docker push "viderum/ckan-cloud-operator:jnlp-${TAG}"
117-
[ "$?" != "0" ] && echo Failed to tag and push jnlp image && exit 1
118113
if [ "${GITHUB_REF}" == "master" ]; then
119114
docker tag ckan-cloud-operator viderum/ckan-cloud-operator:latest &&\
120115
echo && echo viderum/ckan-cloud-operator:latest && echo &&\
121116
docker push viderum/ckan-cloud-operator:latest
122117
[ "$?" != "0" ] && echo Failed to tag and push latest image && exit 1
123-
docker tag ckan-cloud-operator-jnlp viderum/ckan-cloud-operator:jnlp-latest &&\
124-
echo && echo viderum/ckan-cloud-operator:jnlp-latest && echo &&\
125-
docker push viderum/ckan-cloud-operator:jnlp-latest
126-
[ "$?" != "0" ] && echo Failed to tag and push jnlp latest image && exit 1
127-
fi
128-
if [ "${TRAVIS_TAG}" != "" ]; then
129-
export DEPLOY_JNLP_IMAGE="viderum/ckan-cloud-operator:jnlp-${TAG}"
130-
echo "Running Jenkins deploy jnlp job (JNLP_IMAGE=${DEPLOY_JNLP_IMAGE})"
131-
STATUS_CODE=$(curl -X POST "${JENKINS_JNLP_DEPLOY_URL}" --user "${JENKINS_USER}:${JENKINS_TOKEN}" --data "JNLP_IMAGE=${DEPLOY_JNLP_IMAGE}" -s -o /dev/stderr -w "%{http_code}")
132-
echo "jenkins jnlp deploy job status code: ${STATUS_CODE}"
133-
[ "${STATUS_CODE}" != "200" ] && [ "${STATUS_CODE}" != "201" ] && echo Deploy failed && exit 1
134118
fi
135119
echo Great Success! && exit 0
136120

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.2.1
1+
v1.2.2

0 commit comments

Comments
 (0)