Skip to content

chore(deps): bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.2 #167

chore(deps): bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.2

chore(deps): bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.2 #167

Workflow file for this run

name: tests
on:
pull_request:
branches:
- main
types: [opened, reopened, synchronize]
jobs:
e2e-tests:
name: e2e-tests
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
REPOSITORY_NAME: ${{ github.repository }}
permissions:
contents: read
packages: write
steps:
- name: Set Kubernetes context
uses: Azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ secrets.HNS_CI_CLUSTER }}
- name: Checkout
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run go vet
run: go vet ./...
- name: Log into ghcr.io
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Add IMAGE_TAG env property with commit short sha
run: echo "IMAGE_TAG=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
- name: Build and push docker image
run: make docker-build docker-push IMG=${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}:${IMAGE_TAG}
- name: Deploy HNS
run: make install deploy IMG=${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}:${IMAGE_TAG}
- name: Run e2e tests
run: make test-e2e
- name: Undeploy HNS
run: make undeploy
if: always()