Skip to content

Commit e32cd16

Browse files
authored
chore: upgrade the app version to be v0.0.15 in helm chart (#354)
* chore: upgrade the app version to be v0.0.15 in helm chart Signed-off-by: Rick <[email protected]> * using a fixed version of [email protected] Signed-off-by: Rick <[email protected]> * change the setup-envtest version to be v0.17.3 Signed-off-by: Rick <[email protected]> * do not run unit test for operator it's good to move it to a new repository Signed-off-by: GitHub <[email protected]> * do not build operator image Signed-off-by: GitHub <[email protected]> --------- Signed-off-by: Rick <[email protected]> Signed-off-by: GitHub <[email protected]>
1 parent 6da7399 commit e32cd16

File tree

4 files changed

+39
-40
lines changed

4 files changed

+39
-40
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
go-version: 1.20.x
1717
- name: Unit Test
1818
run: |
19-
make test-all-backend test-operator
19+
make test-all-backend
2020
- name: Long Test
2121
run: |
2222
make testlong
@@ -78,8 +78,8 @@ jobs:
7878
with:
7979
version: latest
8080
args: release --skip-publish --rm-dist --snapshot
81-
- name: Operator
82-
run: cd operator && make build
81+
# - name: Operator
82+
# run: cd operator && make build
8383

8484
BuildImage:
8585
runs-on: ubuntu-20.04
@@ -116,8 +116,8 @@ jobs:
116116
sudo curl -L https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
117117
sudo chmod u+x /usr/local/bin/docker-compose
118118
make test-e2e
119-
- name: Operator Image
120-
run: cd operator && make docker-build
119+
# - name: Operator Image
120+
# run: cd operator && make docker-build
121121

122122
BuildEmbedUI:
123123
runs-on: ubuntu-20.04

.github/workflows/release.yaml

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,13 @@ jobs:
4949
go-version: 1.20.x
5050
- name: Unit Test
5151
run: |
52-
make test-all-backend test-operator
52+
make test-all-backend
5353
- name: Report
5454
if: github.actor == 'linuxsuren'
5555
env:
5656
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
5757
run: |
5858
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial --force-coverage-parser go -r coverage.out
59-
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial --force-coverage-parser go -r operator/cover.out
6059
bash <(curl -Ls https://coverage.codacy.com/get.sh) final
6160
6261
image:
@@ -97,36 +96,36 @@ jobs:
9796
cache-to: type=gha,mode=max
9897
build-args: VERSION=${{ steps.vars.outputs.tag }}
9998

100-
image-operator:
101-
runs-on: ubuntu-20.04
102-
steps:
103-
- name: Checkout
104-
uses: actions/checkout@v4
105-
- name: Setup Docker buildx
106-
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
107-
- name: Log into registry ${{ env.REGISTRY }}
108-
if: github.event_name != 'pull_request'
109-
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
110-
with:
111-
registry: ${{ env.REGISTRY }}
112-
username: ${{ github.actor }}
113-
password: ${{ secrets.GH_PUBLISH_SECRETS }}
114-
- name: Extract Docker metadata
115-
id: meta
116-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
117-
with:
118-
images: ${{ env.REGISTRY }}/linuxsuren/api-testing-operator
119-
- name: Build and push Docker image
120-
id: build-and-push
121-
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
122-
with:
123-
context: operator
124-
push: ${{ github.event_name != 'pull_request' }}
125-
tags: ${{ steps.meta.outputs.tags }}
126-
labels: ${{ steps.meta.outputs.labels }}
127-
platforms: linux/amd64,linux/arm64
128-
cache-from: type=gha
129-
cache-to: type=gha,mode=max
99+
# image-operator:
100+
# runs-on: ubuntu-20.04
101+
# steps:
102+
# - name: Checkout
103+
# uses: actions/checkout@v4
104+
# - name: Setup Docker buildx
105+
# uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
106+
# - name: Log into registry ${{ env.REGISTRY }}
107+
# if: github.event_name != 'pull_request'
108+
# uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
109+
# with:
110+
# registry: ${{ env.REGISTRY }}
111+
# username: ${{ github.actor }}
112+
# password: ${{ secrets.GH_PUBLISH_SECRETS }}
113+
# - name: Extract Docker metadata
114+
# id: meta
115+
# uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
116+
# with:
117+
# images: ${{ env.REGISTRY }}/linuxsuren/api-testing-operator
118+
# - name: Build and push Docker image
119+
# id: build-and-push
120+
# uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
121+
# with:
122+
# context: operator
123+
# push: ${{ github.event_name != 'pull_request' }}
124+
# tags: ${{ steps.meta.outputs.tags }}
125+
# labels: ${{ steps.meta.outputs.labels }}
126+
# platforms: linux/amd64,linux/arm64
127+
# cache-from: type=gha
128+
# cache-to: type=gha,mode=max
130129

131130
image-dockerhub:
132131
runs-on: ubuntu-20.04

helm/api-testing/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: v0.0.3
18+
version: v0.0.4
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v0.0.13"
24+
appVersion: "v0.0.15"

operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
209209
.PHONY: envtest
210210
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
211211
$(ENVTEST): $(LOCALBIN)
212-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
212+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.17.3
213213

214214
.PHONY: operator-sdk
215215
OPERATOR_SDK ?= $(LOCALBIN)/operator-sdk

0 commit comments

Comments
 (0)