-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add e2e in cluster testing (#451)
Co-authored-by: UncleGedd <42304551+UncleGedd@users.noreply.github.com>
- Loading branch information
Showing
13 changed files
with
198 additions
and
89 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
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 was deleted.
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,10 @@ | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
sso: | ||
enabled: false | ||
|
||
image: | ||
repository: uds-runtime | ||
tag: test | ||
pullPolicy: Always |
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 |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
|
||
image: | ||
repository: uds-runtime | ||
tag: smoke-test | ||
tag: test | ||
pullPolicy: Always |
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,41 @@ | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
kind: ZarfPackageConfig | ||
metadata: | ||
name: uds-runtime | ||
version: test | ||
|
||
variables: | ||
- name: DOMAIN | ||
default: "uds.dev" | ||
|
||
components: | ||
- name: uds-runtime | ||
required: true | ||
description: smoke test of nightly release of uds-runtime | ||
only: | ||
flavor: smoke | ||
images: | ||
- uds-runtime:test # local copy of uds-runtime | ||
charts: | ||
- name: uds-runtime | ||
localPath: ../../chart | ||
namespace: uds-runtime | ||
version: 0.1.0 | ||
valuesFiles: | ||
- smoke-values.yaml | ||
- name: uds-runtime | ||
required: true | ||
description: e2e test of uds-runtime running in cluster | ||
only: | ||
flavor: e2e | ||
images: | ||
- uds-runtime:test # local copy of uds-runtime | ||
charts: | ||
- name: uds-runtime | ||
localPath: ../../chart | ||
namespace: uds-runtime | ||
version: 0.1.0 | ||
valuesFiles: | ||
- e2e-values.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
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,16 @@ | ||
import { defineConfig } from '@playwright/test' | ||
|
||
const protocol = 'https' | ||
const host = 'runtime.admin.uds.dev' | ||
|
||
export default defineConfig({ | ||
timeout: 10 * 1000, | ||
testDir: 'tests', | ||
/* Run tests in files in parallel */ | ||
fullyParallel: true, | ||
retries: process.env.CI ? 2 : 1, | ||
testMatch: /^(?!.*local-auth|.*reconnect)(.+\.)?(test|spec)\.[jt]s$/, | ||
use: { | ||
baseURL: `${protocol}://${host}/`, | ||
}, | ||
}) |
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.