Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rook
Commits
bcdc66a0
Commit
bcdc66a0
authored
7 years ago
by
Bassam Tabbara
Committed by
GitHub
7 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #917 from bassam/pr-fix-charts-backport
build: fix chart merging
parents
525ef0bc
1f5e35a8
release-0.5
v0.5.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/release/Makefile
+6
-5
build/release/Makefile
with
6 additions
and
5 deletions
+6
-5
build/release/Makefile
+
6
-
5
View file @
bcdc66a0
...
...
@@ -64,7 +64,8 @@ IMAGE_PLATFORMS := $(subst _,/,$(subst $(SPACE),$(COMMA),$(filter linux_%,$(PLAT
S3_BUCKET
?=
rook-release
S3_CP
:=
aws s3
cp
--only-show-errors
S3_SYNC
:=
aws s3
sync
--only-show-errors
--delete
S3_SYNC
:=
aws s3
sync
--only-show-errors
S3_SYNC_DEL
:=
aws s3
sync
--only-show-errors
--delete
# ====================================================================================
# tools
...
...
@@ -136,17 +137,17 @@ promote.helm:
@$(S3_SYNC) s3
:
//$(HELM_S3_BUCKET)/$(CHANNEL) $(HELM_TEMP)
@
$(S3_SYNC)
s3://
$(S3_BUCKET)
/build/
$(BRANCH_NAME)
/
$(VERSION)
/charts
$(HELM_TEMP)
@
$(HELM)
repo index
--url
$(HELM_URL)
$(HELM_TEMP)
@
$(S3_SYNC)
$(HELM_TEMP)
s3://
$(HELM_S3_BUCKET)
/
$(CHANNEL)
@
$(S3_SYNC
_DEL
)
$(HELM_TEMP)
s3://
$(HELM_S3_BUCKET)
/
$(CHANNEL)
@
rm
-fr
$(HELM_TEMP)
# ====================================================================================
# output
publish.output
:
@
$(S3_SYNC)
$(OUTPUT_DIR)
s3://
$(S3_BUCKET)
/build/
$(BRANCH_NAME)
/
$(VERSION)
@
$(S3_SYNC
_DEL
)
$(OUTPUT_DIR)
s3://
$(S3_BUCKET)
/build/
$(BRANCH_NAME)
/
$(VERSION)
promote.output
:
@
$(S3_SYNC)
s3://
$(S3_BUCKET)
/build/
$(BRANCH_NAME)
/
$(VERSION)
s3://
$(S3_BUCKET)
/
$(CHANNEL)
/
$(VERSION)
@
$(S3_SYNC)
s3://
$(S3_BUCKET)
/build/
$(BRANCH_NAME)
/
$(VERSION)
s3://
$(S3_BUCKET)
/
$(CHANNEL)
/current
@
$(S3_SYNC
_DEL
)
s3://
$(S3_BUCKET)
/build/
$(BRANCH_NAME)
/
$(VERSION)
s3://
$(S3_BUCKET)
/
$(CHANNEL)
/
$(VERSION)
@
$(S3_SYNC
_DEL
)
s3://
$(S3_BUCKET)
/build/
$(BRANCH_NAME)
/
$(VERSION)
s3://
$(S3_BUCKET)
/
$(CHANNEL)
/current
# ====================================================================================
# images
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help