Skip to content

Commit

Permalink
Add test configurations
Browse files Browse the repository at this point in the history
Add tests configuration for the current subscriptions in
ocm-ramen-samples. We add more configurations when new subscriptions are
added.

To run test using a custom configuration use:

    basic-test/run \
        --config configs/core/deployment-k8s-regional-rbd \
        env.yaml

The default config.yaml is a symlink to the new configuration to keep
developers flows working.

Developers can create their own test configuration without modifying the
source:

    cp configs/core/deployment-k8s-regional-rbd.yaml ~/test/myconfig.yaml
    # edit myconfig.yaml...
    basic-test/run -c ~/test/myconfig.yaml envs/regional-dr.yaml

Signed-off-by: Nir Soffer <[email protected]>
  • Loading branch information
nirs committed Mar 13, 2024
1 parent ba7ce0e commit b2c0f54
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/basic-test/config.yaml

This file was deleted.

1 change: 1 addition & 0 deletions test/basic-test/config.yaml
11 changes: 11 additions & 0 deletions test/configs/core/deployment-k8s-regional-rbd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

---
repo: https://github.com/ramendr/ocm-ramen-samples.git
path: subscription/deployment-k8s-regional-rbd
branch: main
name: deployment-rbd
namespace: deployment-rbd
dr_policy: dr-policy
pvc_label: busybox

0 comments on commit b2c0f54

Please sign in to comment.