Skip to content

Commit

Permalink
Fix release job
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Jun 25, 2024
1 parent 33201f6 commit 4a86b14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@

- job:
name: neutron-policy-server-release
parent: python-upload-pypi
pre-run: playbooks/release/pre.yaml
vars:
release_python: python3
parent: neutron-policy-server-build
post-run: playbooks/release/post.yaml
secrets:
- secret: neutron-policy-server-pypi
name: pypi_info
pass-to-parent: true

- project:
merge-mode: squash-merge
Expand Down
5 changes: 5 additions & 0 deletions playbooks/release/post.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- hosts: all
roles:
- role: ensure-twine
- role: upload-pypi
when: zuul_success | bool
3 changes: 0 additions & 3 deletions playbooks/release/pre.yaml

This file was deleted.

0 comments on commit 4a86b14

Please sign in to comment.