From owner-svn-ports-head@freebsd.org Mon Sep 23 21:32:46 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 406221218D0; Mon, 23 Sep 2019 21:32:46 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ccxB14DRz4ZCK; Mon, 23 Sep 2019 21:32:46 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0749D1D0D1; Mon, 23 Sep 2019 21:32:46 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8NLWjhl008549; Mon, 23 Sep 2019 21:32:45 GMT (envelope-from pizzamig@FreeBSD.org) Received: (from pizzamig@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8NLWjOl008544; Mon, 23 Sep 2019 21:32:45 GMT (envelope-from pizzamig@FreeBSD.org) Message-Id: <201909232132.x8NLWjOl008544@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pizzamig set sender to pizzamig@FreeBSD.org using -f From: Luca Pizzamiglio Date: Mon, 23 Sep 2019 21:32:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512683 - in head/sysutils: . nomad-pot-driver nomad-pot-driver/files X-SVN-Group: ports-head X-SVN-Commit-Author: pizzamig X-SVN-Commit-Paths: in head/sysutils: . nomad-pot-driver nomad-pot-driver/files X-SVN-Commit-Revision: 512683 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Sep 2019 21:32:46 -0000 Author: pizzamig Date: Mon Sep 23 21:32:44 2019 New Revision: 512683 URL: https://svnweb.freebsd.org/changeset/ports/512683 Log: sysutils/nomad-pot-driver: add new port This driver allows to orchestrate jails created with sysutils/pot via the scheduler sysutils/nomad Sponsored by: trivago N.V. Added: head/sysutils/nomad-pot-driver/ head/sysutils/nomad-pot-driver/Makefile (contents, props changed) head/sysutils/nomad-pot-driver/distinfo (contents, props changed) head/sysutils/nomad-pot-driver/files/ head/sysutils/nomad-pot-driver/files/pkg-message.in (contents, props changed) head/sysutils/nomad-pot-driver/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Sep 23 21:24:28 2019 (r512682) +++ head/sysutils/Makefile Mon Sep 23 21:32:44 2019 (r512683) @@ -742,6 +742,7 @@ SUBDIR += no-login SUBDIR += node_exporter SUBDIR += nomad + SUBDIR += nomad-pot-driver SUBDIR += npadmin SUBDIR += nq SUBDIR += nrg2iso Added: head/sysutils/nomad-pot-driver/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nomad-pot-driver/Makefile Mon Sep 23 21:32:44 2019 (r512683) @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= nomad-pot-driver +DISTVERSIONPREFIX= v +DISTVERSION= 0.2 +DISTVERSIONSUFFIX= -9-g5b02965 +CATEGORIES= sysutils + +MAINTAINER= pizzamig@FreeBSD.org +COMMENT= Nomad driver to support pot jails + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= pot:sysutils/pot \ + nomad:sysutils/nomad + +USES= compiler go +USE_GITHUB= yes +GH_ACCOUNT= trivago +GH_SUBDIR= src/github.com/trivago/nomad-pot-driver + +PLIST_FILES= libexec/nomad/plugins/nomad-pot-driver +SUB_FILES= pkg-message + +do-build: + @cd ${WRKSRC}/src/github.com/trivago/nomad-pot-driver && \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ + -o bin/nomad-pot-driver + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nomad/plugins + ${INSTALL_SCRIPT} ${WRKSRC}/src/github.com/trivago/nomad-pot-driver/bin/nomad-pot-driver ${STAGEDIR}${PREFIX}/libexec/nomad/plugins + +.include + +.if ${COMPILER_TYPE} == clang +BUILD_ENV= CC=clang +.endif + +.include Added: head/sysutils/nomad-pot-driver/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nomad-pot-driver/distinfo Mon Sep 23 21:32:44 2019 (r512683) @@ -0,0 +1,3 @@ +TIMESTAMP = 1568968809 +SHA256 (trivago-nomad-pot-driver-v0.2-9-g5b02965_GH0.tar.gz) = dbd369fccebdc068af771b7a661f7b84b637af168c4a4b44da19a6db41da49a6 +SIZE (trivago-nomad-pot-driver-v0.2-9-g5b02965_GH0.tar.gz) = 3569543 Added: head/sysutils/nomad-pot-driver/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nomad-pot-driver/files/pkg-message.in Mon Sep 23 21:32:44 2019 (r512683) @@ -0,0 +1,14 @@ +[ +{ type: install + message: <