Bump k8s.io/apimachinery from 0.31.3 to 0.32.0 #636
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: Go | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Test | |
run: make test | |
integration-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Build | |
run: make build | |
- name: Create k8s Kind Cluster | |
uses: helm/[email protected] | |
- name: Create Testdata in Cluster | |
run: ./testing/init.sh | |
- name: Run PVMigrate | |
run: ./bin/pvmigrate --source-sc int-source --dest-sc int-dest | |
- name: Validate Cluster End State | |
run: ./testing/validate.sh | |
integration-test-incluster: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
push: true | |
file: testing/Dockerfile | |
tags: ttl.sh/build-test/pvmigrate:latest | |
- name: Create k8s Kind Cluster | |
uses: helm/[email protected] | |
- name: Create Testdata in Cluster | |
run: ./testing/init.sh | |
- name: Run PVMigrate | |
run: kubectl apply -f testing/yaml/migrate-job.yaml | |
- name: Validate Cluster End State | |
run: ./testing/validate.sh |