chore: bootstrap updates #87
Workflow file for this run
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: Validate controller | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-controller: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./operator | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create k8s Kind Cluster | |
uses: helm/[email protected] | |
with: | |
cluster_name: "k8scluster" | |
- name: Generate CRD | |
run: cargo run --bin=crdgen >> crd.yaml | |
- name: Apply CRD | |
run: kubectl apply -f crd.yaml | |
- name: Build Controller | |
run: docker build -t ext-cardano-dbsync:1.0 . | |
- name: Load Image into Kind | |
run: kind load docker-image ext-cardano-dbsync:1.0 --name k8scluster | |
- name: Apply manifests | |
run: kubectl apply -f test | |
- name: Validate controller | |
run: ./test/validate-execution |