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
a790a907
Commit
a790a907
authored
Jan 15, 2021
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix homebrew tap repo update
See gh-24677
parent
dc76aa31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
pipeline.yml
ci/pipeline.yml
+3
-4
update-homebrew-tap.sh
ci/scripts/update-homebrew-tap.sh
+3
-3
update-homebrew-tap.yml
ci/tasks/update-homebrew-tap.yml
+1
-1
No files found.
ci/pipeline.yml
View file @
a790a907
...
...
@@ -629,7 +629,7 @@ jobs:
plan
:
-
get
:
ci-image
-
get
:
git-repo
resource
:
homebrew-tap-repo
-
get
:
homebrew-tap-repo
-
get
:
artifactory-repo
passed
:
[
sync-to-maven-central
]
params
:
...
...
@@ -640,10 +640,9 @@ jobs:
file
:
git-repo/ci/tasks/update-homebrew-tap.yml
params
:
LATEST_GA
:
true
-
put
:
git-repo
resource
:
homebrew-tap-repo
-
put
:
homebrew-tap-repo
params
:
repository
:
updated-repo
repository
:
updated-
homebrew-tap-
repo
groups
:
-
name
:
"
builds"
jobs
:
[
"
build"
,
"
jdk11-build"
,
"
jdk15-build"
,
"
windows-build"
]
...
...
ci/scripts/update-homebrew-tap.sh
View file @
a790a907
...
...
@@ -3,10 +3,10 @@ set -e
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
pushd
updated-repo
>
/dev/null
pushd
updated-
homebrew-tap-
repo
>
/dev/null
cd
homebrew-tap
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
...
...
@@ -17,4 +17,4 @@ pushd updated-repo > /dev/null
git commit
-m
"Upgrade to Spring Boot
${
version
}
"
>
/dev/null
echo
"DONE"
popd
>
/dev/null
fi
\ No newline at end of file
fi
ci/tasks/update-homebrew-tap.yml
View file @
a790a907
...
...
@@ -4,7 +4,7 @@ inputs:
-
name
:
git-repo
-
name
:
artifactory-repo
outputs
:
-
name
:
updated-repo
-
name
:
updated-
homebrew-tap-
repo
params
:
LATEST_GA
:
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