Skip to content

Commit

Permalink
Add some github workflows and dependabot
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester committed Mar 13, 2023
1 parent 7a389ac commit 64da7c5
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
labels:
- "ok-to-test"
- "dependencies"
- "kind/misc"
- "release-note-none"
ignore:
- dependency-name: "k8s.io/*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
25 changes: 25 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build-and-test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ This is the repository of a *proof-of-concept* of OpenShift Operator based of th
- [x] Import `cmd/…`
- [x] Import `config/…`
- [ ] Import `openshift` specific package
- [ ] GitHub workflows
- [ ] Create `v1beta1.OpenShiftPipelineConfig` to *replace* `TektonConfig`
- [ ] openshift-ci for tests
- [ ] Automated/scripted import payload (copy from tektoncd/operator)
- [ ] Automated/scripted import `tektoncd/operator` CRDs

0 comments on commit 64da7c5

Please sign in to comment.