Lets see if this works
All checks were successful
Build (artifact) / build (push) Successful in 1m13s
All checks were successful
Build (artifact) / build (push) Successful in 1m13s
This commit is contained in:
16
Makefile
16
Makefile
@@ -1,4 +1,4 @@
|
||||
VERSION := 1.1.5-beta
|
||||
VERSION := 1.1.6-beta
|
||||
BUILD := $(shell git rev-parse --short HEAD)
|
||||
|
||||
GO := go
|
||||
@@ -6,7 +6,7 @@ GO := go
|
||||
BUILD_FLAGS := -buildmode=pie -trimpath
|
||||
LDFLAGS := -linkmode=external -extldflags="-Wl,-z,relro,-z,now" -X git.nevets.tech/Keys/certman/common.Version=$(VERSION) -X git.nevets.tech/Keys/certman/common.Build=$(BUILD)
|
||||
|
||||
.PHONY: proto bundle client server executor build debug stage
|
||||
.PHONY: proto bundle client server executor build debug stage help
|
||||
|
||||
proto:
|
||||
@protoc --go_out=./proto --go-grpc_out=./proto proto/hook.proto
|
||||
@@ -37,4 +37,14 @@ debug: proto
|
||||
|
||||
stage: build
|
||||
@sudo cp ./certman /srv/vm-passthru/certman
|
||||
@ssh steven@192.168.122.44 updateCertman.sh
|
||||
@ssh steven@192.168.122.44 updateCertman.sh
|
||||
|
||||
help:
|
||||
@echo "proto - Generate gRPC proto stubs"
|
||||
@echo "bundle - Build bundled binary (client, server, executor)"
|
||||
@echo "client - Build client binary"
|
||||
@echo "server - Build server binary"
|
||||
@echo "executor - Build executor binary"
|
||||
@echo "build - Build all binaries"
|
||||
@echo "debug - Build bundled binary without stripping and hardening"
|
||||
@echo "stage - Build all binaries and upload to dev environment (vm)"
|
||||
Reference in New Issue
Block a user