Skip to content

Commit

Permalink
Merge pull request #153 from gianlucam76/prep
Browse files Browse the repository at this point in the history
Prepare for release v0.22.0
  • Loading branch information
gianlucam76 authored Jan 25, 2024
2 parents d1298ee + bc36837 commit 0263136
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 10 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,21 @@ jobs:
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # tag=v5.0.0
with:
go-version: 1.21.5
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: fv
run: make create-cluster fv
env:
Expand All @@ -64,6 +79,21 @@ jobs:
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # tag=v5.0.0
with:
go-version: 1.21.5
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: fv
run: make create-cluster fv-sharding
env:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ARCH ?= amd64
OS ?= $(shell uname -s | tr A-Z a-z)
K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
export CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
TAG ?= dev
TAG ?= v0.22.0

.PHONY: all
all: build
Expand Down Expand Up @@ -226,6 +226,7 @@ create-cluster: $(KIND) $(CLUSTERCTL) $(KUBECTL) $(ENVSUBST) ## Create a new kin
$(KUBECTL) --kubeconfig=./test/fv/workload_kubeconfig wait --for=condition=Available deployment/calico-kube-controllers -n kube-system --timeout=$(TIMEOUT)

@echo "install sveltos-agent"
$(KUBECTL) --kubeconfig=./test/fv/workload_kubeconfig apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/$(TAG)/config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml
$(KUBECTL) --kubeconfig=./test/fv/workload_kubeconfig apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/$(TAG)/config/crd/bases/lib.projectsveltos.io_classifiers.yaml
$(KUBECTL) --kubeconfig=./test/fv/workload_kubeconfig apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/$(TAG)/config/crd/bases/lib.projectsveltos.io_healthchecks.yaml
$(KUBECTL) --kubeconfig=./test/fv/workload_kubeconfig apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/$(TAG)/config/crd/bases/lib.projectsveltos.io_healthcheckreports.yaml
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
spec:
containers:
# Change the value of image field below to your controller image URL
- image: projectsveltos/healthcheck-manager-amd64:dev
- image: projectsveltos/healthcheck-manager-amd64:v0.22.0
name: manager
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require (
github.com/onsi/ginkgo/v2 v2.15.0
github.com/onsi/gomega v1.31.0
github.com/pkg/errors v0.9.1
github.com/projectsveltos/addon-controller v0.21.1-0.20240124125416-12be9b99bc75
github.com/projectsveltos/libsveltos v0.21.2-0.20240120111559-a243ee94d3fc
github.com/projectsveltos/addon-controller v0.22.0
github.com/projectsveltos/libsveltos v0.22.0
github.com/prometheus/client_golang v1.18.0
github.com/slack-go/slack v0.12.3
github.com/spf13/pflag v1.0.5
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY=
github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg=
github.com/projectsveltos/addon-controller v0.21.1-0.20240124125416-12be9b99bc75 h1:lItmQjg/b7mLLuoaOrZ/zbyGEeDmoUGgmyXMmwXT9R0=
github.com/projectsveltos/addon-controller v0.21.1-0.20240124125416-12be9b99bc75/go.mod h1:eETADUeK5FyhLQ9Yq2AkCqz2pw+Fdw6KDl0NXih/btc=
github.com/projectsveltos/libsveltos v0.21.2-0.20240120111559-a243ee94d3fc h1:SuRmcxnPvD0hmyAm2yVh1Unc0hzA4abEChXHgIqGb+E=
github.com/projectsveltos/libsveltos v0.21.2-0.20240120111559-a243ee94d3fc/go.mod h1:CUdg31JkncVRQY6AIEQGjT2Mj6OCDckdS6OKwG9o8ek=
github.com/projectsveltos/addon-controller v0.22.0 h1:BxHzVOkpBQpkpN81qU7xMAQ3oAMME4PTNBv/sWgxHVs=
github.com/projectsveltos/addon-controller v0.22.0/go.mod h1:jO6e22GYr14q8oOOXKQdGIeUn4vlVe2QPmJGfVAkDAg=
github.com/projectsveltos/libsveltos v0.22.0 h1:Y1+aHWfs9m8ygt+6KbQgvnBa+G9HHBb1cIgiyBqxj0g=
github.com/projectsveltos/libsveltos v0.22.0/go.mod h1:CUdg31JkncVRQY6AIEQGjT2Mj6OCDckdS6OKwG9o8ek=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g=
Expand Down
2 changes: 1 addition & 1 deletion manifest/deployment-shard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- --v=5
command:
- /manager
image: projectsveltos/healthcheck-manager-amd64:dev
image: projectsveltos/healthcheck-manager-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ spec:
- --v=5
command:
- /manager
image: projectsveltos/healthcheck-manager-amd64:dev
image: projectsveltos/healthcheck-manager-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down

0 comments on commit 0263136

Please sign in to comment.