diff options
author | Maxim Yurchuk <maxim-yurchuk@ydb.tech> | 2024-09-24 14:34:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 14:34:00 +0300 |
commit | c3b03b685895db6d2187dde06feb9afd4ee1c201 (patch) | |
tree | 9be90e5748cebe72cebcfca76c765b726177e515 /.github | |
parent | ea324a378cb0fc1175e72bf185a8fe631ce069eb (diff) | |
download | ydb-c3b03b685895db6d2187dde06feb9afd4ee1c201.tar.gz |
Add upload for nightly build (#9662)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/nightly_build.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 6273888b28..673e375ee5 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -31,7 +31,7 @@ jobs: uses: ./.github/actions/build_and_test_ya with: build_preset: ${{ matrix.build_preset }} - build_target: "ydb/appd/ydbd" + build_target: "ydb/apps/ydbd" increment: false run_tests: false put_build_results_to_cache: false @@ -39,3 +39,16 @@ jobs: secrets.TESTMO_TOKEN2, secrets.AWS_KEY_ID, secrets.AWS_KEY_VALUE, secrets.REMOTE_CACHE_USERNAME, secrets.REMOTE_CACHE_PASSWORD ) }} vars: ${{ format('{{"AWS_BUCKET":"{0}","AWS_ENDPOINT":"{1}","REMOTE_CACHE_URL":"{2}","TESTMO_URL":"{3}","TESTMO_PROJECT_ID":"{4}"}}', vars.AWS_BUCKET, vars.AWS_ENDPOINT, vars.REMOTE_CACHE_URL_YA, vars.TESTMO_URL, vars.TESTMO_PROJECT_ID ) }} + - name: Setup s3cmd + uses: ./.github/actions/s3cmd + with: + s3_bucket: "ydb-builds" + s3_endpoint: ${{ vars.AWS_ENDPOINT }} + s3_key_id: ${{ secrets.AWS_KEY_ID }} + s3_key_secret: ${{ secrets.AWS_KEY_VALUE }} + + - name: sync results to s3 and publish links + shell: bash + run: | + set -x + s3cmd sync --follow-symlinks --acl-public --no-progress --stats --no-check-md5 "ydb/apps/ydbd/ydbd" "s3://ydb-builds/${{ github.ref_name }}/${{ matrix.build_preset }}/ydbd" -d
\ No newline at end of file |