From bfbeaaf307b18b7804a7f753be01744f9252bfda Mon Sep 17 00:00:00 2001 From: Simon Marsh Date: Sat, 23 Dec 2023 10:06:08 +0000 Subject: [PATCH] add drone build --- .drone.yml | 31 +++++++++++++++++++++++++++++++ .gitignore | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- .version | 1 + 3 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 .drone.yml create mode 100644 .version diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..adb6c2a --- /dev/null +++ b/.drone.yml @@ -0,0 +1,31 @@ +--- +kind: pipeline +type: docker +name: default + +steps: + - name: build + image: golang + environment: + CGO_ENABLED: 0 + commands: + - go vet + - go build + + - name: upload artifact + image: git.burble.dn42/burble.dn42/drone-gitea-pkg-plugin:latest + settings: + token: + from_secret: TOKEN + version: .version + artifact: nomad-driver-containerd + package: nomad-driver-containerd + owner: burble + +--- +kind: secret +name: TOKEN +get: + path: burble.dn42/kv/data/drone/git.burble.dn42 + name: artifact-token + diff --git a/.gitignore b/.gitignore index 18b378b..79cf541 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,52 @@ .vagrant/ -/containerd-driver +/nomad-containerd-driver + +# ---> Emacs +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +# network security +/network-security.data diff --git a/.version b/.version new file mode 100644 index 0000000..3eefcb9 --- /dev/null +++ b/.version @@ -0,0 +1 @@ +1.0.0