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

Kubectl volsync rsync tls #1238

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
60 changes: 40 additions & 20 deletions custom-scorecard-tests/config-downstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,26 +75,6 @@ stages:
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sched_snap.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sched_snap.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_restic_manual_normal.yml
Expand Down Expand Up @@ -287,6 +267,46 @@ stages:
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sched_snap.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sched_snap.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct_tls_normal.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct_tls_normal.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct_tls_priv.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct_tls_priv.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_roles.yml
Expand Down
60 changes: 40 additions & 20 deletions custom-scorecard-tests/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,26 +75,6 @@ stages:
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sched_snap.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sched_snap.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_restic_manual_normal.yml
Expand Down Expand Up @@ -287,6 +267,46 @@ stages:
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sched_snap.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sched_snap.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct_tls_normal.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct_tls_normal.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct_tls_priv.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct_tls_priv.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_roles.yml
Expand Down
9 changes: 5 additions & 4 deletions custom-scorecard-tests/generateE2ETestsConfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ TESTS=$(echo "${TESTS_UNSORTED}" | LC_ALL=C sort)

TESTS_COUNT=$(echo "${TESTS}" | wc -w)

# Group tests into 2 stages (each stage gets run sequentially but
# Group tests into 3 stages (each stage gets run sequentially but
# all tests in a stage can run in parallel)
E2E_TESTS_GROUP1=$(echo "${TESTS}" | grep -v -e role -e syncthing)
E2E_TESTS_GROUP2=$(echo "${TESTS}" | grep -e role -e syncthing)
# Group1 contains most e2e tests
# Group2 contains syncthing tests, cli tests and role tests
E2E_TESTS_GROUP1=$(echo "${TESTS}" | grep -v -e role -e syncthing -e test_replication_ )
E2E_TESTS_GROUP2=$(echo "${TESTS}" | grep -e role -e syncthing -e test_replication_ )
E2E_TESTS_GROUP3="" # If we want to exclude specific tests downstream - put them in this group

E2E_TESTS_GROUP1_COUNT=$(echo "${E2E_TESTS_GROUP1}" | wc -w)
E2E_TESTS_GROUP2_COUNT=$(echo "${E2E_TESTS_GROUP2}" | wc -w)
E2E_TESTS_GROUP3_COUNT=$(echo "${E2E_TESTS_GROUP3}" | wc -w)

echo "####################"
echo "# E2E tests (${TESTS_COUNT} tests total)"
echo "## Stage 1: (${E2E_TESTS_GROUP1_COUNT} tests)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,26 +61,6 @@
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sched_snap.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sched_snap.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_restic_manual_normal.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,46 @@
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sched_snap.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sched_snap.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct_tls_normal.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct_tls_normal.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_replication_sync_direct_tls_priv.yml
image: quay.io/backube/volsync-custom-scorecard-tests:latest
labels:
suite: volsync-e2e
test: test_replication_sync_direct_tls_priv.yml
storage:
spec:
mountPath: {}
- entrypoint:
- volsync-custom-scorecard-tests
- test_roles.yml
Expand Down
Loading