Skip to content

Bump github.com/testcontainers/testcontainers-go from 0.42.0 to 0.43.0 #86

Bump github.com/testcontainers/testcontainers-go from 0.42.0 to 0.43.0

Bump github.com/testcontainers/testcontainers-go from 0.42.0 to 0.43.0 #86

Workflow file for this run

name: E2E Tests on KinD
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
workflow_dispatch:
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set kernel settings
run: |
docker run --rm \
--privileged \
--pid host \
-v /lib/modules:/lib/modules:ro \
alpine sh -c "sysctl -w fs.inotify.max_user_instances=512 && modprobe nfs && modprobe nfsd"
- name: Install dependencies
run: |
mkdir -p $HOME/.local/bin && echo "$HOME/.local/bin" >> "$GITHUB_PATH"
curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=${CF_CLI_VERSION}&source=github" | tar -zx
mv cf8 $HOME/.local/bin/cf
env:
CF_CLI_VERSION: "8.18.3"
- name: setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: false
- name: checkout kind-deployment
uses: actions/checkout@v6
with:
repository: "cloudfoundry/kind-deployment"
path: "kind"
- name: Run make up
run: |
cd kind && make up
- name: Login
run: cd kind && make login
- name: Init
run: cd kind && make bootstrap-complete
- name: Build cnbapplifecycle.tgz
run: make copy-binaries package
- name: Load updated cnbapplifecycle.tgz into kind
run: |
kubectl cp bin/cnb_app_lifecycle.tgz \
cf-system/$(kubectl get pod -n cf-system -l app.kubernetes.io/name=fileserver \
-o jsonpath='{.items[0].metadata.name}'):fileserver/v1/static/cnb_app_lifecycle/cnb_app_lifecycle.tgz
- name: Run E2E tests for java
run: |
cf push hello-java -f examples/hello-java/manifest.yaml
curl -s -f hello-java.apps.127-0-0-1.nip.io | grep -F "Hello World"
cf delete hello-java -f -r
- name: Run E2E tests for nodejs
run: |
cf push hello-js -f examples/hello-js/manifest.yaml
curl -s -f hello-js.apps.127-0-0-1.nip.io | grep -F "Hello World"
cf delete hello-js -f -r