Added PGP Key for Helm provenance #19
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: tests-operator | |
on: | |
pull_request: | |
branches-ignore: | |
- 'gh-pages' | |
jobs: | |
deploy_operator: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Setup kind | |
uses: ./.github/actions/setup-kind | |
- name: Deploy the operator | |
uses: ./.github/actions/deploy-operator | |
- name: Deploy a cluster | |
run: | | |
cat <<EOF | kubectl apply -f - | |
# Example of PostgreSQL cluster | |
apiVersion: postgresql.cnpg.io/v1 | |
kind: Cluster | |
metadata: | |
name: cluster-example | |
spec: | |
instances: 3 | |
storage: | |
size: 1Gi | |
EOF | |
- name: Verify that the cluster is ready | |
uses: ./.github/actions/verify-ready-instances | |
with: | |
cluster-name: cluster-example | |
ready-instances: 3 |