Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
242e6b99
Commit
242e6b99
authored
Mar 20, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.1.x' into 2.2.x
Closes gh-20587
parents
833f0a1d
4eb393ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
detect-ubuntu-image-updates.sh
ci/scripts/detect-ubuntu-image-updates.sh
+1
-1
No files found.
ci/scripts/detect-ubuntu-image-updates.sh
View file @
242e6b99
...
...
@@ -3,7 +3,7 @@
ISSUE_TITLE
=
"Upgrade Ubuntu version in CI images"
ubuntu
=
"bionic"
latest
=
$(
curl
-s
"https://
partner-images.canonical.com/core/
$ubuntu
/current/unpacked/build-info.txt"
|
awk
'{split($0, parts, "=
"); print parts[2]}'
)
latest
=
$(
curl
-s
"https://
hub.docker.com/v2/repositories/library/ubuntu/tags/?page_size=1&page=1&name=
$ubuntu
"
| jq
-c
-r
'.results[0].name'
|
awk
'{split($0, parts, "-
"); print parts[2]}'
)
current
=
$(
grep
"ubuntu:
$ubuntu
"
git-repo/ci/images/spring-boot-ci-image/Dockerfile |
awk
'{split($0, parts, "-"); print parts[2]}'
)
if
[[
$current
=
$latest
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment