apkbuilds @ 840635b5708b114ff010bf5fedf55b3fd67a8960

  1diff --git a/README.md b/README.md
  2index 891a3d131883f0bc3d14bfaf5a8b764aed0247f8..22ad47204cb216108d92a9bd488f5a580a9fccde 100644
  3--- a/README.md
  4+++ b/README.md
  5@@ -10,7 +10,7 @@
  6 If for whatever reason you want to add this repo:
  7 
  8 ```shell
  9-echo "https://artifacts.gabrielgio.me/repo/v3.19/" >> /etc/apk/repositories
 10+echo "https://artifacts.gabrielgio.me/repo/v3.20/" >> /etc/apk/repositories
 11 ```
 12 
 13 Then trust me:
 14@@ -20,7 +20,7 @@ curl https://artifacts.gabrielgio.me/repo/mail%40gabrielgio.me-62ddc4dc.rsa.pub \
 15     -o  /etc/apk/keys/mail@gabrielgio.me-62ddc4dc.rsa.pub
 16 ```
 17 
 18-# Apks Alpine 3.19
 19+# Apks Alpine 3.20
 20 
 21 For docs check https://apkdoc.gabrielgio.me/
 22 
 23diff --git a/build.yml b/build.yml
 24deleted file mode 100644
 25index 7a3ba59e7c1acf24cb30bf1a61ac25e89f454302..0000000000000000000000000000000000000000
 26--- a/build.yml
 27+++ /dev/null
 28@@ -1,39 +0,0 @@
 29-image: alpine/3.19
 30-repositories:
 31-  gabrielgio.me: >
 32-    https://artifacts.gabrielgio.me/repo/v3.19/
 33-    https://artifacts.gabrielgio.me/repo/mail%40gabrielgio.me-62ddc4dc.rsa.pub
 34-    mail@gabrielgio.me-62ddc4dc.rsa.pub
 35-packages:
 36-  - openssl
 37-  - rsync
 38-  - alpine-sdk
 39-  - minify
 40-  - apkdoc
 41-environment:
 42-  remote: builds@gabrielgio.me
 43-  remote_path: /var/www/artifacts.gabrielgio.me/repo/
 44-  packages: []
 45-sources:
 46-  - https://git.sr.ht/~gabrielgio/apkbuilds
 47-secrets:
 48-  - 008c4f67-b864-47f8-9790-cd32f2ae8516
 49-  - df9d57f4-43bb-4084-a748-dbf02848bdd0
 50-  - d8a9e8ed-cdb0-4e0e-9238-361acbe8611f
 51-tasks:
 52-  - setup: |
 53-      cd apkbuilds 
 54-      ./pkgkit add-repo -s apks ~/.abuild/mail@gabrielgio.me-62ddc4dc.rsa
 55-  - build: |
 56-      cd apkbuilds
 57-      ./pkgkit build -cu "${packages[@]}"
 58-  - deploy: |
 59-      cd apkbuilds
 60-      ./pkgkit upload "$remote" "$remote_path" "${packages[@]}"
 61-  - doc: |
 62-      cd apkbuilds
 63-      sshopts="ssh -o StrictHostKeyChecking=no"
 64-      apkdoc -u "https://artifacts.gabrielgio.me/repo/v3.19/x86_64/APKINDEX.tar.gz" -f docs/index.html -o index.html
 65-      minify -o index.html index.html
 66-      rsync --rsh="$sshopts" -rP index.html $remote:/var/www/apkdoc.gabrielgio.me/
 67-
 68diff --git a/docs/index.html b/docs/index.html
 69index 802aabc8401914e1ab08ca2d9414e27722801fef..655c1e200cdf069ad7abc2a0c237bd56453f9f89 100644
 70--- a/docs/index.html
 71+++ b/docs/index.html
 72@@ -535,10 +535,10 @@ <header id="title-block-header">
 73 <h1 class="title">Gabriel's apk repo</h1>
 74 </header>
 75 <p> To enable this repository:</p>
 76-<code>echo "https://artifacts.gabrielgio.me/repo/v3.19/" >> /etc/apk/repositories
 77+<code>echo "https://artifacts.gabrielgio.me/repo/v3.20/" >> /etc/apk/repositories
 78 curl https://artifacts.gabrielgio.me/repo/mail%40gabrielgio.me-62ddc4dc.rsa.pub -o  /etc/apk/keys/mail@gabrielgio.me-62ddc4dc.rsa.pub</code>
 79 
 80-<h1 id="apks-alpine">Apks Alpine 3.19</h1>
 81+<h1 id="apks-alpine">Apks Alpine 3.20</h1>
 82 {{ range $e := . }}
 83 <h2 id="{{ $e.Name  }}">{{ $e.Name  }}</h2>
 84     {{ range $name, $value := ($e.Properties) }}
 85diff --git a/submit-builds b/submit-builds
 86deleted file mode 100755
 87index eada36932b784ee1af013c64ca5dc911c872152b..0000000000000000000000000000000000000000
 88--- a/submit-builds
 89+++ /dev/null
 90@@ -1,66 +0,0 @@
 91-#!/bin/sh
 92-upstream=https://builds.sr.ht
 93-manifest=build.yml
 94-
 95-if [ -e ~/.config/sr.ht ]
 96-then
 97-	. ~/.config/sr.ht
 98-fi
 99-
100-while getopts m:u:t:h flag
101-do
102-	case $flag in
103-		u)
104-			upstream="$OPTARG"
105-			;;
106-		t)
107-			bearer_token="$OPTARG"
108-			;;
109-		m)
110-			manifest="$OPTARG"
111-			;;
112-		h)
113-			echo "Usage: $0 [-u https://upstream...] [-t oauth token] <packages...>"
114-			exit 0
115-			;;
116-	esac
117-done
118-shift $((OPTIND-1))
119-
120-builds=""
121-note=""
122-for target in $*
123-do
124-	if [ "$builds" = "" ]
125-	then
126-		builds="'${target#sr.ht/}'"
127-		note="${target#sr.ht/}"
128-	else
129-		builds="$builds, '${target#sr.ht/}'"
130-		if [ "${#note}" -lt 128 ]
131-		then
132-			note="$note, ${target#sr.ht/}"
133-		fi
134-	fi
135-done
136-
137-vars="$(sed "s/packages: \\[\\]/packages: [$builds]/g" < $manifest | jq -sR '{
138-	"manifest": .,
139-	"tags": ["apkbuilds"],
140-	"note": "'"$note"'"
141-}')"
142-query="$(jq -sR '.' <<"EOF"
143-mutation SubmitJob($manifest: String!, $tags: [String!]!, $note: String!) {
144-	submit(manifest: $manifest, tags: $tags, note: $note) {
145-		id, tags
146-	}
147-}
148-EOF
149-)"
150-
151-curl --oauth2-bearer "$bearer_token" \
152-	-H Content-Type:application/json \
153-	-d '{
154-		"query": '"$query"',
155-		"variables": '"$vars"'
156-	}' "$upstream/query" | jq .