Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waiting on feedback #15893

Merged
merged 3 commits into from
Dec 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,27 @@ jobs:
waiting:
# TODO: replace with back signal from build images/ loop checking for a specific branch?
runs-on: ubuntu-20.04
needs: signaling
needs: [release-version, signaling]
env:
TAG: ${{ needs.release-version.outputs.tag }}
timeout-minutes: 90
steps:
- name: Delay releasing
uses: juliangruber/sleep-action@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
time: 30m
python-version: 3.8
- run: pip install gitpython
- name: Delay releasing
run: |
import git, os, time
repo = git.Repo('.')
branch = f"origin/builds/{os.getenv('TAG')}"
while True:
remote_refs = [b.name for b in repo.remote().refs]
if branch in remote_refs:
break
time.sleep(60)
shell: python

pre-publish-packages:
runs-on: ubuntu-20.04
Expand Down