Skip to content

Commit b7c2c5f

Browse files
committed
add ginkgo
Signed-off-by: Ashutosh Kumar <[email protected]>
1 parent 2e1b128 commit b7c2c5f

File tree

1 file changed

+4
-49
lines changed

1 file changed

+4
-49
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -57,56 +57,11 @@ jobs:
5757
fetch-depth: 1
5858
path: go/src/github.com/sonasingh46/github-actions
5959

60-
# Check for go formatting
61-
- name: Configure Minikube
60+
- name: Ginkgo Install
6261
run: |
63-
chmod +x hack/minikube.sh
64-
./hack/minikube.sh
65-
echo ${{ github.event.pull_request.head.sha }}
66-
echo ${{ github.event.pull_request.head.sha }}
67-
68-
- name: Configure Kubectl
69-
run: |
70-
sudo chown -R $USER $HOME/.kube $HOME/.minikube
71-
echo "Get kubectl client and server version"
72-
kubectl version
73-
echo "Get the node"
74-
kubectl get node
75-
76-
- name: Configure Kustomize
77-
run: |
78-
chmod +x hack/install_kustomize.sh
79-
./hack/install_kustomize.sh /usr/local/bin/
80-
kustomize version
81-
82-
- name: Install Docker
83-
run: |
84-
sudo apt-get install \
85-
apt-transport-https \
86-
ca-certificates \
87-
curl \
88-
gnupg-agent \
89-
software-properties-common
90-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
91-
92-
sudo add-apt-repository \
93-
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
94-
$(lsb_release -cs) \
95-
stable"
96-
97-
sudo apt-get update
98-
sudo apt-get install docker-ce docker-ce-cli containerd.io
99-
docker --version
100-
101-
- name: Create openebs namespace and install NDM
102-
run: |
103-
chmod +x hack/install_ndm.sh
104-
./hack/install_ndm.sh
105-
echo "Applying customized ndm-operator YAML"
106-
kubectl create ns openebs
107-
kustomize build actions_ci/install_artifacts/ndm-operator | kubectl apply -f -
108-
kubectl get ds,deploy -n openebs
109-
62+
go install github.com/onsi/ginkgo/ginkgo
63+
export PATH=$PATH:$(go env GOPATH)/bin
64+
ginkgo version
11065
11166
11267

0 commit comments

Comments
 (0)