Skip to content

Commit

Permalink
Drop java 13 docker builds (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
gheine authored Mar 6, 2024
1 parent aa109db commit 4e5debe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 128 deletions.
23 changes: 0 additions & 23 deletions Dockerfile-play-13

This file was deleted.

47 changes: 0 additions & 47 deletions Dockerfile-play-builder-13

This file was deleted.

58 changes: 0 additions & 58 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -300,35 +300,6 @@ pipeline {
}
}

stage('Upgrade docker play java 13') {
when { branch 'main' }
agent {
kubernetes {
label 'docker-play-13'
inheritFrom 'kaniko-slim'
}
}
steps {
script {
withAWS(roleAccount: '479720515435', role: 'jenkins-build') {
sh """curl -O https://cdn.flow.io/util/environment-provider/environment-provider-version.txt"""
sh """curl -O https://cdn.flow.io/util/environment-provider/environment-provider.jar"""
}
}
container('kaniko') {
script {
semver = VERSION.printable()
env.JAVAVERSION = "13"
sh """/kaniko/executor -f `pwd`/Dockerfile-play-${JAVAVERSION} -c `pwd` \
--snapshot-mode=redo --use-new-run \
--destination flowdocker/play:$semver-java${JAVAVERSION} \
--destination flowdocker/play:latest-java${JAVAVERSION}
"""
}
}
}
}

stage('Upgrade docker play java 17') {
when { branch 'main' }
agent {
Expand Down Expand Up @@ -358,35 +329,6 @@ pipeline {
}
}

stage('Upgrade docker play builder java 13') {
when { branch 'main' }
agent {
kubernetes {
label 'docker-play-builder-13'
inheritFrom 'kaniko-slim'
}
}
steps {
container('kaniko') {
script {
withCredentials([usernamePassword(credentialsId: 'jenkins-x-github', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]){
semver = VERSION.printable()
env.JAVAVERSION = "13"
env.SBT_VERSION = "1.9.8"
sh """/kaniko/executor -f `pwd`/Dockerfile-play-builder-${JAVAVERSION} -c `pwd` \
--snapshot-mode=redo --use-new-run \
--build-arg SBT_VERSION=${SBT_VERSION} \
--build-arg GIT_PASSWORD=$GIT_PASSWORD \
--build-arg GIT_USERNAME=$GIT_USERNAME \
--destination flowdocker/play_builder:$semver-java${JAVAVERSION} \
--destination flowdocker/play_builder:latest-java${JAVAVERSION}
"""
}
}
}
}
}

stage('Upgrade docker play builder java 17') {
when { branch 'main' }
agent {
Expand Down

0 comments on commit 4e5debe

Please sign in to comment.