cloudnative-pg icon indicating copy to clipboard operation
cloudnative-pg copied to clipboard

test: fix some rough edges of E2E test scripts

Open mnencia opened this issue 1 year ago • 12 comments

mnencia avatar Feb 16 '24 16:02 mnencia

:exclamation: By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested :arrow_backward: or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

github-actions[bot] avatar Feb 16 '24 16:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 16 '24 16:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 16 '24 17:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 16 '24 17:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 16 '24 18:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 16 '24 18:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 17 '24 10:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 17 '24 10:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 17 '24 10:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 17 '24 19:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 17 '24 19:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 17 '24 19:02 github-actions[bot]

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

github-actions[bot] avatar Feb 19 '24 08:02 github-actions[bot]

/test l=local d=main tl=1

mnencia avatar Feb 19 '24 13:02 mnencia

@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/7960294081

github-actions[bot] avatar Feb 19 '24 13:02 github-actions[bot]

/test

mnencia avatar Feb 19 '24 23:02 mnencia

@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/7966306645

github-actions[bot] avatar Feb 19 '24 23:02 github-actions[bot]

/ok-to-merge tests are mostly green

mnencia avatar Feb 20 '24 08:02 mnencia

I was able to easily create a k3d cluster and deploy the operator.

$ ./hack/setup-cluster.sh -e k3d -r load deploy
Creating k3d cluster pg-operator-e2e-v1-27-1 with version v1.27.1
INFO[0000] Prep: Network
INFO[0000] Created network 'k3d-pg-operator-e2e-v1-27-1'
INFO[0000] Created image volume k3d-pg-operator-e2e-v1-27-1-images
...
storageclass.storage.k8s.io/csi-hostpath-sc annotated
 CSI driver plugin deployment has started. Waiting for the CSI plugin to be ready...
Success: The CSI plugin is deployed and ready.
Done creating k3d cluster pg-operator-e2e-v1-27-1 with version v1.27.1

Then:

$ k3d cluster list
NAME                      SERVERS   AGENTS   LOADBALANCER
pg-operator-e2e-v1-27-1   1/1       3/3      false

Then:

$ ./hack/setup-cluster.sh -e k3d -r load deploy
Building operator from current worktree
make: Entering directory '/Users/gabriele.bartolini/prj/cloudnative-pg/cloudnative-pg'
...
make: Leaving directory '/Users/gabriele.bartolini/prj/cloudnative-pg/cloudnative-pg'
Done deploying manifests from current worktree on cluster pg-operator-e2e-v1-27-1

And finally able to use it.

Thanks.

gbartolini avatar Feb 25 '24 07:02 gbartolini