Skip to content

Commit

Permalink
fix testing for supporting event-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-codefresh committed Aug 27, 2024
1 parent 3bec928 commit d996fc0
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/configs/ct-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ charts:
- charts/argo-cd
chart-repos:
- dandydeveloper=https://dandydeveloper.github.io/charts/
helm-extra-args: "--timeout 600s"
helm-extra-args: "--timeout 600s"
validate-chart-schema: false
validate-maintainers: true
validate-yaml: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ jobs:
- name: Run chart-testing (install)
run: ct install --config ./.github/configs/ct-install.yaml --target-branch ${{ github.base_ref }}
if: steps.list-changed.outputs.changed == 'true'
if: steps.list-changed.outputs.changed == 'true'
20 changes: 16 additions & 4 deletions charts/argo-cd/ci/default-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@
crds:
keep: false

# these tests only support vanilla argo-cd
# do not work for event reporter component
eventReporter:
enabled: false
# needed for correct work of event reporter component
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: argocd-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
- apiVersion: v1
kind: Secret
metadata:
name: codefresh-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
17 changes: 15 additions & 2 deletions charts/argo-cd/ci/dynamic-sharding-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,18 @@ controller:

# these tests only support vanilla argo-cd
# do not work for event reporter component
eventReporter:
enabled: false
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: argocd-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
- apiVersion: v1
kind: Secret
metadata:
name: codefresh-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
20 changes: 16 additions & 4 deletions charts/argo-cd/ci/extension-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@ server:
- name: EXTENSION_CHECKSUM_URL
value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension_checksums.txt

# these tests only support vanilla argo-cd
# do not work for event reporter component
eventReporter:
enabled: false
# needed for correct work of event reporter component
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: argocd-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
- apiVersion: v1
kind: Secret
metadata:
name: codefresh-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
20 changes: 16 additions & 4 deletions charts/argo-cd/ci/external-redis-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ externalRedis:
host: "redis-master.redis.svc.cluster.local"
password: "argocd"

# these tests only support vanilla argo-cd
# do not work for event reporter component
eventReporter:
enabled: false
# needed for correct work of event reporter component
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: argocd-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
- apiVersion: v1
kind: Secret
metadata:
name: codefresh-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
20 changes: 16 additions & 4 deletions charts/argo-cd/ci/ha-autoscaling-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@ repoServer:
enabled: true
minReplicas: 2

# these tests only support vanilla argo-cd
# do not work for event reporter component
eventReporter:
enabled: false
# needed for correct work of event reporter component
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: argocd-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
- apiVersion: v1
kind: Secret
metadata:
name: codefresh-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
20 changes: 16 additions & 4 deletions charts/argo-cd/ci/ha-static-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ server:
repoServer:
replicas: 2

# these tests only support vanilla argo-cd
# do not work for event reporter component
eventReporter:
enabled: false
# needed for correct work of event reporter component
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: argocd-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
- apiVersion: v1
kind: Secret
metadata:
name: codefresh-token
type: Opaque
data:
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password

0 comments on commit d996fc0

Please sign in to comment.