Skip to content

Commit

Permalink
Update GH workflows and bump envtest k8s version to 1.28 (#342)
Browse files Browse the repository at this point in the history
- Update GH workflows
- Bump envtest k8s version to 1.28
- Add clean-local-bin make directive to clean the local tools bin folder
  • Loading branch information
afritzler authored Dec 12, 2023
1 parent 16c6182 commit a4d6ed4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@ on:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
types: [ opened, reopened, synchronize ]

jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
with:
disable-releaser: github.ref != 'refs/heads/main'
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/size-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Size Label

on:
pull_request:
types: [opened, reopened, synchronize]
types:
- opened
- edited
- synchronize

jobs:
size-label:
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BIN_NAME = "cloud-provider-ironcore"
IMG ?= controller:latest

# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.26.0
ENVTEST_K8S_VERSION = 1.28.0

ifeq (,$(shell go env GOBIN))
GOBIN=$(shell go env GOPATH)/bin
Expand Down Expand Up @@ -58,6 +58,10 @@ docker-push:
clean:
rm -rf ./dist/

.PHONY: clean-local-bin
clean-local-bin:
rm -rf $(LOCALBIN)/*

##@ Build Dependencies

## Location to install dependencies to
Expand Down

0 comments on commit a4d6ed4

Please sign in to comment.