Skip to content

Bump docker/build-push-action from 5 to 6 (#466) #664

Bump docker/build-push-action from 5 to 6 (#466)

Bump docker/build-push-action from 5 to 6 (#466) #664

Workflow file for this run

name: BDD
on:
push:
branches:
- master
jobs:
build:
name: Setup & Run
if: github.repository == 'keikoproj/upgrade-manager'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Prerequisites
run: |
# Getting kustomize
sudo snap install kustomize
# Generating resources files
make manifests
kustomize build config/default -o test-bdd/bases/base_crd-rbac-deployment.yaml
kustomize build test-bdd/bases -o test-bdd/crd-rbac-deployment.yaml
# Setting kubeconfig
aws eks update-kubeconfig --name upgrademgr-eks-nightly --region us-west-2
# Deploying
kubectl apply -f test-bdd/crd-rbac-deployment.yaml
- name: Run BDD
run: |
go get github.com/cucumber/godog/cmd/[email protected]
cd test-bdd
$HOME/go/bin/godog
- name: Cleanup
run: |
kubectl delete deployment upgrade-manager-controller-manager -n upgrade-manager-system