Skip to content

Commit 0eae81c

Browse files
committed
bump py sdk 1.2.0
1 parent 0a72fb1 commit 0eae81c

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

.github/workflows/zhook.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,27 @@ jobs:
2323
- name: Checkout
2424
uses: actions/checkout@v4
2525

26-
# - name: Run Python Script Directly
27-
# if: |
28-
# github.repository_owner == 'openziti'
29-
# && ((github.event_name != 'pull_request_review')
30-
# || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved'))
31-
# env:
32-
# INPUT_ZITIID: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
33-
# INPUT_WEBHOOKURL: ${{ secrets.ZHOOK_URL }}
34-
# INPUT_EVENTJSON: ${{ toJson(github.event) }}
35-
# INPUT_SENDERUSERNAME: GitHubZ
36-
# INPUT_DESTCHANNEL: dev-notifications
37-
# INPUT_SENDERICONURL: https://github.com/fluidicon.png
38-
# ZITI_LOG: 6
39-
# TLSUV_DEBUG: 6
40-
# shell: bash
41-
# run: |
42-
# set -o pipefail
43-
# set -o xtrace
44-
# pip install --user --upgrade requests openziti==1.0.0
45-
# echo "DEBUG: PYTHONPATH=${PYTHONPATH:-}"
46-
# python ./zhook.py
26+
- name: Run Python Script Directly
27+
if: |
28+
github.repository_owner == 'openziti'
29+
&& ((github.event_name != 'pull_request_review')
30+
|| (github.event_name == 'pull_request_review' && github.event.review.state == 'approved'))
31+
env:
32+
INPUT_ZITIID: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
33+
INPUT_WEBHOOKURL: ${{ secrets.ZHOOK_URL }}
34+
INPUT_EVENTJSON: ${{ toJson(github.event) }}
35+
INPUT_SENDERUSERNAME: GitHubZ
36+
INPUT_DESTCHANNEL: dev-notifications
37+
INPUT_SENDERICONURL: https://github.com/fluidicon.png
38+
ZITI_LOG: 6
39+
TLSUV_DEBUG: 6
40+
shell: bash
41+
run: |
42+
set -o pipefail
43+
set -o xtrace
44+
pip install --user --upgrade requests openziti==1.2.0
45+
echo "DEBUG: PYTHONPATH=${PYTHONPATH:-}"
46+
python ./zhook.py
4747
4848
- uses: ./
4949
name: Run as a GH Action from the Local Checkout

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3-slim AS builder
22

3-
RUN pip install --target=/app requests openziti==1.1.0
3+
RUN pip install --target=/app requests openziti==1.2.0
44

55
# https://github.com/GoogleContainerTools/distroless
66
FROM gcr.io/distroless/python3-debian12

0 commit comments

Comments
 (0)