Bump golang.org/x/net from 0.7.0 to 0.17.0 (#183) #414
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Deploy | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Setup Go environment | |
uses: actions/[email protected] | |
with: | |
go-version: '1.19' | |
- name: Build and Deploy | |
run: make deploy | |
- name: Build vdoctl | |
run: make build-vdoctl | |
# Need to enable the billing in CodeCov | |
- name : Upload CodeCoverage to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
files: ./cover.xml | |
flags: unittests | |
name: codecov-vdo | |
fail_ci_if_error: false # This has been made false as currently billing is not enabled for CodeCov which will lead to error for this step. | |
verbose: true | |
# Verify the Deployment | |
- name: Verify the Deployment | |
run: | | |
kubectl get pods -n vmware-system-vdo | |
kubectl apply -f hack/github-action/comp-matrix.yaml | |
kubectl get configmaps -n vmware-system-vdo | |
while [[ $(kubectl get pods -n vmware-system-vdo -l control-plane=controller-manager -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for pod" && sleep 1 && kubectl get pods -A && docker images && kubectl describe pod -n vmware-system-vdo -l control-plane=controller-manager; done | |
kubectl get pods -n vmware-system-vdo | |
# Update the GoReportCard | |
- name: Go report card | |
uses: creekorful/[email protected] |