feat: publish and deploy to apt.authelia.com (#2148)
This automates the process of publishing our `*.deb` files for stable Authelia releases to apt.authelia.com.pull/2154/head
parent
2a98e47299
commit
711b5ff0db
|
@ -58,6 +58,16 @@ steps:
|
||||||
depends_on: ~
|
depends_on: ~
|
||||||
if: build.tag != null || build.branch == "master" && build.env("CI_BYPASS") != "true"
|
if: build.tag != null || build.branch == "master" && build.env("CI_BYPASS") != "true"
|
||||||
|
|
||||||
|
- label: ":debian: :fedora: :ubuntu: Deploy APT"
|
||||||
|
command: "aptdeploy.sh"
|
||||||
|
depends_on:
|
||||||
|
- "build-deb-package-amd64"
|
||||||
|
- "build-deb-package-arm64"
|
||||||
|
- "build-deb-package-armhf"
|
||||||
|
agents:
|
||||||
|
upload: "fast"
|
||||||
|
if: build.tag != null
|
||||||
|
|
||||||
- label: ":book: Deploy Documentation"
|
- label: ":book: Deploy Documentation"
|
||||||
command: "syncdoc.sh"
|
command: "syncdoc.sh"
|
||||||
depends_on: ~
|
depends_on: ~
|
||||||
|
|
|
@ -33,3 +33,7 @@ if [[ "${BUILDKITE_LABEL}" == ":github: Deploy Artifacts" ]]; then
|
||||||
buildkite-agent artifact download "authelia-*.tar.gz*" .
|
buildkite-agent artifact download "authelia-*.tar.gz*" .
|
||||||
buildkite-agent artifact download "authelia_*.deb*" .
|
buildkite-agent artifact download "authelia_*.deb*" .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${BUILDKITE_LABEL}" == ":debian: :fedora: :ubuntu: Deploy APT" ]]; then
|
||||||
|
buildkite-agent artifact download "authelia_*.deb" .
|
||||||
|
fi
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
for FILE in authelia_amd64.deb authelia_arm64.deb authelia_armhf.deb; do
|
||||||
|
mv ${FILE} ${FILE/authelia_/authelia_${BUILDKITE_TAG//v}-1_}
|
||||||
|
done
|
||||||
|
|
||||||
|
for ARCH in amd64 arm64 armhf; do
|
||||||
|
echo "--- :debian: :fedora: :ubuntu: Deploy APT repository package for architecture: ${ARCH}"
|
||||||
|
curl -s -H "Authorization: Bearer ${BALTO_TOKEN}" \
|
||||||
|
-F "distribution=all" \
|
||||||
|
-F "readme=<$(echo README.md | sed -r 's/(\<img\ src\=\")(\.\/)/\1https:\/\/github.com\/authelia\/authelia\/raw\/master\//' | sed 's/\.\//https:\/\/github.com\/authelia\/authelia\/blob\/master\//g')" \
|
||||||
|
-F "package=@authelia_${BUILDKITE_TAG//v}-1_${ARCH}.deb" \
|
||||||
|
https://apt.authelia.com/stable/debian/upload/
|
||||||
|
done
|
|
@ -10,7 +10,7 @@ for FILE in \
|
||||||
authelia-public_html.tar.gz authelia-public_html.tar.gz.sha256;
|
authelia-public_html.tar.gz authelia-public_html.tar.gz.sha256;
|
||||||
do
|
do
|
||||||
# Add the version to the artifact name
|
# Add the version to the artifact name
|
||||||
mv $FILE ${FILE/authelia-/authelia-${BUILDKITE_TAG}-}
|
mv ${FILE} ${FILE/authelia-/authelia-${BUILDKITE_TAG}-}
|
||||||
artifacts+=(-a "${FILE/authelia-/authelia-${BUILDKITE_TAG}-}")
|
artifacts+=(-a "${FILE/authelia-/authelia-${BUILDKITE_TAG}-}")
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ for FILE in \
|
||||||
authelia_armhf.deb authelia_armhf.deb.sha256;
|
authelia_armhf.deb authelia_armhf.deb.sha256;
|
||||||
do
|
do
|
||||||
# Add the version to the artifact name
|
# Add the version to the artifact name
|
||||||
mv $FILE ${FILE/authelia_/authelia_${BUILDKITE_TAG}_}
|
mv ${FILE} ${FILE/authelia_/authelia_${BUILDKITE_TAG}_}
|
||||||
artifacts+=(-a "${FILE/authelia_/authelia_${BUILDKITE_TAG}_}")
|
artifacts+=(-a "${FILE/authelia_/authelia_${BUILDKITE_TAG}_}")
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@ The following is a simple diagram of the architecture:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
**Authelia** can be installed as a standalone service from the [AUR](https://aur.archlinux.org/packages/authelia/),
|
**Authelia** can be installed as a standalone service from the [AUR](https://aur.archlinux.org/packages/authelia/),
|
||||||
|
[APT](https://apt.authelia.com/stable/debian/packages/authelia/),
|
||||||
[FreeBSD Ports](https://svnweb.freebsd.org/ports/head/www/authelia/), or using a
|
[FreeBSD Ports](https://svnweb.freebsd.org/ports/head/www/authelia/), or using a
|
||||||
[Static binary](https://github.com/authelia/authelia/releases/latest),
|
[Static binary](https://github.com/authelia/authelia/releases/latest),
|
||||||
[.deb package]((https://github.com/authelia/authelia/releases/latest)), [Docker] or [Kubernetes] either manually or via
|
[.deb package]((https://github.com/authelia/authelia/releases/latest)), [Docker] or [Kubernetes] either manually or via
|
||||||
|
@ -299,6 +300,11 @@ Companies contributing to Authelia will have a specical mention below. [[Become
|
||||||
<a href="https://opencollective.com/authelia-sponsors/sponsor/8/website"><img src="https://opencollective.com/authelia-sponsors/sponsor/8/avatar.svg"></a>
|
<a href="https://opencollective.com/authelia-sponsors/sponsor/8/website"><img src="https://opencollective.com/authelia-sponsors/sponsor/8/avatar.svg"></a>
|
||||||
<a href="https://opencollective.com/authelia-sponsors/sponsor/9/website"><img src="https://opencollective.com/authelia-sponsors/sponsor/9/avatar.svg"></a>
|
<a href="https://opencollective.com/authelia-sponsors/sponsor/9/website"><img src="https://opencollective.com/authelia-sponsors/sponsor/9/avatar.svg"></a>
|
||||||
|
|
||||||
|
#### Balto
|
||||||
|
|
||||||
|
Thank you to [<img src="./docs/images/logos/balto.svg" alt="Balto" width="32"> Balto](https://www.getbalto.com/) for
|
||||||
|
hosting our apt repository.
|
||||||
|
|
||||||
#### Digital Ocean
|
#### Digital Ocean
|
||||||
|
|
||||||
Thank you to [<img src="./docs/images/logos/digitalocean.svg" alt="Digital Ocean" width="32"> DigitalOcean](https://www.digitalocean.com/?from=Authelia) for
|
Thank you to [<img src="./docs/images/logos/digitalocean.svg" alt="Digital Ocean" width="32"> DigitalOcean](https://www.digitalocean.com/?from=Authelia) for
|
||||||
|
|
|
@ -0,0 +1,90 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="30.638742mm"
|
||||||
|
height="7.9375401mm"
|
||||||
|
viewBox="0 0 30.638742 7.9375401"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
inkscape:version="1.0beta2 (2b71d25, 2019-12-03)"
|
||||||
|
sodipodi:docname="Logo.svg">
|
||||||
|
<style
|
||||||
|
id="style35"></style>
|
||||||
|
<defs
|
||||||
|
id="defs2" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="11.2"
|
||||||
|
inkscape:cx="38.03386"
|
||||||
|
inkscape:cy="17.96534"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
inkscape:document-rotation="0"
|
||||||
|
showgrid="true"
|
||||||
|
inkscape:window-width="1600"
|
||||||
|
inkscape:window-height="1209"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="23"
|
||||||
|
inkscape:window-maximized="0">
|
||||||
|
<inkscape:grid
|
||||||
|
originy="-144.19792"
|
||||||
|
originx="-90.222915"
|
||||||
|
id="grid20"
|
||||||
|
type="xygrid" />
|
||||||
|
</sodipodi:namedview>
|
||||||
|
<metadata
|
||||||
|
id="metadata5">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
transform="translate(-90.222917,-144.19792)"
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path14"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10.58329999999999949px;line-height:1.25;font-family:'Montserrat Alternates';-inkscape-font-specification:'Montserrat Alternates Bold';fill:#0055d6;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 95.906247,146.27227 c 0.529165,0 1.008939,0.12347 1.439324,0.37041 0.437447,0.23989 0.77964,0.58209 1.02658,1.02658 0.246947,0.43745 0.37042,0.94897 0.37042,1.53458 0,0.58561 -0.123473,1.10067 -0.37042,1.54516 -0.24694,0.43745 -0.589133,0.77964 -1.02658,1.02658 -0.430385,0.23989 -0.910159,0.35984 -1.439324,0.35984 -1.979164,0 -3.831247,0 -5.68333,0 l 0.330566,-1.4726 1.957889,-0.0178 c -0.682235,-2.01853 -1.792931,-5.05462 -2.288455,-6.4471 l 1.897472,2e-5 1.197269,3.28196 c 0.392654,-0.78934 1.483869,-1.20763 2.588565,-1.20763 z m -0.285749,4.50848 c 0.423332,0 0.769053,-0.14111 1.037163,-0.42333 0.275166,-0.28927 0.412749,-0.6738 0.412749,-1.15358 0,-0.47977 -0.137583,-0.86077 -0.412749,-1.14299 -0.26811,-0.28928 -0.613831,-0.43392 -1.037163,-0.43392 -0.423332,0 -0.772581,0.14464 -1.047747,0.43392 -0.26811,0.28222 -0.402165,0.66322 -0.402165,1.14299 0,0.47978 0.134055,0.86431 0.402165,1.15358 0.275166,0.28222 0.624415,0.42333 1.047747,0.42333 z"
|
||||||
|
sodipodi:nodetypes="sccscccccccccsscscscscsc" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path16"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10.58329999999999949px;line-height:1.25;font-family:'Montserrat Alternates';-inkscape-font-specification:'Montserrat Alternates Bold';fill:#0055d6;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 105.61592,146.35693 v 5.69382 h -1.57691 v -0.65617 q -0.61384,0.74084 -1.778,0.74084 -0.80433,0 -1.46049,-0.35984 -0.64558,-0.35983 -1.015991,-1.02658 -0.37042,-0.66674 -0.37042,-1.54516 0,-0.87841 0.37042,-1.54516 0.370411,-0.66675 1.015991,-1.02658 0.65616,-0.35983 1.46049,-0.35983 1.09008,0 1.70391,0.68791 v -0.60325 z m -3.06916,4.42382 q 0.62442,0 1.03716,-0.42333 0.41275,-0.43391 0.41275,-1.15358 0,-0.71966 -0.41275,-1.14299 -0.41274,-0.43392 -1.03716,-0.43392 -0.635,0 -1.04775,0.43392 -0.41274,0.42333 -0.41274,1.14299 0,0.71967 0.41274,1.15358 0.41275,0.42333 1.04775,0.42333 z" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path18"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10.58329999999999949px;line-height:1.25;font-family:'Montserrat Alternates';-inkscape-font-specification:'Montserrat Alternates Bold';fill:#0055d6;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 109.1767,152.13542 q -0.96308,0 -1.50283,-0.508 -0.53975,-0.51858 -0.53975,-1.4605 v -5.96898 h 1.651 v 5.87373 q 0,0.35983 0.17992,0.56092 0.19049,0.1905 0.52916,0.1905 0.127,0 0.254,-0.0317 0.13758,-0.0318 0.21167,-0.0741 l 0.0741,1.28058 q -0.41275,0.13759 -0.85725,0.13759 z" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path20"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10.58329999999999949px;line-height:1.25;font-family:'Montserrat Alternates';-inkscape-font-specification:'Montserrat Alternates Bold';fill:#0055d6;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 114.28381,151.77558 q -0.24342,0.17992 -0.60325,0.27517 -0.34925,0.0847 -0.73025,0.0847 -1.02658,0 -1.57691,-0.51859 -0.55033,-0.51858 -0.55033,-1.52399 v -4.99532 h 1.65099 v 1.38641 h 1.40758 v 1.27 h -1.40758 v 2.31774 q 0,0.35983 0.17992,0.56092 0.17991,0.1905 0.51858,0.1905 0.381,0 0.67733,-0.21167 z" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path22"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10.58329999999999949px;line-height:1.25;font-family:'Montserrat Alternates';-inkscape-font-specification:'Montserrat Alternates Bold';fill:#0055d6;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 117.73958,152.13542 q -0.89958,0 -1.61924,-0.37042 -0.70908,-0.381 -1.11125,-1.04775 -0.40216,-0.66674 -0.40216,-1.51341 0,-0.84666 0.40216,-1.51341 0.40217,-0.66675 1.11125,-1.03716 0.71966,-0.381 1.61924,-0.381 0.89958,0 1.60866,0.381 0.70909,0.37041 1.11125,1.03716 0.40217,0.66675 0.40217,1.51341 0,0.84667 -0.40217,1.51341 -0.40216,0.66675 -1.11125,1.04775 -0.70908,0.37042 -1.60866,0.37042 z m 0,-1.35467 q 0.635,0 1.03717,-0.42333 0.41274,-0.43391 0.41274,-1.15358 0,-0.71966 -0.41274,-1.14299 -0.40217,-0.43392 -1.03717,-0.43392 -0.635,0 -1.04774,0.43392 -0.41275,0.42333 -0.41275,1.14299 0,0.71967 0.41275,1.15358 0.41274,0.42333 1.04774,0.42333 z" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 6.7 KiB |
Loading…
Reference in New Issue