Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
edcc31e
chore: add support pymsteams-workflow for msteams-notifier
vadim-kharin-codefresh Jun 19, 2026
4ad911b
Vendored pymsteams-workflow to avoid module name collision and update…
vitalii-codefresh Jun 23, 2026
899b3fa
Merge branch 'master' into CF-141
vitalii-codefresh Jun 23, 2026
47c6fce
Added support for Power Automate workflows; updated documentation and…
vitalii-codefresh Jun 23, 2026
4762d0c
Merge remote-tracking branch 'origin/CF-141' into CF-141
vitalii-codefresh Jun 23, 2026
2ed7f72
Validate and sanitize `MSTEAMS_WORKFLOW_URL` to handle common misconf…
vitalii-codefresh Jun 23, 2026
f8ef3bb
Bump version to 1.1.0 and add support for Power Automate workflows; u…
vitalii-codefresh Jul 1, 2026
a12f96d
Make `MSTEAMS_WEBHOOK_URL` optional; add fields for Power Automate wo…
vitalii-codefresh Jul 1, 2026
7af4611
Validate `MSTEAMS_WEBHOOK_URL` to ensure it is set before creating Te…
vitalii-codefresh Jul 2, 2026
e36bc80
Set default value for `MSTEAMS_WEBHOOK_URL` to an empty string and va…
vitalii-codefresh Jul 2, 2026
5abb6d8
Handle unset `MSTEAMS_WEBHOOK_URL` more gracefully by printing an err…
vitalii-codefresh Jul 2, 2026
48c151f
Make `MSTEAMS_WEBHOOK_URL` optional, set default to empty string, and…
vitalii-codefresh Jul 2, 2026
b16ac68
Merge remote-tracking branch 'origin/master'
vitalii-codefresh Nov 9, 2026
f918660
Merge remote-tracking branch 'origin/master'
vitalii-codefresh Nov 13, 2026
7b4c3a7
bump python, fixed APP_NAMESPACE env perception
vitalii-codefresh Nov 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions graduated/gitops-argocd-sync/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Changelog
## [1.5.1] - 2026-11-13
### Fixed
- Rebase the image on Python 3.14.10 (GA). The previous base, 3.13.0a5, was an alpha build
- Pin all Python dependencies, including anyio. Unpinned anyio 4.11+ crashed on import under 3.13.0a5
- Update certifi to 2026.10.23 and refresh requests, urllib3, idna and the other pins
- Fix NameError on start (undefined NAMESPACE) and the get_app_status query variable, both from 1.5.0
- Default IMAGE_TAG to 1.5.1, so APP_NAMESPACE is no longer ignored by the 1.4.5 image

## [1.5.0] - 2025-01-29
### Changed
- Add APP_NAMESPACE option (supported from app-proxy v1.2600.1)
Expand Down
4 changes: 2 additions & 2 deletions graduated/gitops-argocd-sync/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.13.0a5-bookworm
FROM python:3.14.10-slim-trixie


# USER codefresh
RUN useradd -d /home/codefresh -m -s /usr/bin/bash codefresh
USER codefresh
WORKDIR /home/codefresh

ENV PYTHONPATH /home/codefresh/.local/lib/python3.13/site-packages/
ENV PYTHONPATH=/home/codefresh/.local/lib/python3.14/site-packages/

COPY --chown=codefresh requirements.txt requirements.txt
RUN pip3 install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions graduated/gitops-argocd-sync/argocd_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main():

logging.debug("RUNTIME: %s", RUNTIME)
logging.debug("APPLICATION: %s", APPLICATION)
logging.debug("NAMESPACE: %s", NAMESPACE)
logging.debug("APP_NAMESPACE: %s", APP_NAMESPACE)
logging.debug("WAIT: %s", WAIT_HEALTHY)
logging.debug("INTERVAL: %d", INTERVAL)
logging.debug("MAX CHECKS: %s", MAX_CHECKS)
Expand Down Expand Up @@ -361,7 +361,7 @@ def application_autosync(ingress_host):
logging.debug("Application Sync policy result: %s", err)
sys.exit(1)

logging.debug("App sync Policy: ", result['applicationProxyQuery']['spec']['syncPolicy']['automated'])
logging.debug("App sync Policy: %s", result['applicationProxyQuery']['spec']['syncPolicy']['automated'])
if result['applicationProxyQuery']['spec']['syncPolicy']['automated'] == None:
return False
else:
Expand Down
4 changes: 2 additions & 2 deletions graduated/gitops-argocd-sync/queries/get_app_status.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
query appstatus ($name: String!, $applicationNamespace: String) {
query appstatus ($applicationName: String!, $applicationNamespace: String) {
applicationProxyQuery(
name: $name,
name: $applicationName,
appNamespace: $applicationNamespace
){
metadata {
Expand Down
21 changes: 12 additions & 9 deletions graduated/gitops-argocd-sync/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
anyio==4.16.0
backoff==2.2.1
certifi==2024.2.2
charset-normalizer==3.3.2
gql==3.5.0
graphql-core==3.2.3
idna==3.6
multidict==6.0.5
requests==2.31.0
certifi==2026.10.23
charset-normalizer==3.5.2
gql==3.5.3
graphql-core==3.2.6
idna==3.20
multidict==7.2.1
propcache==0.5.4
requests==2.34.2
requests-toolbelt==1.0.0
urllib3==2.2.1
yarl==1.9.4
typing_extensions==4.16.0
urllib3==2.8.0
yarl==1.25.1
4 changes: 2 additions & 2 deletions graduated/gitops-argocd-sync/step.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: step-type
metadata:
name: gitops-argocd-sync
version: 1.5.0
version: 1.5.1
isPublic: true
description: Syncs Argo CD apps managed by our GitOps Runtimes
sources:
Expand Down Expand Up @@ -125,7 +125,7 @@ spec:
},
"IMAGE_TAG": {
"type": "string",
"default": "1.4.5",
"default": "1.5.1",
"description": "OPTIONAL - To overwrite the tag to use"
}
}
Expand Down
Loading