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
33c1a050
Commit
33c1a050
authored
Jan 15, 2021
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.4.x'
parents
f3719b99
909f7170
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
pipeline.yml
ci/pipeline.yml
+3
-4
update-homebrew-tap.sh
ci/scripts/update-homebrew-tap.sh
+4
-5
update-homebrew-tap.yml
ci/tasks/update-homebrew-tap.yml
+2
-1
No files found.
ci/pipeline.yml
View file @
33c1a050
...
@@ -629,7 +629,7 @@ jobs:
...
@@ -629,7 +629,7 @@ jobs:
plan
:
plan
:
-
get
:
ci-image
-
get
:
ci-image
-
get
:
git-repo
-
get
:
git-repo
resource
:
homebrew-tap-repo
-
get
:
homebrew-tap-repo
-
get
:
artifactory-repo
-
get
:
artifactory-repo
passed
:
[
sync-to-maven-central
]
passed
:
[
sync-to-maven-central
]
params
:
params
:
...
@@ -640,10 +640,9 @@ jobs:
...
@@ -640,10 +640,9 @@ jobs:
file
:
git-repo/ci/tasks/update-homebrew-tap.yml
file
:
git-repo/ci/tasks/update-homebrew-tap.yml
params
:
params
:
LATEST_GA
:
false
LATEST_GA
:
false
-
put
:
git-repo
-
put
:
homebrew-tap-repo
resource
:
homebrew-tap-repo
params
:
params
:
repository
:
updated-repo
repository
:
updated-
homebrew-tap-
repo
groups
:
groups
:
-
name
:
"
builds"
-
name
:
"
builds"
jobs
:
[
"
build"
,
"
jdk11-build"
,
"
jdk15-build"
,
"
windows-build"
]
jobs
:
[
"
build"
,
"
jdk11-build"
,
"
jdk15-build"
,
"
windows-build"
]
...
...
ci/scripts/update-homebrew-tap.sh
View file @
33c1a050
...
@@ -3,12 +3,11 @@ set -e
...
@@ -3,12 +3,11 @@ set -e
version
=
$(
cat
artifactory-repo/build-info.json | jq
-r
'.buildInfo.modules[0].id'
|
sed
's/.*:.*:\(.*\)/\1/'
)
version
=
$(
cat
artifactory-repo/build-info.json | jq
-r
'.buildInfo.modules[0].id'
|
sed
's/.*:.*:\(.*\)/\1/'
)
git clone
git-repo updated
-repo
>
/dev/null
git clone
homebrew-tap-repo updated-homebrew-tap
-repo
>
/dev/null
if
[[
$LATEST_GA
=
true
]]
;
then
if
[[
$LATEST_GA
=
true
]]
;
then
pushd
updated-repo
>
/dev/null
pushd
updated-homebrew-tap-repo
>
/dev/null
cd
homebrew-tap
curl https://repo.spring.io/libs-release-local/org/springframework/boot/spring-boot-cli/
${
version
}
/spring-boot-cli-
${
version
}
-homebrew
.rb
--output
spring-boot-cli-
${
version
}
-homebrew
.rb
wget https://repo.spring.io/libs-release-local/org/springframework/boot/spring-boot-cli/
${
version
}
/spring-boot-cli-
${
version
}
-homebrew
.rb
rm
spring-boot.rb
rm
spring-boot.rb
mv
spring-boot-cli-
*
.rb spring-boot.rb
mv
spring-boot-cli-
*
.rb spring-boot.rb
git config user.name
"Spring Buildmaster"
>
/dev/null
git config user.name
"Spring Buildmaster"
>
/dev/null
...
@@ -17,4 +16,4 @@ pushd updated-repo > /dev/null
...
@@ -17,4 +16,4 @@ pushd updated-repo > /dev/null
git commit
-m
"Upgrade to Spring Boot
${
version
}
"
>
/dev/null
git commit
-m
"Upgrade to Spring Boot
${
version
}
"
>
/dev/null
echo
"DONE"
echo
"DONE"
popd
>
/dev/null
popd
>
/dev/null
fi
fi
\ No newline at end of file
ci/tasks/update-homebrew-tap.yml
View file @
33c1a050
...
@@ -2,9 +2,10 @@
...
@@ -2,9 +2,10 @@
platform
:
linux
platform
:
linux
inputs
:
inputs
:
-
name
:
git-repo
-
name
:
git-repo
-
name
:
homebrew-tap-repo
-
name
:
artifactory-repo
-
name
:
artifactory-repo
outputs
:
outputs
:
-
name
:
updated-repo
-
name
:
updated-
homebrew-tap-
repo
params
:
params
:
LATEST_GA
:
LATEST_GA
:
run
:
run
:
...
...
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