Skip to content

Commit

Permalink
Allow to upload/download experimental channel (#549)
Browse files Browse the repository at this point in the history
It is aimed to allow snapshot packages in staging.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
  • Loading branch information
kenhys authored Jul 26, 2023
1 parent c30a6cd commit a0717b6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions fluent-package/manage-fluent-repositories.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ case $COMMAND in
fi
for target in $TARGETS; do
case $FLUENT_RELEASE_DIR in
*test/experimental/lts)
command="aws s3 sync $DRYRUN_OPTION --delete $FLUENT_RELEASE_DIR/5/$target s3://packages.treasuredata.com/test/experimental/lts/5/$target --profile $FLUENT_RELEASE_PROFILE"
;;
*test/experimental)
command="aws s3 sync $DRYRUN_OPTION --delete $FLUENT_RELEASE_DIR/5/$target s3://packages.treasuredata.com/test/experimental/5/$target --profile $FLUENT_RELEASE_PROFILE"
;;
*lts)
command="aws s3 sync $DRYRUN_OPTION --delete $FLUENT_RELEASE_DIR/5/$target s3://packages.treasuredata.com/lts/5/$target --profile $FLUENT_RELEASE_PROFILE"
;;
Expand All @@ -90,6 +96,12 @@ case $COMMAND in
fi
for target in $VERSIONS; do
case $FLUENT_RELEASE_DIR in
*test/experimental/lts)
command="aws s3 sync $DRYRUN_OPTION --delete s3://packages.treasuredata.com/test/experimental/lts/$target $FLUENT_RELEASE_DIR/$target --profile $FLUENT_RELEASE_PROFILE"
;;
*test/experimental)
command="aws s3 sync $DRYRUN_OPTION --delete s3://packages.treasuredata.com/test/experimental/$target $FLUENT_RELEASE_DIR/$target --profile $FLUENT_RELEASE_PROFILE"
;;
*lts)
command="aws s3 sync $DRYRUN_OPTION --delete s3://packages.treasuredata.com/lts/$target $FLUENT_RELEASE_DIR/$target --profile $FLUENT_RELEASE_PROFILE"
;;
Expand Down

0 comments on commit a0717b6

Please sign in to comment.