From a53bf754dcc7e0c0c1fad75723092500a9fcc2e4 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 14:50:59 +0530 Subject: [PATCH 01/11] Testing source build --- .semaphore/semaphore.yml | 394 ++++++++++++++++++++------------------- 1 file changed, 207 insertions(+), 187 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index aaae6aebc..24550f08f 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -14,203 +14,221 @@ global_job_config: - checkout - mkdir artifacts blocks: - - name: "Wheels: OSX x64" - run: - when: "tag =~ '.*'" - dependencies: [] - task: - agent: - machine: - type: s1-prod-macos-13-5-amd64 - env_vars: - - name: OS_NAME - value: osx - - name: ARCH - value: x64 - jobs: - - name: Build - commands: - - PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse - - tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse - - artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/ - - name: "Wheels: OSX arm64" - run: - when: "tag =~ '.*'" - dependencies: [] - task: - agent: - machine: - type: s1-prod-macos-13-5-arm64 - env_vars: - - name: OS_NAME - value: osx - - name: CIBW_ARCHS - value: arm64 - - name: ARCH - value: arm64 - jobs: - - name: Build - commands: - - PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse - - tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse - - artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/ - - name: "Wheels: Linux arm64" - run: - when: "tag =~ '.*'" + - name: "Source Build" + # run: + # when: "tag =~ '.*'" dependencies: [] task: agent: machine: type: s1-prod-ubuntu20-04-arm64-1 - env_vars: - - name: OS_NAME - value: linux - - name: ARCH - value: arm64 - jobs: - - name: Build - commands: - - ./tools/build-manylinux.sh "${LIBRDKAFKA_VERSION#v}" - - tar -czf wheelhouse-linux-${ARCH}.tgz wheelhouse - - artifact push workflow wheelhouse-linux-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/ - - name: "Wheels: Linux x64" - run: - when: "tag =~ '.*'" - dependencies: [] - task: - agent: - machine: - type: s1-prod-ubuntu20-04-amd64-3 - env_vars: - - name: OS_NAME - value: linux - - name: ARCH - value: x64 - jobs: - - name: Build - commands: - - ./tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse - - tar -czf wheelhouse-linux-${ARCH}.tgz wheelhouse - - artifact push workflow wheelhouse-linux-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/ - - name: "Wheels: Windows" - run: - when: "tag =~ '.*'" - dependencies: [] - task: - agent: - machine: - type: s1-prod-windows - env_vars: - - name: OS_NAME - value: windows - - name: ARCH - value: x64 - prologue: - commands: - - ".\\tools\\mingw-w64\\setup-msys2.ps1" - - $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH - - bash -lc './tools/mingw-w64/msys2-dependencies.sh' - jobs: - - name: Build - env_vars: - - name: CHERE_INVOKING - value: 'yes' - - name: MSYSTEM - value: UCRT64 - commands: - - bash tools/mingw-w64/semaphore_commands.sh - - bash tools/wheels/install-librdkafka.sh $env:LIBRDKAFKA_VERSION.TrimStart("v") dest - - tools/wheels/build-wheels.bat x64 win_amd64 dest wheelhouse - - tar -czf wheelhouse-windows-${Env:ARCH}.tgz wheelhouse - - artifact push workflow wheelhouse-windows-${Env:ARCH}.tgz --destination artifacts/wheels-${Env:OS_NAME}-${Env:ARCH}.tgz/ - - name: "Source package verification and Integration tests with Python 3 (Linux x64)" - dependencies: [] - task: - agent: - machine: - type: s1-prod-ubuntu20-04-amd64-2 - env_vars: - - name: OS_NAME - value: linux - - name: ARCH - value: x64 - prologue: - commands: - - '[[ -z $DOCKERHUB_APIKEY ]] || docker login --username $DOCKERHUB_USER --password $DOCKERHUB_APIKEY' - jobs: - - name: Build - commands: - - sem-version python 3.8 - # use a virtualenv - - python3 -m venv _venv && source _venv/bin/activate - - chmod u+r+x tools/source-package-verification.sh - - tools/source-package-verification.sh - - name: "Source package verification with Python 3 (Linux arm64)" - dependencies: [] - task: - agent: - machine: - type: s1-prod-ubuntu20-04-arm64-1 - env_vars: - - name: OS_NAME - value: linux - - name: ARCH - value: arm64 - jobs: - - name: Build - commands: - - sem-version python 3.8 - # use a virtualenv - - python3 -m venv _venv && source _venv/bin/activate - - chmod u+r+x tools/source-package-verification.sh - - tools/source-package-verification.sh - - name: "Source package verification with Python 3 (OSX x64) +docs" - dependencies: [] - task: - agent: - machine: - type: s1-prod-macos-13-5-amd64 - env_vars: - - name: OS_NAME - value: osx - - name: ARCH - value: x64 - jobs: - - name: Build - commands: - - sem-version python 3.8 - # use a virtualenv - - python3 -m venv _venv && source _venv/bin/activate - - chmod u+r+x tools/source-package-verification.sh - - tools/source-package-verification.sh - - name: "Source package verification with Python 3 (OSX arm64) +docs" - dependencies: [] - task: - agent: - machine: - type: s1-prod-macos-13-5-arm64 - env_vars: - - name: OS_NAME - value: osx - - name: ARCH - value: arm64 jobs: - name: Build commands: - - sem-version python 3.8 - # use a virtualenv - - python3 -m venv _venv && source _venv/bin/activate - - chmod u+r+x tools/source-package-verification.sh - - tools/source-package-verification.sh + - ls -al build + - rm -rf build + - ls -al dist + - rm -rf dist + - python setup.py sdist + - artifact push workflow dist/*.tar.gz --destination artifacts/ + # - name: "Wheels: OSX x64" + # run: + # when: "tag =~ '.*'" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-macos-13-5-amd64 + # env_vars: + # - name: OS_NAME + # value: osx + # - name: ARCH + # value: x64 + # jobs: + # - name: Build + # commands: + # - PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse + # - tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse + # - artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/ + # - name: "Wheels: OSX arm64" + # run: + # when: "tag =~ '.*'" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-macos-13-5-arm64 + # env_vars: + # - name: OS_NAME + # value: osx + # - name: CIBW_ARCHS + # value: arm64 + # - name: ARCH + # value: arm64 + # jobs: + # - name: Build + # commands: + # - PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse + # - tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse + # - artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/ + # - name: "Wheels: Linux arm64" + # run: + # when: "tag =~ '.*'" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-ubuntu20-04-arm64-1 + # env_vars: + # - name: OS_NAME + # value: linux + # - name: ARCH + # value: arm64 + # jobs: + # - name: Build + # commands: + # - ./tools/build-manylinux.sh "${LIBRDKAFKA_VERSION#v}" + # - tar -czf wheelhouse-linux-${ARCH}.tgz wheelhouse + # - artifact push workflow wheelhouse-linux-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/ + # - name: "Wheels: Linux x64" + # run: + # when: "tag =~ '.*'" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-ubuntu20-04-amd64-3 + # env_vars: + # - name: OS_NAME + # value: linux + # - name: ARCH + # value: x64 + # jobs: + # - name: Build + # commands: + # - ./tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse + # - tar -czf wheelhouse-linux-${ARCH}.tgz wheelhouse + # - artifact push workflow wheelhouse-linux-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/ + # - name: "Wheels: Windows" + # run: + # when: "tag =~ '.*'" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-windows + # env_vars: + # - name: OS_NAME + # value: windows + # - name: ARCH + # value: x64 + # prologue: + # commands: + # - ".\\tools\\mingw-w64\\setup-msys2.ps1" + # - $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH + # - bash -lc './tools/mingw-w64/msys2-dependencies.sh' + # jobs: + # - name: Build + # env_vars: + # - name: CHERE_INVOKING + # value: 'yes' + # - name: MSYSTEM + # value: UCRT64 + # commands: + # - bash tools/mingw-w64/semaphore_commands.sh + # - bash tools/wheels/install-librdkafka.sh $env:LIBRDKAFKA_VERSION.TrimStart("v") dest + # - tools/wheels/build-wheels.bat x64 win_amd64 dest wheelhouse + # - tar -czf wheelhouse-windows-${Env:ARCH}.tgz wheelhouse + # - artifact push workflow wheelhouse-windows-${Env:ARCH}.tgz --destination artifacts/wheels-${Env:OS_NAME}-${Env:ARCH}.tgz/ + # - name: "Source package verification and Integration tests with Python 3 (Linux x64)" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-ubuntu20-04-amd64-2 + # env_vars: + # - name: OS_NAME + # value: linux + # - name: ARCH + # value: x64 + # prologue: + # commands: + # - '[[ -z $DOCKERHUB_APIKEY ]] || docker login --username $DOCKERHUB_USER --password $DOCKERHUB_APIKEY' + # jobs: + # - name: Build + # commands: + # - sem-version python 3.8 + # # use a virtualenv + # - python3 -m venv _venv && source _venv/bin/activate + # - chmod u+r+x tools/source-package-verification.sh + # - tools/source-package-verification.sh + # - name: "Source package verification with Python 3 (Linux arm64)" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-ubuntu20-04-arm64-1 + # env_vars: + # - name: OS_NAME + # value: linux + # - name: ARCH + # value: arm64 + # jobs: + # - name: Build + # commands: + # - sem-version python 3.8 + # # use a virtualenv + # - python3 -m venv _venv && source _venv/bin/activate + # - chmod u+r+x tools/source-package-verification.sh + # - tools/source-package-verification.sh + # - name: "Source package verification with Python 3 (OSX x64) +docs" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-macos-13-5-amd64 + # env_vars: + # - name: OS_NAME + # value: osx + # - name: ARCH + # value: x64 + # jobs: + # - name: Build + # commands: + # - sem-version python 3.8 + # # use a virtualenv + # - python3 -m venv _venv && source _venv/bin/activate + # - chmod u+r+x tools/source-package-verification.sh + # - tools/source-package-verification.sh + # - name: "Source package verification with Python 3 (OSX arm64) +docs" + # dependencies: [] + # task: + # agent: + # machine: + # type: s1-prod-macos-13-5-arm64 + # env_vars: + # - name: OS_NAME + # value: osx + # - name: ARCH + # value: arm64 + # jobs: + # - name: Build + # commands: + # - sem-version python 3.8 + # # use a virtualenv + # - python3 -m venv _venv && source _venv/bin/activate + # - chmod u+r+x tools/source-package-verification.sh + # - tools/source-package-verification.sh - name: "Packaging" - run: - when: "tag =~ '.*'" + # run: + # when: "tag =~ '.*'" dependencies: - - "Wheels: OSX x64" - - "Wheels: OSX arm64" - - "Wheels: Linux arm64" - - "Wheels: Linux x64" - - "Wheels: Windows" + # - "Wheels: OSX x64" + # - "Wheels: OSX arm64" + # - "Wheels: Linux arm64" + # - "Wheels: Linux x64" + # - "Wheels: Windows" + - "Source Build" task: agent: machine: @@ -221,6 +239,8 @@ blocks: - artifact pull workflow artifacts - cd artifacts - ls *.tgz |xargs -n1 tar -xvf + - ls *.tar.gz + - mv *.tar.gz wheelhouse/ - tar cvf confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz wheelhouse/ - ls -la - sha256sum confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz From d9e5f2eb5356fa0343264a7fbcd87616ce292b61 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 14:55:41 +0530 Subject: [PATCH 02/11] Added current branch in whitelist for running CI --- .semaphore/project.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.semaphore/project.yml b/.semaphore/project.yml index 0c1c2f3f9..043e8b2dd 100644 --- a/.semaphore/project.yml +++ b/.semaphore/project.yml @@ -28,6 +28,7 @@ spec: - main - /^v\d+\.\d+\.x$/ - /^gh-readonly-queue.*/ + - dev_release-through-ci custom_permissions: true debug_permissions: - empty From 5e8a5a19472706ffecbd79fdb28e57d45692a1f7 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:01:12 +0530 Subject: [PATCH 03/11] Updated script --- .semaphore/semaphore.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 24550f08f..5adcc3e79 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -25,10 +25,6 @@ blocks: jobs: - name: Build commands: - - ls -al build - - rm -rf build - - ls -al dist - - rm -rf dist - python setup.py sdist - artifact push workflow dist/*.tar.gz --destination artifacts/ # - name: "Wheels: OSX x64" From f1ddb536603ec6c1983748d435bb908c9842b904 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:26:41 +0530 Subject: [PATCH 04/11] Removed destination --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 5adcc3e79..6eb48d67a 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -26,7 +26,7 @@ blocks: - name: Build commands: - python setup.py sdist - - artifact push workflow dist/*.tar.gz --destination artifacts/ + - artifact push workflow dist/*.tar.gz # - name: "Wheels: OSX x64" # run: # when: "tag =~ '.*'" From ea299026419210d72cc6738c21d765bc53e3c6a1 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:28:26 +0530 Subject: [PATCH 05/11] Removed destination --- .semaphore/semaphore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 6eb48d67a..db14d6fbc 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -234,8 +234,8 @@ blocks: commands: - artifact pull workflow artifacts - cd artifacts - - ls *.tgz |xargs -n1 tar -xvf - - ls *.tar.gz + # - ls *.tgz |xargs -n1 tar -xvf + - ls -la - mv *.tar.gz wheelhouse/ - tar cvf confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz wheelhouse/ - ls -la From 56427e324d50951c74d88ad6f57aea4b63bcb3fb Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:30:21 +0530 Subject: [PATCH 06/11] debug --- .semaphore/semaphore.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index db14d6fbc..c024611b6 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -26,6 +26,7 @@ blocks: - name: Build commands: - python setup.py sdist + - ls -al - artifact push workflow dist/*.tar.gz # - name: "Wheels: OSX x64" # run: From 74c4a4e55df9bc2c5a62da79f49c40b8e1318e08 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:35:40 +0530 Subject: [PATCH 07/11] debug --- .semaphore/semaphore.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index c024611b6..6fde56914 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -27,7 +27,7 @@ blocks: commands: - python setup.py sdist - ls -al - - artifact push workflow dist/*.tar.gz + - artifact push workflow dist/*.tar.gz --destination artifacts/source.tgz/ # - name: "Wheels: OSX x64" # run: # when: "tag =~ '.*'" @@ -235,9 +235,9 @@ blocks: commands: - artifact pull workflow artifacts - cd artifacts - # - ls *.tgz |xargs -n1 tar -xvf + - ls *.tgz |xargs -n1 tar -xvf - ls -la - - mv *.tar.gz wheelhouse/ + - mv confluent-kafka-python*.tar.gz wheelhouse/ - tar cvf confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz wheelhouse/ - ls -la - sha256sum confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz From 866fe16d13a115dae07998565102c4cbe8315a55 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:38:38 +0530 Subject: [PATCH 08/11] Debug --- .semaphore/semaphore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 6fde56914..c5ece1812 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -27,7 +27,7 @@ blocks: commands: - python setup.py sdist - ls -al - - artifact push workflow dist/*.tar.gz --destination artifacts/source.tgz/ + - artifact push workflow dist/*.tar.gz --destination artifacts/source.tar.gz/ # - name: "Wheels: OSX x64" # run: # when: "tag =~ '.*'" @@ -237,7 +237,7 @@ blocks: - cd artifacts - ls *.tgz |xargs -n1 tar -xvf - ls -la - - mv confluent-kafka-python*.tar.gz wheelhouse/ + - mv *.tar.gz wheelhouse/ - tar cvf confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz wheelhouse/ - ls -la - sha256sum confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz From f9779f42ddfcf0dfd46f9cf79edfbe041751ba85 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:43:11 +0530 Subject: [PATCH 09/11] Not running wheels task --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index c5ece1812..6d4e18e40 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -235,7 +235,7 @@ blocks: commands: - artifact pull workflow artifacts - cd artifacts - - ls *.tgz |xargs -n1 tar -xvf + # - ls *.tgz |xargs -n1 tar -xvf - ls -la - mv *.tar.gz wheelhouse/ - tar cvf confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz wheelhouse/ From 07b991ddee85e0bb1c0543a0f45daac09d133fbd Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:50:49 +0530 Subject: [PATCH 10/11] Debug --- .semaphore/semaphore.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 6d4e18e40..ac0a6e985 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -27,7 +27,7 @@ blocks: commands: - python setup.py sdist - ls -al - - artifact push workflow dist/*.tar.gz --destination artifacts/source.tar.gz/ + - artifact push workflow dist/*.tar.gz --destination artifacts # - name: "Wheels: OSX x64" # run: # when: "tag =~ '.*'" @@ -236,6 +236,7 @@ blocks: - artifact pull workflow artifacts - cd artifacts # - ls *.tgz |xargs -n1 tar -xvf + - mkdir wheelhouse - ls -la - mv *.tar.gz wheelhouse/ - tar cvf confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz wheelhouse/ From db635ccba6f9dcefd1abbaabe28d0bf2d5c2ae81 Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Thu, 4 Jul 2024 16:00:23 +0530 Subject: [PATCH 11/11] Debug --- .semaphore/semaphore.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index ac0a6e985..79684e76e 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -26,8 +26,10 @@ blocks: - name: Build commands: - python setup.py sdist - - ls -al - - artifact push workflow dist/*.tar.gz --destination artifacts + - cd dist + - export SOURCE_BUILD_FILENAME=`ls *.tar.gz` + - cd .. + - artifact push workflow dist/${SOURCE_BUILD_FILENAME} --destination artifacts/${SOURCE_BUILD_FILENAME} # - name: "Wheels: OSX x64" # run: # when: "tag =~ '.*'"