Skip to content

Commit

Permalink
Add dependabot to the repository… and a e2e workflow
Browse files Browse the repository at this point in the history
… and set it to update github actions.

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Nov 21, 2023
1 parent 2be67f3 commit 1ac2028
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
39 changes: 39 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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

0 comments on commit 1ac2028

Please sign in to comment.