Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jan 8, 2025
1 parent 498a6be commit ee10b7e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Set up Go 1.23
uses: actions/setup-go@v5
Expand Down Expand Up @@ -57,11 +57,11 @@ jobs:
kubernetes:
name: Kubernetes
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build
strategy:
matrix:
k8s: [v1.20.15, v1.21.14, v1.22.15, v1.23.13, v1.24.7, v1.25.3, v1.26.3, v1.27.1, v1.28.0, v1.29.0]
k8s: [v1.26.15, v1.27.16, v1.28.9, v1.29.7, v1.30.3, v1.31.0]
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
Expand Down Expand Up @@ -45,12 +45,3 @@ jobs:
run: |
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
make release
- name: Publish to Docker Registry
env:
DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
USERNAME: 1gtm
APPSCODE_ENV: prod
run: |
docker login --username ${USERNAME} --password ${DOCKER_TOKEN}
make release
2 changes: 1 addition & 1 deletion .github/workflows/update-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Set up Go 1.23
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RESTIC_VER := 0.13.1
### These variables should not need tweaking.
###

SRC_PKGS := apis client cmd crds pkg # directories which hold app source (not vendored)
SRC_PKGS := apis client cmd crds hack pkg # directories which hold app source (not vendored)
SRC_DIRS := $(SRC_PKGS) hack/gencrd

DOCKER_PLATFORMS := linux/amd64 linux/arm linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion hack/import_hacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ limitations under the License.
package hack

import (
_ "go.bytebuilders.dev/license-verifier/kubernetes"
_ "github.com/gogo/protobuf/gogoproto"
_ "go.bytebuilders.dev/license-verifier/kubernetes"
_ "k8s.io/apimachinery/pkg/api/resource"
_ "k8s.io/apimachinery/pkg/apis/meta/v1"
_ "k8s.io/apimachinery/pkg/runtime"
Expand Down

0 comments on commit ee10b7e

Please sign in to comment.