-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing: Add kuttl test suite to operator (PROJQUAY-2622)
- Add kuttl testing framework to Github Actions - Update vendor directory
- Loading branch information
1 parent
12dc87b
commit 417eea3
Showing
10 changed files
with
134 additions
and
123 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,3 +1,4 @@ | ||
bin | ||
tmp | ||
cover.out | ||
kubeconfig |
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 |
---|---|---|
@@ -0,0 +1,81 @@ | ||
apiVersion: quay.redhat.com/v1 | ||
kind: QuayRegistry | ||
metadata: | ||
finalizers: | ||
- quay-operator/finalizer | ||
name: skynet | ||
spec: | ||
components: | ||
- kind: clair | ||
managed: false | ||
- kind: postgres | ||
managed: true | ||
- kind: redis | ||
managed: true | ||
- kind: horizontalpodautoscaler | ||
managed: true | ||
- kind: objectstorage | ||
managed: true | ||
- kind: route | ||
managed: true | ||
- kind: mirror | ||
managed: true | ||
- kind: monitoring | ||
managed: true | ||
- kind: tls | ||
managed: true | ||
status: | ||
conditions: | ||
- message: Horizontal pod autoscaler found | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentHPAReady | ||
- message: Route admitted | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentRouteReady | ||
- message: ServiceMonitor and PrometheusRules created | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentMonitoringReady | ||
- message: Deployment skynet-quay-database healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentPostgresReady | ||
- message: Object bucket claim bound | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentObjectStorageReady | ||
- message: Clair not managed by the operator | ||
reason: ComponentNotManaged | ||
status: "True" | ||
type: ComponentClairReady | ||
- message: Using cluster wildcard certs | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentTLSReady | ||
- message: Deployment skynet-quay-redis healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentRedisReady | ||
- message: Base component healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentBaseReady | ||
- message: Deployment skynet-quay-mirror healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentMirrorReady | ||
- message: All components reporting as healthy | ||
reason: HealthChecksPassing | ||
status: "True" | ||
type: Available | ||
- message: All registry components created | ||
reason: ComponentsCreationSuccess | ||
status: "True" | ||
type: ComponentsCreated | ||
- message: All objects created/updated successfully | ||
reason: ComponentsCreationSuccess | ||
status: "False" | ||
type: RolloutBlocked | ||
currentVersion: dev |
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,8 @@ | ||
apiVersion: quay.redhat.com/v1 | ||
kind: QuayRegistry | ||
metadata: | ||
name: skynet | ||
spec: | ||
components: | ||
- kind: clair | ||
managed: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
delete: | ||
- apiVersion: quay.redhat.com/v1 | ||
kind: QuayRegistry | ||
metadata: | ||
name: skynet |
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,4 @@ | ||
apiVersion: quay.redhat.com/v1 | ||
kind: QuayRegistry | ||
metadata: | ||
name: skynet |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestSuite | ||
testDirs: | ||
- ./e2e | ||
timeout: 500 | ||
crdDir: ./bundle/upstream/manifests | ||
suppress: | ||
- "events" | ||
commands: | ||
- command: /bin/bash -c 'QUAY_VERSION=dev go run main.go' | ||
background: true | ||
|