Skip to content

feat(tests): additional manifests for e2e webhook tests - #378

Merged
vrivellino merged 2 commits into
mainfrom
feat/e2e-webhooks-manifests
Oct 11, 2026
Merged

vrivellino merged 2 commits into
mainfrom
feat/e2e-webhooks-manifests

Conversation

@vrivellino

Copy link
Copy Markdown
Contributor

These manifests will be deployed by a simple ArgoCD application and will be utilized to perform end-to-end validations of webhooks from Github (and Gitlab)

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Argo-Diff - Ephemeral Environment Test

4 of 4 apps with changes compared to live state
4:50PM UTC, 11 Oct 2026

Note

This argo-diff should have the same output every run

Application Changed Sync Health
any-ns-deployment 1 ✅ Synced 💚 Healthy
basic-deployment 2 ✅ Synced 💚 Healthy
meta 1 ✅ Synced 💚 Healthy
helm-deployment 2 ✅ Synced 💚 Healthy

any-ns-deployment · 1 changed · ✅ Synced · 💚 Healthy
apps/Deployment any-ns-deployment/test · +5 −1
--- /tmp/argocd-diff1010703134/test-live.yaml	2026-10-11 16:50:05.097361220 +0000
+++ /tmp/argocd-diff1010703134/test	2026-10-11 16:50:05.097361220 +0000
@@ -5,6 +5,8 @@
     argocd.argoproj.io/tracking-id: apps_any-ns-deployment:apps/Deployment:any-ns-deployment/test
     deployment.kubernetes.io/revision: "1"
   generation: 1
+  labels:
+    app.kubernetes.io/name: argo-diff-any-ns-test
   managedFields:
   - apiVersion: apps/v1
     fieldsType: FieldsV1
@@ -75,6 +77,7 @@
   selector:
     matchLabels:
       app: test
+      app.kubernetes.io/name: argo-diff-any-ns-test
   strategy:
     rollingUpdate:
       maxSurge: 25%
@@ -84,12 +87,13 @@
     metadata:
       labels:
         app: test
+        app.kubernetes.io/name: argo-diff-any-ns-test
     spec:
       containers:
       - command:
         - sh
         - -c
-        - while true ; do sleep 1; done
+        - while true ; do sleep 2; done
         image: busybox:latest
         imagePullPolicy: Always
         name: test

basic-deployment · 2 changed · ✅ Synced · 💚 Healthy
ConfigMap basic-deployment/config-env · +1 −1
--- /tmp/argocd-diff359616748/config-env-live.yaml	2026-10-11 16:50:05.109361247 +0000
+++ /tmp/argocd-diff359616748/config-env	2026-10-11 16:50:05.108361245 +0000
@@ -1,6 +1,6 @@
 apiVersion: v1
 data:
-  HELLO_WORLD: test string
+  HELLO_WORLD: another test string
   TZ: America/New_York
 kind: ConfigMap
 metadata:
apps/Deployment basic-deployment/test · +5 −1
--- /tmp/argocd-diff567980126/test-live.yaml	2026-10-11 16:50:05.114361258 +0000
+++ /tmp/argocd-diff567980126/test	2026-10-11 16:50:05.113361256 +0000
@@ -5,6 +5,8 @@
     argocd.argoproj.io/tracking-id: basic-deployment:apps/Deployment:basic-deployment/test
     deployment.kubernetes.io/revision: "1"
   generation: 1
+  labels:
+    app.kubernetes.io/name: argo-diff-test
   managedFields:
   - apiVersion: apps/v1
     fieldsType: FieldsV1
@@ -77,6 +79,7 @@
   selector:
     matchLabels:
       app: test
+      app.kubernetes.io/name: argo-diff-test
   strategy:
     rollingUpdate:
       maxSurge: 25%
@@ -86,12 +89,13 @@
     metadata:
       labels:
         app: test
+        app.kubernetes.io/name: argo-diff-test
     spec:
       containers:
       - command:
         - sh
         - -c
-        - while true ; do sleep 1; done
+        - while true ; do sleep 2; done
         envFrom:
         - configMapRef:
             name: config-env

meta · 1 changed · ✅ Synced · 💚 Healthy
argoproj.io/Application argocd/helm-deployment · +2 −2
--- /tmp/argocd-diff1269055529/helm-deployment-live.yaml	2026-10-11 16:50:05.093361211 +0000
+++ /tmp/argocd-diff1269055529/helm-deployment	2026-10-11 16:50:05.092361209 +0000
@@ -143,10 +143,10 @@
       - $values/test/helm-deployment.values.yaml
     path: charts/test-basic-deployment
     repoURL: https://github.com/vince-riv/argo-diff.git
