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 May 9, 2024
1 parent 25345a2 commit ec9855d
Show file tree
Hide file tree
Showing 29 changed files with 794 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
20 changes: 14 additions & 6 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# 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
- rhuss
- dsimansk
- mgencur
- cardil
- openshift-cherrypick-robot

reviewers:
- client-writers
- kn-plugin-event-approvers
- rhuss
- dsimansk
- mgencur
- cardil
- jrangelramos
- lkingland
- matejvasek
Loading

0 comments on commit ec9855d

Please sign in to comment.