From 0a8624420c6268ad1b8663396f86ea3b970263b3 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 28 Jan 2019 12:36:29 -0500 Subject: [PATCH] Move build.yml/submit-builds to top level --- build.yml | 29 ++++++++++++++++++++++++++++ sr.ht/build.yml | 2 +- sr.ht/submit-builds => submit-builds | 0 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 build.yml rename sr.ht/submit-builds => submit-builds (100%) diff --git a/build.yml b/build.yml new file mode 100644 index 0000000..3f10119 --- /dev/null +++ b/build.yml @@ -0,0 +1,29 @@ +image: alpine/edge +repositories: + sr.ht: > + https://mirror.sr.ht/alpine/sr.ht/ + https://mirror.sr.ht/alpine/sr.ht/alpine%40sr.ht.rsa.pub + alpine@sr.ht.rsa.pub +packages: + - openssl + - rsync +environment: + remote: deploy@mirror.sr.ht + remote_path: /var/www/mirror.sr.ht/alpine/sr.ht-2 + packages: [] +sources: + - https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds +secrets: + - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 # ssh deploy key + - d0adc1d4-af78-4852-920f-1134392f5d10 # package signing key +tasks: + - setup: | + cd sr.ht-apkbuilds + ./pkgkit add-repo -s sr.ht ~/.abuild/alpine@sr.ht.rsa + - build: | + cd sr.ht-apkbuilds + ./pkgkit build -cr $packages + - deploy: | + cd sr.ht-apkbuilds/sr.ht + sshopts="-o StrictHostKeyChecking=no" + ./pkgkit upload "$remote" "$remote_path" $packages diff --git a/sr.ht/build.yml b/sr.ht/build.yml index 3f10119..ba96180 100644 --- a/sr.ht/build.yml +++ b/sr.ht/build.yml @@ -9,7 +9,7 @@ packages: - rsync environment: remote: deploy@mirror.sr.ht - remote_path: /var/www/mirror.sr.ht/alpine/sr.ht-2 + remote_path: /var/www/mirror.sr.ht/alpine/sr.ht packages: [] sources: - https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds diff --git a/sr.ht/submit-builds b/submit-builds similarity index 100% rename from sr.ht/submit-builds rename to submit-builds -- 2.45.2