Skip to content

Commit

Permalink
Update tests after upgrading common
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaldessari committed Jun 29, 2024
1 parent 0e6579d commit 56c9211
Show file tree
Hide file tree
Showing 7 changed files with 234 additions and 56 deletions.
12 changes: 10 additions & 2 deletions tests/common-acm-industrial-edge-hub.expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -438,10 +438,18 @@ spec:
value: '{{ (split "." (lookup "config.openshift.io/v1" "Ingress" "" "cluster").spec.domain)._1 }}'
- name: global.clusterPlatform
value: aws
- name: clusterGroup.name
value: factory
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.privateRepo
value:
- name: global.experimentalCapabilities
value:
- name: clusterGroup.name
value: factory
- name: clusterGroup.isHubCluster
value: "false"
destination:
Expand Down
12 changes: 10 additions & 2 deletions tests/common-acm-medical-diagnosis-hub.expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,18 @@ spec:
value: '{{ (split "." (lookup "config.openshift.io/v1" "Ingress" "" "cluster").spec.domain)._1 }}'
- name: global.clusterPlatform
value: aws
- name: clusterGroup.name
value: region-one
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.privateRepo
value:
- name: global.experimentalCapabilities
value:
- name: clusterGroup.name
value: region-one
- name: clusterGroup.isHubCluster
value: "false"
destination:
Expand Down
36 changes: 30 additions & 6 deletions tests/common-acm-normal.expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1389,10 +1389,18 @@ spec:
value: '{{ (split "." (lookup "config.openshift.io/v1" "Ingress" "" "cluster").spec.domain)._1 }}'
- name: global.clusterPlatform
value: aws
- name: clusterGroup.name
value: acm-edge
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.privateRepo
value:
- name: global.experimentalCapabilities
value:
- name: clusterGroup.name
value: acm-edge
- name: clusterGroup.isHubCluster
value: "false"
destination:
Expand Down Expand Up @@ -1487,10 +1495,18 @@ spec:
value: '{{ (split "." (lookup "config.openshift.io/v1" "Ingress" "" "cluster").spec.domain)._1 }}'
- name: global.clusterPlatform
value: aws
- name: clusterGroup.name
value: acm-provision-edge
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.privateRepo
value:
- name: global.experimentalCapabilities
value:
- name: clusterGroup.name
value: acm-provision-edge
- name: clusterGroup.isHubCluster
value: "false"
destination:
Expand Down Expand Up @@ -1585,10 +1601,18 @@ spec:
value: '{{ (split "." (lookup "config.openshift.io/v1" "Ingress" "" "cluster").spec.domain)._1 }}'
- name: global.clusterPlatform
value: aws
- name: clusterGroup.name
value: acm-provision-on-deploy
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.privateRepo
value:
- name: global.experimentalCapabilities
value:
- name: clusterGroup.name
value: acm-provision-on-deploy
destination:
server: https://kubernetes.default.svc
namespace: mypattern-acm-provision-on-deploy
Expand Down
10 changes: 8 additions & 2 deletions tests/common-clustergroup-industrial-edge-factory.expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,9 @@ spec:
- "/values-4.12-factory.yaml"
parameters:
- name: global.repoURL
value: $ARGOCD_APP_SOURCE_REPO_URL
value: https://github.com/pattern-clone/mypattern
- name: global.targetRevision
value: $ARGOCD_APP_SOURCE_TARGET_REVISION
value: main
- name: global.namespace
value: $ARGOCD_APP_NAMESPACE
- name: global.pattern
Expand All @@ -662,6 +662,12 @@ spec:
value: "aws"
- name: global.hubClusterDomain
value: apps.hub.example.com
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.localClusterDomain
value: apps.region.example.com
- name: global.privateRepo
Expand Down
70 changes: 56 additions & 14 deletions tests/common-clustergroup-industrial-edge-hub.expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -990,9 +990,9 @@ spec:
- "/values-4.12-datacenter.yaml"
parameters:
- name: global.repoURL
value: $ARGOCD_APP_SOURCE_REPO_URL
value: https://github.com/pattern-clone/mypattern
- name: global.targetRevision
value: $ARGOCD_APP_SOURCE_TARGET_REVISION
value: main
- name: global.namespace
value: $ARGOCD_APP_NAMESPACE
- name: global.pattern
Expand All @@ -1005,6 +1005,12 @@ spec:
value: "aws"
- name: global.hubClusterDomain
value: apps.hub.example.com
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.localClusterDomain
value: apps.region.example.com
- name: global.privateRepo
Expand Down Expand Up @@ -1057,9 +1063,9 @@ spec:
- "/values-4.12-datacenter.yaml"
parameters:
- name: global.repoURL
value: $ARGOCD_APP_SOURCE_REPO_URL
value: https://github.com/pattern-clone/mypattern
- name: global.targetRevision
value: $ARGOCD_APP_SOURCE_TARGET_REVISION
value: main
- name: global.namespace
value: $ARGOCD_APP_NAMESPACE
- name: global.pattern
Expand All @@ -1072,6 +1078,12 @@ spec:
value: "aws"
- name: global.hubClusterDomain
value: apps.hub.example.com
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.localClusterDomain
value: apps.region.example.com
- name: global.privateRepo
Expand Down Expand Up @@ -1115,9 +1127,9 @@ spec:
- "/values-4.12-datacenter.yaml"
parameters:
- name: global.repoURL
value: $ARGOCD_APP_SOURCE_REPO_URL
value: https://github.com/pattern-clone/mypattern
- name: global.targetRevision
value: $ARGOCD_APP_SOURCE_TARGET_REVISION
value: main
- name: global.namespace
value: $ARGOCD_APP_NAMESPACE
- name: global.pattern
Expand All @@ -1130,6 +1142,12 @@ spec:
value: "aws"
- name: global.hubClusterDomain
value: apps.hub.example.com
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.localClusterDomain
value: apps.region.example.com
- name: global.privateRepo
Expand Down Expand Up @@ -1173,9 +1191,9 @@ spec:
- "/values-4.12-datacenter.yaml"
parameters:
- name: global.repoURL
value: $ARGOCD_APP_SOURCE_REPO_URL
value: https://github.com/pattern-clone/mypattern
- name: global.targetRevision
value: $ARGOCD_APP_SOURCE_TARGET_REVISION
value: main
- name: global.namespace
value: $ARGOCD_APP_NAMESPACE
- name: global.pattern
Expand All @@ -1188,6 +1206,12 @@ spec:
value: "aws"
- name: global.hubClusterDomain
value: apps.hub.example.com
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.localClusterDomain
value: apps.region.example.com
- name: global.privateRepo
Expand Down Expand Up @@ -1261,9 +1285,9 @@ spec:
- "/values-4.12-datacenter.yaml"
parameters:
- name: global.repoURL
value: $ARGOCD_APP_SOURCE_REPO_URL
value: https://github.com/pattern-clone/mypattern
- name: global.targetRevision
value: $ARGOCD_APP_SOURCE_TARGET_REVISION
value: main
- name: global.namespace
value: $ARGOCD_APP_NAMESPACE
- name: global.pattern
Expand All @@ -1276,6 +1300,12 @@ spec:
value: "aws"
- name: global.hubClusterDomain
value: apps.hub.example.com
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.localClusterDomain
value: apps.region.example.com
- name: global.privateRepo
Expand Down Expand Up @@ -1319,9 +1349,9 @@ spec:
- "/values-4.12-datacenter.yaml"
parameters:
- name: global.repoURL
value: $ARGOCD_APP_SOURCE_REPO_URL
value: https://github.com/pattern-clone/mypattern
- name: global.targetRevision
value: $ARGOCD_APP_SOURCE_TARGET_REVISION
value: main
- name: global.namespace
value: $ARGOCD_APP_NAMESPACE
- name: global.pattern
Expand All @@ -1334,6 +1364,12 @@ spec:
value: "aws"
- name: global.hubClusterDomain
value: apps.hub.example.com
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.localClusterDomain
value: apps.region.example.com
- name: global.privateRepo
Expand Down Expand Up @@ -1404,9 +1440,9 @@ spec:
- "/values-4.12-datacenter.yaml"
parameters:
- name: global.repoURL
value: $ARGOCD_APP_SOURCE_REPO_URL
value: https://github.com/pattern-clone/mypattern
- name: global.targetRevision
value: $ARGOCD_APP_SOURCE_TARGET_REVISION
value: main
- name: global.namespace
value: $ARGOCD_APP_NAMESPACE
- name: global.pattern
Expand All @@ -1419,6 +1455,12 @@ spec:
value: "aws"
- name: global.hubClusterDomain
value: apps.hub.example.com
- name: global.multiSourceSupport
value:
- name: global.multiSourceRepoUrl
value:
- name: global.multiSourceTargetRevision
value:
- name: global.localClusterDomain
value: apps.region.example.com
- name: global.privateRepo
Expand Down
Loading

0 comments on commit 56c9211

Please sign in to comment.