Skip to content
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
5 changes: 4 additions & 1 deletion e2e-tests/build
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ set -o errexit
set -o xtrace

test_dir="$(dirname $0)"
. $(dirname $0)/functions
src_dir="$(realpath ${test_dir}/..)"

GIT_COMMIT=$(git rev-parse HEAD)
GIT_BRANCH=${VERSION:-$(git rev-parse --abbrev-ref HEAD | sed -e 's^/^-^g; s^[.]^-^g;' | sed -e 's/_/-/g' | tr '[:upper:]' '[:lower:]')}
IMAGE=${IMAGE:-"perconalab/percona-server-mongodb-operator:${GIT_BRANCH}"}
IMAGE=$(echo "$IMAGE" | sed -e 's#percona/#perconalab/#')

if [[ ${DOCKER_NOCACHE:-0} == 1 ]]; then
Expand Down
9 changes: 9 additions & 0 deletions e2e-tests/conf/volume-snapshot-class-rancher.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
name: longhorn-snapshot-class
driver: driver.longhorn.io
deletionPolicy: Delete
parameters:
type: bak
backupMode: full
8 changes: 1 addition & 7 deletions e2e-tests/custom-users-roles-sharded/compare/run
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ kubectl_bin apply -f "${conf_dir}/client.yml" \


apply_s3_storage_secrets
if version_gt "1.19" && [ $EKS -ne 1 ]; then
cat "$conf_dir/container-rc.yaml" | $sed 's/docker/runc/g' | kubectl_bin apply -f -
elif version_gt "1.24" && [ $EKS -eq 1 ]; then
cat "$conf_dir/container-rc.yaml" | $sed 's/docker/runc/g' | kubectl_bin apply -f -
else
kubectl_bin apply -f "$conf_dir/container-rc.yaml"
fi
create_runtime_class

desc 'create first PSMDB cluster'

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ spec:
- mountPath: /opt/percona
name: bin
restartPolicy: Always
runtimeClassName: container-rc
schedulerName: default-scheduler
securityContext: {}
serviceAccount: default
Expand Down
Loading
Loading