Skip to content

Commit 56ecd9b

Browse files
committed
[GHA] GCP Backup upload working
1 parent 11a83a8 commit 56ecd9b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/scripts/copy-from-s3-to-gcp.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ file_name=${s3_url%/}
66
file_name=${file_name##*/}
77

88
# Download from S3 then upload to GCP
9-
dir=s3_download_$file_name
9+
dir="s3_download_${file_name}"
1010
mkdir $dir
1111
aws s3 cp $s3_url ./$dir --recursive --no-progress
1212
ls $dir

.github/workflows/backup-eclipse-releases-to-gcp.yml

-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ jobs:
3636
.github/scripts
3737
- name: Test
3838
run: |
39-
echo "Test single file upload"
40-
mkdir contents
41-
echo "Test file" > ./contents/test.txt
42-
gcloud storage cp ./contents gs://gcp-test-spring-io/test.txt --recursive
43-
4439
url_path=spring-tools/release/STS4/vscode/vscode-spring-boot-1.55.0-RC.1.vsix
4540
${{ github.workspace }}/.github/scripts/copy-from-s3-to-gcp.sh s3://$AWS_S3_BUCKET/$url_path gs://gcp-test-spring-io/$url_path
4641
# - name: Download from S3, Upload to GCP

0 commit comments

Comments
 (0)