Update .forgejo/workflows/packages.yaml
This commit is contained in:
parent
f6c86146fb
commit
5343e81d01
1 changed files with 154 additions and 39 deletions
|
|
@ -103,39 +103,6 @@ jobs:
|
|||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
gerbolyze:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: gerbolyze
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
username: xengi
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE"
|
||||
- name: Install dependencies
|
||||
run: yay -Sy --needed --noconfirm --noprogressbar curl jq
|
||||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -fsSL "https://pypi.org/pypi/${{ env.PACKAGE_NAME }}/json" | jq -er '.info.version') >> "$FORGEJO_OUTPUT"
|
||||
echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
aur-dependencies: |
|
||||
python-pcb-tools-git
|
||||
test-command: gerbolyze --help
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
go-aws-sso:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
|
|
@ -167,10 +134,98 @@ jobs:
|
|||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
yawsso:
|
||||
img2xterm:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: yawsso
|
||||
PACKAGE_NAME: img2xterm
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
username: xengi
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE"
|
||||
- name: Install dependencies
|
||||
run: yay -Sy --needed --noconfirm --noprogressbar curl jq
|
||||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -fsSL -H "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/rossy/${{ env.PACKAGE_NAME }}/tags?per_page=1 | jq -er '.[0].name | ltrimstr("v")') >> "$FORGEJO_OUTPUT"
|
||||
echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
test-command: img2xterm --help
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
img2xterm-git:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: img2xterm-git
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
username: xengi
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: '0'
|
||||
aur-version: '0'
|
||||
update-pkgrel: 'false'
|
||||
git-package: 'true'
|
||||
test-command: img2xterm --help
|
||||
commit-message: bumped git commit
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated git commit
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
projen:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: projen
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
username: xengi
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE"
|
||||
- name: Install dependencies
|
||||
run: yay -Sy --needed --noconfirm --noprogressbar curl jq
|
||||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -fsSL https://registry.npmjs.org/${{ env.PACKAGE_NAME }} | jq -er '."dist-tags".latest') >> "$FORGEJO_OUTPUT"
|
||||
echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
test-command: projen --help
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
python-driftdeck:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: python-driftdeck
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
|
|
@ -191,7 +246,102 @@ jobs:
|
|||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
test-command: yawsso --help
|
||||
test-command: driftdeck --help
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
python-q:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: python-q
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
username: xengi
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE"
|
||||
- name: Install dependencies
|
||||
run: yay -Sy --needed --noconfirm --noprogressbar curl jq
|
||||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -fsSL "https://pypi.org/pypi/${{ env.PACKAGE_NAME }}/json" | jq -er '.info.version') >> "$FORGEJO_OUTPUT"
|
||||
echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
test-command: python -m q
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
rqlite:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: rqlite
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
username: xengi
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE"
|
||||
- name: Install dependencies
|
||||
run: yay -Sy --needed --noconfirm --noprogressbar curl jq
|
||||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -fsSL -H "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{ env.PACKAGE_NAME }}/${{ env.PACKAGE_NAME }}/releases/latest | jq -er '.tag_name | ltrimstr("v")') >> "$FORGEJO_OUTPUT"
|
||||
echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
test-command: |
|
||||
rqlited --help
|
||||
rqlite --help
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
sanic:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: sanic
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
username: xengi
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE"
|
||||
- name: Install dependencies
|
||||
run: yay -Sy --needed --noconfirm --noprogressbar curl jq
|
||||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -fsSL "https://gitlab.com/api/v4/projects/$(printf '%s' 'xengi/${{ env.PACKAGE_NAME }}' | jq -sRr @uri)/releases/permalink/latest" | jq -r '.tag_name') >> "$FORGEJO_OUTPUT"
|
||||
echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
test-command: sanic --help
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
|
|
@ -232,8 +382,6 @@ jobs:
|
|||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
|
||||
|
||||
virtualfish:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
|
|
@ -267,11 +415,11 @@ jobs:
|
|||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
projen:
|
||||
|
||||
yawsso:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: projen
|
||||
PACKAGE_NAME: yawsso
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
|
|
@ -285,47 +433,14 @@ jobs:
|
|||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -fsSL https://registry.npmjs.org/${{ env.PACKAGE_NAME }} | jq -er '."dist-tags".latest') >> "$FORGEJO_OUTPUT"
|
||||
echo upstream=$(curl -fsSL "https://pypi.org/pypi/${{ env.PACKAGE_NAME }}/json" | jq -er '.info.version') >> "$FORGEJO_OUTPUT"
|
||||
echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
test-command: projen --help
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
|
||||
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
|
||||
|
||||
rqlite:
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
PACKAGE_NAME: rqlite
|
||||
container:
|
||||
image: git.sb20.xengi.de/xengi/archlinux-aur:latest
|
||||
credentials:
|
||||
username: xengi
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: git clone "https://x-access-token:${FORGEJO_TOKEN}@${FORGEJO_SERVER_URL#https://}/${FORGEJO_REPOSITORY}.git" "$FORGEJO_WORKSPACE"
|
||||
- name: Install dependencies
|
||||
run: yay -Sy --needed --noconfirm --noprogressbar curl jq
|
||||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -fsSL -H "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{ env.PACKAGE_NAME }}/${{ env.PACKAGE_NAME }}/releases/latest | jq -er '.tag_name | ltrimstr("v")') >> "$FORGEJO_OUTPUT"
|
||||
echo aur=$(curl -fsSL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -er '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
|
||||
- uses: ./.forgejo/actions/update-aur-package
|
||||
with:
|
||||
package-name: ${{ env.PACKAGE_NAME }}
|
||||
upstream-version: ${{ steps.versions.outputs.upstream }}
|
||||
aur-version: ${{ steps.versions.outputs.aur }}
|
||||
test-command: |
|
||||
rqlited --help
|
||||
rqlite --help
|
||||
test-command: yawsso --help
|
||||
commit-message: bumped to version ${{ steps.versions.outputs.upstream }}
|
||||
notify-message: ${{ env.PACKAGE_NAME }} updated from ${{ steps.versions.outputs.aur }} to ${{ steps.versions.outputs.upstream }}
|
||||
aur-ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue