Skip to content

Commit

Permalink
chore(deps): update ci go version and installer yamls
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih committed Nov 22, 2023
1 parent 2390d7e commit b14dd68
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 73 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go 1.16.5
- name: Set up Go 1.19.13
uses: actions/setup-go@v4
with:
go-version: 1.16.5
go-version: 1.19.13

- name: Setup Minikube-Kubernetes
uses: medyagh/setup-minikube@latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go 1.16.5
- name: Set up Go 1.19.13
uses: actions/setup-go@v4
with:
go-version: 1.16.5
go-version: 1.19.13

- name: Setup Minikube-Kubernetes
uses: medyagh/setup-minikube@latest
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/cstor-csi-driver/cstor-csi-driver.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.16.5 as build
FROM golang:1.19.13 as build

ARG BRANCH
ARG RELEASE_TAG
Expand Down
58 changes: 0 additions & 58 deletions buildscripts/install_go.sh

This file was deleted.

14 changes: 7 additions & 7 deletions ci/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
#!/usr/bin/env bash

Check failure on line 16 in ci/ci-test.sh

View workflow job for this annotation

GitHub Actions / lint

[shellcheck] reported by reviewdog 🐶 The shebang must be on the first line. Delete blanks and move comments. [SC1128](https://github.com/koalaman/shellcheck/wiki/SC1128) Raw Output: ./ci/ci-test.sh:16:1:error:The shebang must be on the first line. Delete blanks and move comments. [SC1128](https://github.com/koalaman/shellcheck/wiki/SC1128)

#OPENEBS_OPERATOR=https://raw.githubusercontent.com/openebs/openebs/HEAD/k8s/openebs-operator.yaml
NDM_OPERATOR=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/ndm-operator.yaml
CSTOR_RBAC=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/rbac.yaml
#NDM_OPERATOR=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/ndm-operator.yaml
#CSTOR_RBAC=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/rbac.yaml
CSTOR_OPERATOR=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/cstor-operator.yaml
ALL_CRD=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/crds/all_cstor_crds.yaml
#ALL_CRD=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/crds/all_cstor_crds.yaml

CSI_OPERATOR="$GOPATH/src/github.com/openebs/cstor-csi/deploy/csi-operator.yaml"

Check warning on line 24 in ci/ci-test.sh

View workflow job for this annotation

GitHub Actions / lint

[shellcheck] reported by reviewdog 🐶 CSI_OPERATOR appears unused. Verify use (or export if used externally). [SC2034](https://github.com/koalaman/shellcheck/wiki/SC2034) Raw Output: ./ci/ci-test.sh:24:1:warning:CSI_OPERATOR appears unused. Verify use (or export if used externally). [SC2034](https://github.com/koalaman/shellcheck/wiki/SC2034)
SNAPSHOT_CLASS="$GOPATH/src/github.com/openebs/cstor-csi/deploy/snapshot-class.yaml"

Check warning on line 25 in ci/ci-test.sh

View workflow job for this annotation

GitHub Actions / lint

[shellcheck] reported by reviewdog 🐶 SNAPSHOT_CLASS appears unused. Verify use (or export if used externally). [SC2034](https://github.com/koalaman/shellcheck/wiki/SC2034) Raw Output: ./ci/ci-test.sh:25:1:warning:SNAPSHOT_CLASS appears unused. Verify use (or export if used externally). [SC2034](https://github.com/koalaman/shellcheck/wiki/SC2034)
Expand All @@ -28,10 +28,10 @@ SNAPSHOT_CLASS="$GOPATH/src/github.com/openebs/cstor-csi/deploy/snapshot-class.y

# Prepare env for runnging BDD tests
# Minikube is already running
kubectl apply -f $CSTOR_RBAC
kubectl apply -f $NDM_OPERATOR
kubectl apply -f $ALL_CRD
kubectl apply -f $CSTOR_OPERATOR
#kubectl apply -f $CSTOR_RBAC
#kubectl apply -f $NDM_OPERATOR
#kubectl apply -f $ALL_CRD
kubectl apply -f "$CSTOR_OPERATOR"
kubectl apply -f ./deploy/csi-operator.yaml
kubectl apply -f ./deploy/snapshot-class.yaml

Expand Down
1 change: 0 additions & 1 deletion deploy/csi-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,6 @@ spec:
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-health-monitor-controller
image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.10.0
imagePullPolicy: Always
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand Down
3 changes: 1 addition & 2 deletions deploy/snapshot-class.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1beta1
apiVersion: snapshot.storage.k8s.io/v1
metadata:
name: csi-cstor-snapshotclass
namespace: openebs
Expand All @@ -8,4 +8,3 @@ metadata:
driver: cstor.csi.openebs.io
deletionPolicy: Delete
---

0 comments on commit b14dd68

Please sign in to comment.