Merge branch 'main' of github.com:OliveTin/OliveTin
This commit is contained in:
commit
da2ea12f30
|
|
@ -0,0 +1,23 @@
|
||||||
|
name: "Jenkins RC Build"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
reason:
|
||||||
|
description: "Reason"
|
||||||
|
required: true
|
||||||
|
default: "no reason given"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
jenkins-trigger:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger jenkins job
|
||||||
|
uses: appleboy/jenkins-action@master
|
||||||
|
with:
|
||||||
|
url: ${{ secrets.JENKINS_URL }}
|
||||||
|
user: ${{ secrets.JENKINS_USER }}
|
||||||
|
token: ${{ secrets.JENKINS_TOKEN }}
|
||||||
|
job: "OliveTin/OliveTin-rc-builder"
|
||||||
9
Makefile
9
Makefile
|
|
@ -22,7 +22,14 @@ daemon-unittests:
|
||||||
go test ./... -coverprofile reports/unittests.out
|
go test ./... -coverprofile reports/unittests.out
|
||||||
go tool cover -html=reports/unittests.out -o reports/unittests.html
|
go tool cover -html=reports/unittests.out -o reports/unittests.html
|
||||||
|
|
||||||
grpc:
|
go-tools:
|
||||||
|
go install "github.com/bufbuild/buf/cmd/buf"
|
||||||
|
go install "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
|
||||||
|
go install "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
|
||||||
|
go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
||||||
|
go install "google.golang.org/protobuf/cmd/protoc-gen-go"
|
||||||
|
|
||||||
|
grpc: go-tools
|
||||||
buf generate
|
buf generate
|
||||||
|
|
||||||
podman-image:
|
podman-image:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue