Update to Kubernetes v1.24.17 #630
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '^1.20' | |
- run: go version | |
- run: go install github.com/mattn/goveralls@latest | |
- run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | |
- run: | | |
make test | |
make lint | |
make | |
make build/linux/e2e | |
IMAGE=es-operator VERSION=local make build.docker | |
- run: goveralls -coverprofile=profile.cov -service=github | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# run e2e | |
- uses: engineerd/[email protected] | |
with: | |
version: "v0.11.0" | |
skipClusterCreation: "true" | |
- name: e2e tests | |
run: | | |
./.github/workflows/kind-with-registry.sh | |
docker tag es-operator:local localhost:5000/es-operator:local | |
docker push localhost:5000/es-operator:local | |
./.github/workflows/run_e2e.sh | |
- name: documentation tests | |
run: | | |
grep '^kubectl apply' docs/GETTING_STARTED.md | sh | |
for i in {1..10}; do kubectl -n es-operator-demo get all ; echo '========='; if kubectl -n es-operator-demo get sts es-data-simple | grep '1/1'; then echo 'SUCCESS' ; exit 0 ; fi ; sleep 60 ; done; exit 1 |