Skip to content

Commit

Permalink
Downgrade Go version to 1.15.8 because of failing push of Docker imag…
Browse files Browse the repository at this point in the history
…es (#1035)

* 🔧 Run build workflows when workflows are modified

* Downgrade Go version

* 🔧 pass GO_VERSION to helm operator build

Signed-off-by: Rintaro Okamura <[email protected]>
  • Loading branch information
rinx authored Feb 25, 2021
1 parent 1ec55d9 commit 63ad128
Show file tree
Hide file tree
Showing 20 changed files with 74 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/dockers-agent-ngt-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-agent-ngt-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -38,6 +40,8 @@ on:
- "versions/NGT_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-agent-ngt-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-agent-sidecar-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-agent-sidecar-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -38,6 +40,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-agent-sidecar-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-backup-manager-cassandra-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-backup-manager-cassandra-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -39,6 +41,8 @@ on:
- "versions/NGT_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-backup-manager-cassandra-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-backup-manager-mysql-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-backup-manager-mysql-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -38,6 +40,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-backup-manager-mysql-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-ci-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ on:
branches:
- master
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-ci-container-image.yml"
- "dockers/ci/**"
- "versions/GO_VERSION"
- "versions/NGT_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-ci-container-image.yml"
- "dockers/ci/**"
- "versions/GO_VERSION"
- "versions/NGT_VERSION"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-dev-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ on:
branches:
- master
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-dev-container-image.yml"
- "dockers/ci/**"
- "dockers/dev/**"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-dev-container-image.yml"
- "dockers/ci/**"
- "dockers/dev/**"
schedule:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-discoverer-k8s-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-discoverer-k8s-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -36,6 +38,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-discoverer-k8s-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-gateway-backup-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-backup-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -39,6 +41,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-backup-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-gateway-filter-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-filter-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -39,6 +41,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-filter-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-gateway-lb-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-lb-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -39,6 +41,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-lb-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-gateway-meta-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-meta-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -39,6 +41,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-meta-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-gateway-vald-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-vald-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -37,6 +39,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-gateway-vald-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-helm-operator-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-helm-operator-image.yml"
- "dockers/operator/helm/Dockerfile"
- "charts/vald/Chart.yaml"
- "charts/vald/values.yaml"
Expand All @@ -34,6 +36,8 @@ on:
- "versions/OPERATOR_SDK_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-helm-operator-image.yml"
- "dockers/operator/helm/Dockerfile"
- "charts/vald/Chart.yaml"
- "charts/vald/values.yaml"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-loadtest-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-loadtest-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -37,6 +39,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-loadtest-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-manager-compressor-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-manager-compressor-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -37,6 +39,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-manager-compressor-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-manager-index-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-manager-index-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -37,6 +39,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-manager-index-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-meta-cassandra-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-meta-cassandra-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -38,6 +40,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-meta-cassandra-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockers-meta-redis-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- "*.*.*-*"
- "v*.*.*-*"
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-meta-redis-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand All @@ -38,6 +40,8 @@ on:
- "versions/GO_VERSION"
pull_request:
paths:
- ".github/actions/docker-build/actions.yaml"
- ".github/workflows/dockers-meta-redis-image.yml"
- "go.mod"
- "go.sum"
- "internal/**"
Expand Down
1 change: 1 addition & 0 deletions Makefile.d/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ docker/build/operator/helm:
$(DOCKER_OPTS) \
-f dockers/operator/helm/Dockerfile \
-t $(ORG)/$(HELM_OPERATOR_IMAGE):$(TAG) . \
--build-arg GO_VERSION=$(GO_VERSION) \
--build-arg MAINTAINER=$(MAINTAINER) \
--build-arg OPERATOR_SDK_VERSION=$(OPERATOR_SDK_VERSION)

Expand Down
2 changes: 1 addition & 1 deletion versions/GO_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16
1.15.8

0 comments on commit 63ad128

Please sign in to comment.