Skip to content

Commit

Permalink
CI: Remove waiting logic in release workflow (#20050)
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli authored Jul 5, 2024
1 parent 330af38 commit 3730e98
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/1_bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ body:
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
#- Running environment of LightningApp (e.g. local, cloud):
```
</details>
Expand Down
30 changes: 1 addition & 29 deletions .github/workflows/release-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,34 +130,6 @@ jobs:
ethanwharris
borda
waiting:
runs-on: ubuntu-22.04
needs: [release-version, signaling]
env:
TAG: ${{ needs.release-version.outputs.tag }}
# due to PR process this may take longer
timeout-minutes: 180
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VER }}
- 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]
print([n for n in remote_refs if "builds" in n])
if branch in remote_refs:
break
time.sleep(60)
for remote in repo.remotes:
remote.fetch()
shell: python

pre-publish-packages:
runs-on: ubuntu-22.04
needs: build-packages
Expand Down Expand Up @@ -185,7 +157,7 @@ jobs:

publish-packages:
runs-on: ubuntu-22.04
needs: [build-packages, waiting]
needs: [build-packages]
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
strategy:
fail-fast: false
Expand Down
6 changes: 0 additions & 6 deletions requirements/store/test.txt

This file was deleted.

0 comments on commit 3730e98

Please sign in to comment.