This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a commit to branch add-deployment-environments
in repository https://gitbox.apache.org/repos/asf/airflow-publish.git
The following commit(s) were added to refs/heads/add-deployment-environments by
this push:
new ebb0c23 Add PyPI environment to providers release workflow
ebb0c23 is described below
commit ebb0c2319dfd4f5b27949877d76da33f81a1de5d
Author: Pavan Kumar <[email protected]>
AuthorDate: Fri May 16 18:26:52 2025 +0100
Add PyPI environment to providers release workflow
---
.asf.yaml | 10 ++++++++++
.github/workflows/test-pypi-providers-publish.yml | 3 +++
.gitignore | 6 +++++-
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml b/.asf.yaml
index a5e7eec..5c35571 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -61,6 +61,16 @@ github:
required_approving_review_count: 1
required_linear_history: true
required_conversation_resolution: true
+ environments:
+ test-pypi:
+ required_reviewers:
+ - id: potiuk
+ type: User
+ - id: gopidesupavan
+ type: User
+ wait_timer: 5
+ deployment_branch_policy:
+ protected_branches: true
# collaborators:
# # Max 10 collaborators allowed
# #
https://github.com/apache/infrastructure-asfyaml/blob/main/README.md#assigning-the-github-triage-role-to-external-collaborators
diff --git a/.github/workflows/test-pypi-providers-publish.yml
b/.github/workflows/test-pypi-providers-publish.yml
index 5b6753d..f9fc913 100644
--- a/.github/workflows/test-pypi-providers-publish.yml
+++ b/.github/workflows/test-pypi-providers-publish.yml
@@ -112,6 +112,9 @@ jobs:
publish-to-pypi:
name: Publish svn packages to PyPI
runs-on: ubuntu-20.04
+ environment:
+ name: test-pypi
+ url: https://test.pypi.org/
if: inputs.mode == 'RELEASE' && success()
needs:
- release-checks
diff --git a/.gitignore b/.gitignore
index 905938d..3ccac4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,6 @@
__pycache__/
-*./__pycache__/.*
\ No newline at end of file
+*./__pycache__/.*
+.idea
+.idea/*
+.ven/
+*.egg-info
\ No newline at end of file