aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/upload-file-s3.yml
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-06-19 13:39:42 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-10-24 17:13:02 +0200
commitb63c6e3512077fa452a0736f5bec2169c8bef6cc (patch)
tree986d009eefb254fe7004a2b534f3bc4931db45d0 /.github/workflows/upload-file-s3.yml
parent76a9b0e02a614ec15f4dc771df32de90ab30d779 (diff)
downloadupstream-b63c6e3512077fa452a0736f5bec2169c8bef6cc.tar.gz
upstream-b63c6e3512077fa452a0736f5bec2169c8bef6cc.tar.bz2
upstream-b63c6e3512077fa452a0736f5bec2169c8bef6cc.zip
CI: drop unused reusable workflow and dockerfiles
Drop unused reusable workflow and dockerfiles now that we moved them to a dedicated repository. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 14293dd901e5fdb0fd242945b5916ccbb33ab328)
Diffstat (limited to '.github/workflows/upload-file-s3.yml')
-rw-r--r--.github/workflows/upload-file-s3.yml46
1 files changed, 0 insertions, 46 deletions
diff --git a/.github/workflows/upload-file-s3.yml b/.github/workflows/upload-file-s3.yml
deleted file mode 100644
index 6bcb172468..0000000000
--- a/.github/workflows/upload-file-s3.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-name: Upload File to S3
-
-on:
- workflow_call:
- secrets:
- s3_access_key:
- s3_secret_key:
- inputs:
- endpoint:
- required: true
- type: string
- bucket:
- required: true
- type: string
- download_id:
- required: true
- type: string
- filename:
- required: true
- type: string
-
-jobs:
- upload-file-in-s3:
- name: Upload file in S3
- runs-on: ubuntu-latest
-
- steps:
- - name: Install minio
- run: |
- curl https://dl.min.io/client/mc/release/linux-amd64/mc \
- --create-dirs \
- -o $GITHUB_WORKSPACE/minio-binaries/mc
-
- chmod +x $GITHUB_WORKSPACE/minio-binaries/mc
- echo $GITHUB_WORKSPACE/minio-binaries/ >> $GITHUB_PATH
-
- - name: Setup minio
- run: mc alias set s3 ${{ inputs.endpoint }} ${{ secrets.s3_access_key }} ${{ secrets.s3_secret_key }}
-
- - name: Download file
- uses: actions/download-artifact@v3
- with:
- name: ${{ inputs.download_id }}
-
- - name: Upload file to s3
- run: mc cp ${{ inputs.filename }} s3/${{ inputs.bucket }}/