You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/02/14 20:42:01 UTC

[streampipes] branch rel/0.91.0 updated (1312087bb -> 11a6f28d9)

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a change to branch rel/0.91.0
in repository https://gitbox.apache.org/repos/asf/streampipes.git


    from 1312087bb [#1245] provide a temporary workaround for inconsistency in eventGrounding (#1250)
     new af029d21e Add pypi workflow
     new 11a6f28d9 Change token name

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../{pr-labeler.yml => pypi-deployment.yml}        | 47 ++++++++++++++--------
 1 file changed, 30 insertions(+), 17 deletions(-)
 copy .github/workflows/{pr-labeler.yml => pypi-deployment.yml} (52%)


[streampipes] 02/02: Change token name

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch rel/0.91.0
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 11a6f28d95058b7ab81f5c83903aee4c62b42ce4
Author: Sven Oehler <oe...@web.de>
AuthorDate: Mon Feb 13 16:57:34 2023 +0100

    Change token name
---
 .github/workflows/pypi-deployment.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pypi-deployment.yml b/.github/workflows/pypi-deployment.yml
index a34b836e8..9703d426c 100644
--- a/.github/workflows/pypi-deployment.yml
+++ b/.github/workflows/pypi-deployment.yml
@@ -47,4 +47,4 @@ jobs:
         uses: pypa/gh-action-pypi-publish@release/v1
         with:
           user: __token__
-          password: ${{ secrets.PYPI_API_TOKEN }}
\ No newline at end of file
+          password: ${{ secrets.PYPI_TOKEN }}
\ No newline at end of file


[streampipes] 01/02: Add pypi workflow

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch rel/0.91.0
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit af029d21ef32a620f29b3e98a7cddf94fd7e8efa
Author: Sven Oehler <oe...@web.de>
AuthorDate: Mon Feb 13 13:25:24 2023 +0100

    Add pypi workflow
---
 .github/workflows/pypi-deployment.yml | 50 +++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/.github/workflows/pypi-deployment.yml b/.github/workflows/pypi-deployment.yml
new file mode 100644
index 000000000..a34b836e8
--- /dev/null
+++ b/.github/workflows/pypi-deployment.yml
@@ -0,0 +1,50 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+name: Deploy Python Package to PyPI
+
+on: [workflow_dispatch]
+
+permissions:
+  contents: read
+
+jobs:
+  deploy:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+
+      - name: Set up Python
+        uses: actions/setup-python@v4
+        with:
+          python-version: 3.8
+
+      - name: Install dependencies
+        run: |
+          cd ./streampipes-client-python
+          python -m pip install --upgrade pip 
+          pip install build twine
+
+      - name: Build package
+        run: |
+          cd ./streampipes-client-python
+          python -m build
+          twine check --strict dist/*
+
+      - name: Publish package
+        uses: pypa/gh-action-pypi-publish@release/v1
+        with:
+          user: __token__
+          password: ${{ secrets.PYPI_API_TOKEN }}
\ No newline at end of file