-    targetRevision: k3s-test
+    targetRevision: main
   - ref: values
     repoURL: https://github.com/vince-riv/argo-diff.git
-    targetRevision: k3s-test
+    targetRevision: main
   syncPolicy:
     automated:
       prune: true

helm-deployment · 2 changed · ✅ Synced · 💚 Healthy
ConfigMap helm-deployment/config-env · +1 −1
--- /tmp/argocd-diff1221091345/config-env-live.yaml	2026-10-11 16:50:05.399361905 +0000
+++ /tmp/argocd-diff1221091345/config-env	2026-10-11 16:50:05.399361905 +0000
@@ -1,6 +1,6 @@
 apiVersion: v1
 data:
-  HELLO_WORLD: test string
+  HELLO_WORLD: another test string
   TZ: America/New_York
 kind: ConfigMap
 metadata:
apps/Deployment helm-deployment/test · +2 −2
--- /tmp/argocd-diff193611553/test-live.yaml	2026-10-11 16:50:05.403361914 +0000
+++ /tmp/argocd-diff193611553/test	2026-10-11 16:50:05.403361914 +0000
@@ -87,7 +87,7 @@
   uid: 7f1342a4-5a24-47d7-9cef-272f786ea985
 spec:
   progressDeadlineSeconds: 600
-  replicas: 1
+  replicas: 2
   revisionHistoryLimit: 10
   selector:
     matchLabels:
@@ -116,7 +116,7 @@
             name: config-env
         - secretRef:
             name: test-secret
-        image: busybox:latest@sha256:dc2d74b28e4cf8984fa52af1f39bc7c3d9c73760b41a74d629f5d11b1ab28616
+        image: busybox:latest@sha256:fd7dc98638c8e305f4dc34e979f1c0fdfdcaeb0fbf8fcff77ae834b6da3d7e6e
         imagePullPolicy: IfNotPresent
         name: test
         resources: {}

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Argo-Diff - Ephemeral Environment Test

1 of 2 apps with changes compared to live state
4:50PM UTC, 11 Oct 2026

Note

This argo-diff should have the same output every run

Application Changed Sync Health
any-ns-deployment 1 ✅ Synced 💚 Healthy
broken-deployment ❗ ❓ Unknown 💚 Healthy

any-ns-deployment · 1 changed · ✅ Synced · 💚 Healthy
apps/Deployment any-ns-deployment/test · +5 −1
--- /tmp/argocd-diff3630272315/test-live.yaml	2026-10-11 16:50:10.800884123 +0000
+++ /tmp/argocd-diff3630272315/test	2026-10-11 16:50:10.800884123 +0000
@@ -5,6 +5,8 @@
     argocd.argoproj.io/tracking-id: apps_any-ns-deployment:apps/Deployment:any-ns-deployment/test
     deployment.kubernetes.io/revision: "1"
   generation: 1
+  labels:
+    app.kubernetes.io/name: argo-diff-any-ns-test
   managedFields:
   - apiVersion: apps/v1
     fieldsType: FieldsV1
@@ -75,6 +77,7 @@
   selector:
     matchLabels:
       app: test
+      app.kubernetes.io/name: argo-diff-any-ns-test
   strategy:
     rollingUpdate:
       maxSurge: 25%
@@ -84,12 +87,13 @@
     metadata:
       labels:
         app: test
+        app.kubernetes.io/name: argo-diff-any-ns-test
     spec:
       containers:
       - command:
         - sh
         - -c
-        - while true ; do sleep 1; done
+        - while true ; do sleep 2; done
         image: busybox:latest
         imagePullPolicy: Always
         name: test

Caution

broken-deployment - diff failed, so no manifests are shown. ❓ Unknown · 💚 Healthy

Failed to diff application broken-deployment: app diff broken-deployment --app-namespace argocd --revision ac0f5915edff946ed4cb5e8d8441de85f5406c93: exit status 20: {"level":"fatal","msg":"rpc error: code = Unknown desc = test/does-not-exist: app path does not exist","time":"2026-10-11T16:50:10Z"}

@vrivellino
vrivellino merged commit f30d8f9 into main Oct 11, 2026
6 checks passed
@vrivellino
vrivellino deleted the feat/e2e-webhooks-manifests branch October 11, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant