Skip to content

Commit

Permalink
Merge pull request #12 from RedisLabs/update-pipeline-redis-k8s-operator
Browse files Browse the repository at this point in the history
Updates to Redis Enterprise k8s Operator to v6.0.20-12
  • Loading branch information
trentrosenbaum authored Aug 23, 2021
2 parents 4fc4700 + ff3e9a2 commit 57f56ef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ jobs:

- name: Install Redis Enterprise operator
run: |
curl --silent --fail https://raw.githubusercontent.com/RedisLabs/redis-enterprise-k8s-docs/v6.0.12-5/bundle.yaml | kubectl apply -f -
curl --silent --fail https://raw.githubusercontent.com/RedisLabs/redis-enterprise-k8s-docs/v6.0.20-12/bundle.yaml | kubectl apply -f -
kubectl rollout status deployment/redis-enterprise-operator --watch --timeout=5m || kubectl describe pod -lname=redis-enterprise-operator
- name: Install cluster
timeout-minutes: 5
timeout-minutes: 10
run: |
cat <<EOF |
apiVersion: "app.redislabs.com/v1"
kind: "RedisEnterpriseCluster"
metadata:
name: "test-cluster"
spec:
nodes: 1
nodes: 3
redisEnterpriseNodeResources:
limits:
cpu: 1000m
Expand All @@ -66,6 +66,9 @@ jobs:
kubectl get redisenterpriseclusters.app.redislabs.com test-cluster --output jsonpath='{.status}{"\n"}'
sleep 5;
done
echo "waiting loop has finished."
sleep 5;
kubectl get redisenterpriseclusters.app.redislabs.com test-cluster --output jsonpath='{.status}{"\n"}'
- name: Install database
timeout-minutes: 5
Expand All @@ -90,6 +93,9 @@ jobs:
kubectl get redisenterprisedatabase.app.redislabs.com mydb --output jsonpath='{.status}{"\n"}'
sleep 5;
done
echo "waiting loop has finished."
sleep 5;
kubectl get redisenterprisedatabase.app.redislabs.com mydb --output jsonpath='{.status}{"\n"}'
- name: Install a service to expose the Redis cluster on a port
run: |
Expand Down
6 changes: 6 additions & 0 deletions bootstrap/kind-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ nodes:
hostPort: 30000
listenAddress: "0.0.0.0"
protocol: tcp
image: kindest/node:v1.20.7@sha256:cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9
- role: worker
image: kindest/node:v1.20.7@sha256:cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9
- role: worker
image: kindest/node:v1.20.7@sha256:cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9
- role: worker
image: kindest/node:v1.20.7@sha256:cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9

0 comments on commit 57f56ef

Please sign in to comment.