Skip to content

Commit

Permalink
📂 Apply fork specific files
Browse files Browse the repository at this point in the history
  • Loading branch information
serverless-qe committed Jun 26, 2023
1 parent e824890 commit 415cfb5
Show file tree
Hide file tree
Showing 28 changed files with 1,877 additions and 277 deletions.
5 changes: 5 additions & 0 deletions .deviate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
upstream: https://github.com/knative-sandbox/kn-plugin-event.git
tags:
synchronize: true
resyncReleases:
enabled: true
11 changes: 11 additions & 0 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Code Style

on:
pull_request:
branches: [ 'main', 'release-*' ]

jobs:

style:
uses: knative/actions/.github/workflows/style.yaml@main

16 changes: 16 additions & 0 deletions .github/workflows/images/test/eventshub/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM docker.io/library/golang:1.19 AS builder

COPY . /code
WORKDIR /code

RUN go build \
-o ./build/eventshub \
./vendor/knative.dev/reconciler-test/cmd/eventshub

FROM registry.access.redhat.com/ubi8/ubi-minimal:latest

COPY --from=builder /code/build/eventshub /app/eventshub

USER 65532

ENTRYPOINT ["/app/eventshub"]
16 changes: 16 additions & 0 deletions .github/workflows/images/test/wathola-forwarder/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM docker.io/library/golang:1.19 AS builder

COPY . /code
WORKDIR /code

RUN go build \
-o ./build/wathola-forwarder \
./vendor/knative.dev/eventing/test/test_images/wathola-forwarder

FROM registry.access.redhat.com/ubi8/ubi-minimal:latest

COPY --from=builder /code/build/wathola-forwarder /app/wathola-forwarder

USER 65532

ENTRYPOINT ["/app/wathola-forwarder"]
14 changes: 0 additions & 14 deletions .github/workflows/knative-go-build.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/knative-go-test.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/knative-security.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/knative-stale.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/knative-style.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/knative-verify.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/multiarch-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Multiarch builds

on:
push:
branches-ignore:
- 'main'
- 'ci/*'

jobs:
build-image:
name: Build image
uses: openshift-knative/hack/.github/workflows/multiarch-containerfile-build.yaml@main
secrets: inherit
strategy:
matrix:
image:
- eventshub
- wathola-forwarder
with:
image: ${{ matrix.image }}
containerfile: .github/workflows/images/test/${{ matrix.image }}/Containerfile
19 changes: 13 additions & 6 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# The OWNERS file is used by prow to automatically merge approved PRs.

approvers:
- technical-oversight-committee
- knative-release-leads
- client-writers
- kn-plugin-event-approvers
- alanfx
- rhuss
- dsimansk
- mgencur
- openshift-cherrypick-robot

reviewers:
- client-writers
- kn-plugin-event-approvers
- jrangelramos
- cardil
- lance
- lkingland
- matejvasek
- zroubalik
Loading

0 comments on commit 415cfb5

Please sign in to comment.