You've already forked Proxmox-Widget-Toolkit-Wrapper
Initialize Git Repository: 'Proxmox-Widget-Toolkit-Wrapper'
Proxmox Widget Toolkit Wrapper / Proxmox Widget Toolkit Wrapper (amd64, cicd.any, bookworm trixie, pve8 pbs3 pve9 pbs4) (push) Successful in 10s
Proxmox Widget Toolkit Wrapper / Proxmox Widget Toolkit Wrapper (arm64, cicd.any, bookworm trixie, pve8 pbs3 pve9 pbs4) (push) Successful in 10s
Proxmox Widget Toolkit Wrapper / Proxmox Widget Toolkit Wrapper (amd64, cicd.any, bookworm trixie, pve8 pbs3 pve9 pbs4) (push) Successful in 10s
Proxmox Widget Toolkit Wrapper / Proxmox Widget Toolkit Wrapper (arm64, cicd.any, bookworm trixie, pve8 pbs3 pve9 pbs4) (push) Successful in 10s
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
name: Proxmox Widget Toolkit Wrapper
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- release
|
||||
jobs:
|
||||
workflow:
|
||||
name: Proxmox Widget Toolkit Wrapper
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- architecture: amd64
|
||||
cicd: cicd.any
|
||||
codename: bookworm trixie
|
||||
component: pve8 pbs3 pve9 pbs4
|
||||
- architecture: arm64
|
||||
cicd: cicd.any
|
||||
codename: bookworm trixie
|
||||
component: pve8 pbs3 pve9 pbs4
|
||||
runs-on: ${{ matrix.cicd }}
|
||||
steps:
|
||||
- name: Repository (Workspace) [Checkout]
|
||||
uses: actions/checkout@v6
|
||||
- name: Environment [Source]
|
||||
id: environment
|
||||
run: |
|
||||
source './.env'
|
||||
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
|
||||
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
|
||||
- name: Proxmox Widget Toolkit Wrapper [Prepare Debian Package]
|
||||
run: |
|
||||
/usr/bin/sed --in-place --expression='s/Architecture:.*/Architecture: ${{ matrix.architecture }}/' './proxmox-widget-toolkit-wrapper/DEBIAN/control'
|
||||
/usr/bin/sed --in-place --expression='s/Version:.*/Version: ${{ steps.environment.outputs.version }}/' './proxmox-widget-toolkit-wrapper/DEBIAN/control'
|
||||
/usr/bin/chmod --verbose '0755' './proxmox-widget-toolkit-wrapper/DEBIAN/postinst'
|
||||
/usr/bin/chmod --verbose '0755' './proxmox-widget-toolkit-wrapper/DEBIAN/postrm'
|
||||
/usr/bin/chmod --verbose '0755' './proxmox-widget-toolkit-wrapper/DEBIAN/prerm'
|
||||
/usr/bin/chmod --verbose '0755' './proxmox-widget-toolkit-wrapper/usr/lib/proxmox-widget-toolkit/proxmox-no-subscription'
|
||||
- name: Debian Package [Generate]
|
||||
run: |
|
||||
/usr/bin/dpkg-gen './proxmox-widget-toolkit-wrapper'
|
||||
/usr/bin/mv --verbose './proxmox-widget-toolkit-wrapper.deb' './proxmox-widget-toolkit-wrapper_${{ steps.environment.outputs.version }}_${{ matrix.architecture }}.deb'
|
||||
- name: Release Debian Package [Configuration]
|
||||
run: |
|
||||
/usr/bin/echo '${{ secrets.REPOSITORY_SSH_PRIVATE_KEY }}' > './id_ed25519'
|
||||
/usr/bin/chmod --quiet '0400' './id_ed25519'
|
||||
/usr/bin/echo "REPOSITORY_CODENAME='${{ matrix.codename }}'" > './proxmox-widget-toolkit-wrapper_${{ steps.environment.outputs.version }}_${{ matrix.architecture }}.cfg'
|
||||
/usr/bin/echo "Set Configuration 'REPOSITORY_CODENAME' to '${{ matrix.codename }}'"
|
||||
/usr/bin/echo "REPOSITORY_COMPONENT='${{ matrix.component }}'" >> './proxmox-widget-toolkit-wrapper_${{ steps.environment.outputs.version }}_${{ matrix.architecture }}.cfg'
|
||||
/usr/bin/echo "Set Configuration 'REPOSITORY_COMPONENT' to '${{ matrix.component }}'"
|
||||
- name: Release Debian Package [PrivLab Repository]
|
||||
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||
with:
|
||||
name: Proxmox Widget Toolkit Wrapper v${{ steps.environment.outputs.version }}
|
||||
tag_name: v${{ steps.environment.outputs.version }}
|
||||
files: |
|
||||
proxmox-widget-toolkit-wrapper_${{ steps.environment.outputs.version }}_${{ matrix.architecture }}.deb
|
||||
- name: Release Debian Package [Advanced Package Tool Repository]
|
||||
run: |
|
||||
/usr/bin/scp -4 -B -C -i './id_ed25519' -o 'LogLevel QUIET' -o 'StrictHostKeyChecking no' -o "UserKnownHostsFile '/dev/null'" './proxmox-widget-toolkit-wrapper_${{ steps.environment.outputs.version }}_${{ matrix.architecture }}.deb' '${{ secrets.REPOSITORY_SSH_USER }}'@'${{ secrets.REPOSITORY_SSH_HOSTNAME }}':'${{ secrets.REPOSITORY_DESTINATION }}/proxmox-widget-toolkit-wrapper_${{ steps.environment.outputs.version }}_${{ matrix.architecture }}.deb'
|
||||
/usr/bin/scp -4 -B -C -i './id_ed25519' -o 'LogLevel QUIET' -o 'StrictHostKeyChecking no' -o "UserKnownHostsFile '/dev/null'" './proxmox-widget-toolkit-wrapper_${{ steps.environment.outputs.version }}_${{ matrix.architecture }}.cfg' '${{ secrets.REPOSITORY_SSH_USER }}'@'${{ secrets.REPOSITORY_SSH_HOSTNAME }}':'${{ secrets.REPOSITORY_DESTINATION }}/proxmox-widget-toolkit-wrapper_${{ steps.environment.outputs.version }}_${{ matrix.architecture }}.cfg'
|
||||
Reference in New Issue
Block a user