Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add 'odigos-test' namespace for CLI installation #2387

Merged
merged 4 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/webapp/cypress/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const CRD_IDS = {

export const NAMESPACES = {
DEFAULT: 'default',
ODIGOS_TEST: 'odigos-test',
ODIGOS_SYSTEM: 'odigos-system',
};

Expand Down
2 changes: 1 addition & 1 deletion frontend/webapp/cypress/e2e/04-destinations.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BUTTONS, CRD_NAMES, DATA_IDS, NAMESPACES, ROUTES, SELECTED_ENTITIES, TE
// Tests will fail if you have existing CRDs in the cluster.
// If you have to run tests locally, make sure to clean up the cluster before running the tests.

const namespace = NAMESPACES.ODIGOS_SYSTEM;
const namespace = NAMESPACES.ODIGOS_TEST;
const crdName = CRD_NAMES.DESTINATION;

describe('Destinations CRUD', () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/webapp/cypress/e2e/05-actions.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BUTTONS, CRD_NAMES, DATA_IDS, INPUTS, NAMESPACES, ROUTES, SELECTED_ENTI
// Tests will fail if you have existing CRDs in the cluster.
// If you have to run tests locally, make sure to clean up the cluster before running the tests.

const namespace = NAMESPACES.ODIGOS_SYSTEM;
const namespace = NAMESPACES.ODIGOS_TEST;
const crdName = CRD_NAMES.ACTION;

describe('Actions CRUD', () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/webapp/cypress/e2e/06-rules.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BUTTONS, CRD_NAMES, DATA_IDS, INPUTS, MOCKED_DESCRIBE, NAMESPACES, ROUT
// Tests will fail if you have existing CRDs in the cluster.
// If you have to run tests locally, make sure to clean up the cluster before running the tests.

const namespace = NAMESPACES.ODIGOS_SYSTEM;
const namespace = NAMESPACES.ODIGOS_TEST;
const crdName = CRD_NAMES.INSTRUMENTATION_RULE;

describe('Instrumentation Rules CRUD', () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/ui/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
- script:
timeout: 60s
content: |
../../../cli/odigos install --version e2e-test
../../../cli/odigos install --namespace odigos-test --version e2e-test
- name: Install App - Simple Demo
try:
Expand Down
Loading