Skip to content

Commit

Permalink
Disable deploy for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Mar 27, 2024
1 parent 2000a05 commit 8bbdfb3
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/MacOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,28 +52,28 @@ jobs:
# run: |
# make test_release_stock_duckdb DUCKDB_VERSION=${{ matrix.duckdb_version }}

- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.S3_DEPLOY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_DEPLOY_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.S3_REGION }}
BUCKET_NAME: ${{ secrets.S3_BUCKET }}
run: |
cd duckdb-pgq
git fetch --tags
export DUCKDB_VERSION=`git tag --points-at HEAD`
echo $DUCKDB_VERSION
export DUCKDB_VERSION=${DUCKDB_VERSION:=`git log -1 --format=%h`}
echo $DUCKDB_VERSION
cd ..
if [[ "$AWS_ACCESS_KEY_ID" == "" ]] ; then
echo 'No key set, skipping'
elif [[ "$GITHUB_REF" =~ ^(refs/tags/v.+)$ ]] ; then
python -m pip install awscli
./scripts/extension-upload.sh duckpgq ${{ github.ref_name }} $DUCKDB_VERSION osx_amd64 $BUCKET_NAME true
./scripts/extension-upload.sh duckpgq ${{ github.ref_name }} $DUCKDB_VERSION osx_arm64 $BUCKET_NAME true
elif [[ "$GITHUB_REF" =~ ^(refs/heads/main)$ ]] ; then
python -m pip install awscli
./scripts/extension-upload.sh duckpgq `git log -1 --format=%h` $DUCKDB_VERSION osx_amd64 $BUCKET_NAME false
./scripts/extension-upload.sh duckpgq `git log -1 --format=%h` $DUCKDB_VERSION osx_arm64 $BUCKET_NAME false
fi
# - name: Deploy
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.S3_DEPLOY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_DEPLOY_KEY }}
# AWS_DEFAULT_REGION: ${{ secrets.S3_REGION }}
# BUCKET_NAME: ${{ secrets.S3_BUCKET }}
# run: |
# cd duckdb-pgq
# git fetch --tags
# export DUCKDB_VERSION=`git tag --points-at HEAD`
# echo $DUCKDB_VERSION
# export DUCKDB_VERSION=${DUCKDB_VERSION:=`git log -1 --format=%h`}
# echo $DUCKDB_VERSION
# cd ..
# if [[ "$AWS_ACCESS_KEY_ID" == "" ]] ; then
# echo 'No key set, skipping'
# elif [[ "$GITHUB_REF" =~ ^(refs/tags/v.+)$ ]] ; then
# python -m pip install awscli
# ./scripts/extension-upload.sh duckpgq ${{ github.ref_name }} $DUCKDB_VERSION osx_amd64 $BUCKET_NAME true
# ./scripts/extension-upload.sh duckpgq ${{ github.ref_name }} $DUCKDB_VERSION osx_arm64 $BUCKET_NAME true
# elif [[ "$GITHUB_REF" =~ ^(refs/heads/main)$ ]] ; then
# python -m pip install awscli
# ./scripts/extension-upload.sh duckpgq `git log -1 --format=%h` $DUCKDB_VERSION osx_amd64 $BUCKET_NAME false
# ./scripts/extension-upload.sh duckpgq `git log -1 --format=%h` $DUCKDB_VERSION osx_arm64 $BUCKET_NAME false
# fi

0 comments on commit 8bbdfb3

Please sign in to comment.