diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..5ace460 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..2912b82 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,39 @@ +--- +name: test + +on: + push: + tags-ignore: + - "*" + branches: + - main + pull_request: + branches: + - main + +jobs: + test-e2e: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: true + + - uses: azure/setup-helm@v3 + + # instantiate a KinD (Kubernetes in Docker) cluster, installs `kubectl` and configures the + # `kubeconfig` to reach the local cluster + - uses: helm/kind-action@v1.5.0 + with: + cluster_name: kind + wait: 120s + + # installs Tekton Pipelines and `tkn` command line, including a local Container-Registry with + # settings to reach it during testing + - uses: openshift-pipelines/setup-tektoncd@v1 + with: + pipeline_version: v0.41.3 + + # running end-to-end test target + - name: test-e2e + run: make test-e2e \ No newline at end of file