Commit 44171af6c2 for freeswitch.com
commit 44171af6c275f662a79bb857cf2bf4156fe69630
Author: s3rj1k <evasive.gyron@gmail.com>
Date: Tue Dec 1 10:39:07 2026 +0000
[GHA] Move build data and source tarball storage from Teleport to GCS
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f979fe3a52..aec506813d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -201,7 +201,7 @@ jobs:
contents: read
uses: signalwire/actions-template/.github/workflows/meta-repo-content.yml@main
with:
- META_CONTENT: "/var/www/freeswitch/public/{release,unstable}/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}"
+ META_CONTENT: "gs://gcs-prod-us-central1-ci-packages-1/freeswitch/public/{release,unstable}/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}"
META_REPO: signalwire/bamboo_gha_trigger
META_REPO_BRANCH: trigger/freeswitch/${{ github.ref_name }}
secrets:
diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml
index 7bba42693b..bdf994f467 100644
--- a/.github/workflows/tarball.yml
+++ b/.github/workflows/tarball.yml
@@ -34,8 +34,9 @@ jobs:
ref: main
fetch-depth: 1
path: actions
+ persist-credentials: false
sparse-checkout: |
- .github/actions/teleport/action.yml
+ .github/actions/rclone-s3-sync/action.yml
sparse-checkout-cone-mode: false
- name: Install dependencies
@@ -77,18 +78,17 @@ jobs:
run: |
tar -tvzf source_archives.tar.gz
- - name: Upload source tarball to remote host
+ - name: Upload source tarball to GCS
if: github.event_name != 'workflow_dispatch'
- uses: ./actions/.github/actions/teleport
+ uses: ./actions/.github/actions/rclone-s3-sync
with:
- EXEC_COMMANDS_PRE: 'mkdir -p /var/www/freeswitch/public/release/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}'
- FILES: 'source_archives.tar.gz'
- FILES_FOLDER: '/var/www/freeswitch/public/release/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}'
- env:
- HOSTNAME: ${{ secrets.HOSTNAME }}
- PROXY_URL: ${{ secrets.PROXY_URL }}
- TOKEN: ${{ secrets.TELEPORT_TOKEN }}
- USERNAME: ${{ secrets.USERNAME }}
+ SRC: 'source_archives.tar.gz'
+ DST: 'freeswitch/public/release/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}/source_archives.tar.gz'
+ SYNC_TYPE: local-to-remote
+ OPERATION: copyto
+ S3_PROVIDER: gcs-oidc
+ S3_BUCKET: gcs-prod-us-central1-ci-packages-1
+ GCS_WORKLOAD_IDENTITY_PROVIDER: projects/560294807735/locations/global/workloadIdentityPools/github/providers/infrastructure-lives
- name: Upload source tarball as artifact
if: github.event_name == 'workflow_dispatch'