-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enterprise: v5.8.0, slo improvements, openshift testing, anchorectl s…
…moketests (#393) * enterprise: adding anchorectl_smoketests, openshift testing Signed-off-by: Hung Nguyen <[email protected]> * enterprise: v5.8.0, slo improvements Signed-off-by: Hung Nguyen <[email protected]> * enterprise: update Chart.lock for feeds v2.8.0 Signed-off-by: Hung Nguyen <[email protected]> * enterprise: recreate strategy for deployments Signed-off-by: Hung Nguyen <[email protected]> * remove upgrade option from chart testing to prevent out of disk errors in ci Signed-off-by: Brady Todhunter <[email protected]> --------- Signed-off-by: Hung Nguyen <[email protected]> Signed-off-by: Brady Todhunter <[email protected]> Co-authored-by: Brady Todhunter <[email protected]>
- Loading branch information
1 parent
1f03899
commit f8c5981
Showing
39 changed files
with
759 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
.git | ||
tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
securityContext: | ||
fsGroup: null | ||
runAsGroup: null | ||
runAsUser: null | ||
feeds: | ||
chartEnabled: false | ||
url: "my-release-feeds" | ||
postgresql: | ||
primary: | ||
containerSecurityContext: | ||
enabled: false | ||
podSecurityContext: | ||
enabled: false | ||
ui-redis: | ||
master: | ||
podSecurityContext: | ||
enabled: false | ||
containerSecurityContext: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
stable/enterprise/templates/tests/anchorectl_smoketest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{{- $component := "smokeTest" -}} | ||
|
||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: "{{ template "enterprise.smokeTest.fullname" . }}" | ||
namespace: "{{ .Release.Namespace }}" | ||
labels: {{- include "enterprise.common.labels" (merge (dict "component" $component) .) | nindent 4 }} | ||
annotations: {{- include "enterprise.common.annotations" (merge (dict "component" $component "nil" true) .) | nindent 4 }} | ||
"helm.sh/hook": test | ||
spec: | ||
volumes: {{- include "enterprise.common.volumes" . | nindent 2 }} | ||
containers: | ||
- name: "anchorectl-smoketest" | ||
image: {{ .Values.image }} | ||
imagePullPolicy: {{ .Values.imagePullPolicy }} | ||
{{- with .Values.containerSecurityContext }} | ||
securityContext: | ||
{{ toYaml . | nindent 12 }} | ||
{{- end }} | ||
envFrom: {{- include "enterprise.common.envFrom" . | nindent 6 }} | ||
env: {{- include "enterprise.common.environment" (merge (dict "component" $component) .) | nindent 6 }} | ||
|
||
command: ["/bin/bash", "-c"] | ||
args: | ||
- | | ||
anchorectl system smoke-tests run | ||
volumeMounts: {{- include "enterprise.common.volumeMounts" . | nindent 6 }} | ||
restartPolicy: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.