bump akkoma

This commit is contained in:
Erin Shepherd 2025-03-02 13:26:33 +01:00
parent c872e4210e
commit bb7f5acd14
3 changed files with 30 additions and 104 deletions

View file

@ -1,76 +0,0 @@
package:
name: akkoma
version: 3.10.4
epoch: 0
description: "Magically expressive social media"
target-architecture:
- x86_64
copyright:
- attestation: |
Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
Copyright © 2022 Akkoma Authors <https://akkoma.social/>
license: "AGPL-3.0-or-later"
- paths:
- "docs/*"
attestation: |
Copyright © 2021-2022 Pleroma Authors <https://pleroma.social/>
Copyright © 2022 Akkoma Authors <https://akkoma.social/>
license: "CC-BY-4.0"
- paths:
- "priv/static/images/pleroma-fox-tan-smol.png"
attestation: |
Copyright © 2019 shitposter.club
license: "CC-BY-4.0"
- paths:
- "priv/static/instance/thumbnail.jpeg"
attestation: |
Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
license: "CC-BY-4.0"
dependencies:
runtime:
- alpine-baselayout-data
- ca-certificates-bundle
- ffmpeg
- imagemagick
- exiftool
- ncurses
- postgresql-client
- file
- libmagic
environment:
contents:
repositories:
- https://dl-cdn.alpinelinux.org/alpine/edge/main
- https://dl-cdn.alpinelinux.org/alpine/edge/community
packages:
- alpine-baselayout-data
- ca-certificates-bundle
- busybox
- unzip
accounts:
users:
- username: akkoma
uid: 1001
gid: 1001
groups:
- groupname: akkoma
gid: 1001
members: ["akkoma"]
pipeline:
- uses: fetch
with:
uri: "https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64-musl.zip"
expected-sha256: "a5e4254761e3fd21400e1520f96d186c458a717cd5a5ea4229d9c378c82198ba"
extract: false
- name: Unpack
runs: |
unzip akkoma-amd64-musl.zip
mkdir -p ${{targets.contextdir}}/usr/akkoma
cp -R release/* ${{targets.contextdir}}/usr/akkoma
- name: Create directories
runs: |
mkdir -p ${{targets.contextdir}}/etc/akkoma
mkdir -p ${{targets.contextdir}}/var/lib/akkoma/uploads
mkdir -p ${{targets.contextdir}}/var/lib/akkoma/static
chown -R akkoma:akkoma ${{targets.contextdir}}/var/lib/akkoma

View file

@ -1,6 +1,6 @@
package:
name: akkoma
version: 3.11.0
version: 3.15.1
epoch: 0
description: "Magically expressive social media"
target-architecture:
@ -12,30 +12,30 @@ package:
Copyright © 2022 Akkoma Authors <https://akkoma.social/>
license: "AGPL-3.0-or-later"
- paths:
- "docs/*"
- "docs/*"
attestation: |
Copyright © 2021-2022 Pleroma Authors <https://pleroma.social/>
Copyright © 2022 Akkoma Authors <https://akkoma.social/>
license: "CC-BY-4.0"
- paths:
- "priv/static/images/pleroma-fox-tan-smol.png"
- "priv/static/images/pleroma-fox-tan-smol.png"
attestation: |
Copyright © 2019 shitposter.club
license: "CC-BY-4.0"
- paths:
- "priv/static/instance/thumbnail.jpeg"
- "priv/static/instance/thumbnail.jpeg"
attestation: |
Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
license: "CC-BY-4.0"
dependencies:
runtime:
- alpine-baselayout-data
- ca-certificates-bundle
- ffmpeg
- imagemagick
- exiftool
- ncurses
- postgresql-client
- ffmpeg
- imagemagick
- exiftool
- ncurses
- postgresql-client
- file
- libmagic
environment:
@ -47,18 +47,18 @@ environment:
- alpine-baselayout-data
- busybox
- ca-certificates-bundle
- git
- gcc
- g++
- musl-dev
- make
- cmake
- file-dev
- exiftool
- ffmpeg
- imagemagick
- libmagic
- ncurses
- git
- gcc
- g++
- musl-dev
- make
- cmake
- file-dev
- exiftool
- ffmpeg
- imagemagick
- libmagic
- ncurses
- postgresql-client
- elixir
accounts:
@ -74,12 +74,13 @@ environment:
pipeline:
- uses: git-checkout
with:
repository: https://git.alioth.systems/mirrors/akkoma.git
repository: https://akkoma.dev/AkkomaGang/akkoma.git
tag: v${{package.version}}
- name: Build OTP application
runs: |
set -x
export MIX_ENV=prod
export ERL_FLAGS="+JMsingle true" # required for cross-builds to work
mix local.hex --force
mix local.rebar --force
mix deps.get --only=prod

View file

@ -1,14 +1,15 @@
contents:
repositories:
- 'https://dl-cdn.alpinelinux.org/alpine/edge/main'
- 'https://dl-cdn.alpinelinux.org/alpine/edge/community'
- '@alioth https://git.alioth.systems/api/packages/alioth/alpine/edge/main'
- "https://dl-cdn.alpinelinux.org/alpine/edge/main"
- "https://dl-cdn.alpinelinux.org/alpine/edge/community"
- "@alioth https://git.alioth.systems/api/packages/alioth/alpine/edge/main"
keyring:
- 'https://git.alioth.systems/api/packages/alioth/alpine/key'
- "https://git.alioth.systems/api/packages/alioth/alpine/key"
packages:
- alpine-base
- akkoma=3.11.0@alioth
- akkoma=3.15.1@alioth
archs:
- aarch64
- x86_64
environment:
PATH: /usr/sbin:/sbin:/usr/bin:/bin:/usr/akkoma/bin