Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/debian12 #8215

Merged
merged 74 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
f34d4e4
Move from debian 11 to debian 12
JeGoi Mar 20, 2024
e5befce
Debian12 on proxysql Dockerfile
JeGoi May 17, 2024
6276c45
Debian12: move from deb11 to deb12
JeGoi May 17, 2024
ce3a39a
Change from latest to feature-debian12 #NEED TO BE REVERTED LATER
JeGoi May 17, 2024
752e0fa
Rules replace spaces by tab
JeGoi May 17, 2024
0d299cc
test build package12 [perl-client]
stegar123 May 21, 2024
e77804a
add unittest for debian [perl-client]
stegar123 May 21, 2024
7f81e64
add sign-package for debian 12 [perl-client]
stegar123 May 21, 2024
e3b65ce
add upload package for debian 12 [perl-client]
stegar123 May 21, 2024
b6024ef
add packetfence-perl for debian 12 [perl]
stegar123 May 22, 2024
2a59103
packetfence-perl fix error buid debian12 [perl]
stegar123 May 22, 2024
f7be4d4
Remove reference to debian11 for debian12
JeGoi May 22, 2024
c9df5db
Move debian 11 to debian 12 missing part
JeGoi May 22, 2024
2665a8f
Update PF-perl container version
JeGoi May 22, 2024
6f397a2
test new build [perl]
JeGoi May 22, 2024
4ac71b9
upgrade [perl] modules
stegar123 May 22, 2024
dc3f56e
update changelog [perl]
stegar123 May 22, 2024
6833721
upgrade spec files for packetfence and debian
stegar123 May 23, 2024
0ee7f24
Wake up gitlab
JeGoi May 23, 2024
8052076
Fix mariadb on pfsetacls containers
JeGoi May 24, 2024
f7c0128
Fixing: PEP 668 – Marking Python base environments as “externally man…
JeGoi May 24, 2024
fc48556
Fixing: PEP 668 – Marking Python base environments as "externally man…
JeGoi May 24, 2024
cc66194
Fix sudo issue
JeGoi May 24, 2024
f185e55
Remove version of netdata and mariadb, we will use debian repos and v…
JeGoi May 24, 2024
387c9a5
Update redis conf to redis 5:7.0.15-1~deb12u1 config
JeGoi May 24, 2024
3d27dce
Remove python3-twisted-bin from control
JeGoi May 24, 2024
f64e4c3
Fix specific values for redis configs
JeGoi May 27, 2024
da914b8
Revert "Change from latest to feature-debian12 #NEED TO BE REVERTED L…
JeGoi May 27, 2024
11d3e3f
Remove vagrant image to default image see #8166
JeGoi May 28, 2024
cbec17c
Update bookworm vagrant version
JeGoi May 28, 2024
1c38305
jump to samba-4.20.1 version with bookworm
JeGoi May 28, 2024
39bcf01
CI: Fix AD samba answer
JeGoi May 29, 2024
19c7f90
CI: fix dot1x eap peap
JeGoi May 29, 2024
9de8623
Debian12 Bring back debian11 on other VM for tests
JeGoi Jun 3, 2024
26df02f
Revert "CI: fix dot1x eap peap"
JeGoi Jun 3, 2024
4b95e8b
Revert "CI: Fix AD samba answer"
JeGoi Jun 3, 2024
b647872
Debian12: Bring back debain11 to samba4ad for testing
JeGoi Jun 3, 2024
fb4e822
Debian12 adding -legacy to fix #8172 in tests
JeGoi Jun 3, 2024
a512c3d
Debian12 change OS value to ansible vars OS
JeGoi Jun 4, 2024
a42b5ae
Firewalld Start changing ssh module to exec module on venom tests
JeGoi Jun 5, 2024
721da09
Debian12 fix debianize.patch
JeGoi Jun 6, 2024
2f2e22d
Debian12 revert preprovisionning OS for nodes
JeGoi Jun 11, 2024
15a238b
Debian12 Add bookworm for packetfence-test on node01
JeGoi Jun 11, 2024
f619cad
Debian12 CI Nodes: add 13.2 for other deb needed on debian11
JeGoi Jun 17, 2024
66ead19
test pf_api_service_restart_async
stegar123 Jun 18, 2024
00a89b8
fix lib check_internet_access_on_host_with_ping
stegar123 Jun 18, 2024
61ebba8
restore pf_api_system_service_restart_async
stegar123 Jun 18, 2024
ff6f643
test Sanitize logs
stegar123 Jun 19, 2024
7d27022
update repo for wireless device
stegar123 Jun 19, 2024
bf49a69
variable ansible_distribution_release is not see by wrieless device […
stegar123 Jun 21, 2024
2418aeb
upgrade redis to 7.2.5 for rhel
stegar123 Jun 21, 2024
b598eee
add break_system_packages option for pip
stegar123 Jun 21, 2024
5facc3b
update installation o xmltodict
stegar123 Jun 21, 2024
9a29b59
pdate installation o xmltodict debian and redhat
stegar123 Jun 22, 2024
e1bde4e
fix issue for sanitize logs
stegar123 Jun 25, 2024
651265a
use ssh instead type exec for check_internet_access_on_host
stegar123 Jun 25, 2024
1c3a025
add retry for http on get_id_of_radius_audit_log_entry
stegar123 Jun 26, 2024
c5efbc2
remove time from check_radius_audit_log
stegar123 Jun 27, 2024
d6f4632
decrease retry to 3 seconds
stegar123 Jun 27, 2024
c78567e
change get_id_of_radius_audit_log_entry
stegar123 Jun 28, 2024
a205721
add custum config dor openssl.cnf on ntlm-auth-api container
stegar123 Jul 1, 2024
f0505db
fix dot1x_eap_tls issues
stegar123 Jul 1, 2024
788aaa9
openssl -legacy option is not supported on rhel8, I have added an exc…
stegar123 Jul 2, 2024
f5ea959
remove anused lines on run_tests.yml playbooks
stegar123 Jul 2, 2024
bd6c3b7
Upgrade Template-Toolkit 3.009 -> 3.010 [perl]
stegar123 Jul 4, 2024
b216169
improve wired_dot1x_eap_peap_firewall_sso_radius/56_check_firewall_ss…
stegar123 Jul 4, 2024
5cde33e
improve wired_dot1x_eap_peap_firewall_sso_https/56_check_firewall_ss…
stegar123 Jul 5, 2024
6bd63be
remove get_time task from check_radius_audit_log
stegar123 Jul 15, 2024
94cd2eb
restore no_log for Sanitize logs
stegar123 Jul 15, 2024
5323e8a
remove retry_if condition for check_mock_history_request check
stegar123 Jul 15, 2024
ec1c69e
remove trailing space
stegar123 Jul 15, 2024
ec01554
update box_version on addons/vagrant/inventory/hosts
stegar123 Jul 15, 2024
51b5866
upgrade golang
stegar123 Jul 15, 2024
d93ef85
Merge branch 'devel' into feature/debian12
stegar123 Jul 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main_packetfence-perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
if: ${{ contains( github.event.head_commit.message, '[perl]') || needs.build_preparation.outputs.path_changes == 'true' && needs.build_preparation.outputs.regex_match_branch != '' }}
strategy:
matrix:
images: ['debian', 'rhel8']
images: ['debian11', 'debian12', 'rhel8']
uses: ./.github/workflows/packetfence-perl_build_image_package.yml
needs: ['build_preparation']
with:
Expand All @@ -87,7 +87,7 @@ jobs:
unit_tests_packages:
strategy:
matrix:
images: ['debian', 'rhel8']
images: ['debian11', 'debian12', 'rhel8']
uses: ./.github/workflows/reusable_unit_test.yml
needs: ['build_preparation', 'build_images_and_packages']
with:
Expand All @@ -97,7 +97,7 @@ jobs:
sign_package:
strategy:
matrix:
images: ['debian', 'rhel8']
images: ['debian11', 'debian12', 'rhel8']
uses: ./.github/workflows/reusable_sign_packages.yml
needs: ['build_preparation', 'build_images_and_packages', 'unit_tests_packages']
with:
Expand All @@ -110,7 +110,7 @@ jobs:
upload_packages:
strategy:
matrix:
images: ['debian', 'rhel8']
images: ['debian11', 'debian12', 'rhel8']
uses: ./.github/workflows/reusable_upload_packages.yml
needs: ['build_preparation', 'build_images_and_packages', 'unit_tests_packages', 'sign_package']
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main_perl-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
if: ${{ contains( github.event.head_commit.message, '[perl-client]') || needs.build_preparation.outputs.path_changes == 'true' && needs.build_preparation.outputs.regex_match_branch != '' }}
strategy:
matrix:
images: ['debian', 'rhel8']
images: ['debian11', 'debian12', 'rhel8']
uses: ./.github/workflows/perl-client_build_package.yml
needs: ['build_preparation']
with:
Expand All @@ -84,7 +84,7 @@ jobs:
unit_tests_packages:
strategy:
matrix:
images: ['debian', 'rhel8']
images: ['debian11', 'debian12', 'rhel8']
uses: ./.github/workflows/reusable_unit_test.yml
needs: ['build_preparation', 'build_packages']
with:
Expand All @@ -94,7 +94,7 @@ jobs:
sign_package:
strategy:
matrix:
images: ['debian', 'rhel8']
images: ['debian11', 'debian12', 'rhel8']
uses: ./.github/workflows/reusable_sign_packages.yml
needs: ['build_preparation', 'build_packages', 'unit_tests_packages']
with:
Expand All @@ -107,7 +107,7 @@ jobs:
upload_packages:
strategy:
matrix:
images: ['debian', 'rhel8']
images: ['debian11', 'debian12', 'rhel8']
uses: ./.github/workflows/reusable_upload_packages.yml
needs: ['build_preparation', 'build_packages', 'unit_tests_packages', 'sign_package']
with:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/packetfence-perl_build_image_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,17 @@ jobs:
run: |
cd /root
set -e && python3 install_cpan.py -d dependencies.csv -vi true && ./build_package.sh
ls -la ${{ inputs._OUTPUT_DIRECTORY }}/${{inputs._IMAGE_TYPE}}/packages/
ls -la ${{ inputs._OUTPUT_DIRECTORY }}
ls -la ${{ inputs._OUTPUT_DIRECTORY }}/${{env.PATH_PACKAGE}}/packages/
env:
PATH_PACKAGE: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'rhel8' || 'debian' }}

- name: Upload the package to artifactory ${{inputs._IMAGE_TYPE}}
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACTORY_NAME }}
path: ${{ inputs._OUTPUT_DIRECTORY }}/${{ inputs._IMAGE_TYPE}}/packages/${{ env.PACKAGE_NAME }}
path: ${{ inputs._OUTPUT_DIRECTORY }}/${{ env.PATH_PACKAGE }}/packages/${{ env.PACKAGE_NAME }}
env:
PACKAGE_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'packetfence-perl-*.rpm' || 'packetfence-perl*.deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm' || 'package-deb' }}
PACKAGE_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'packetfence-perl-*.rpm' || inputs._IMAGE_TYPE == 'debian11' && 'packetfence-perl*.deb' || inputs._IMAGE_TYPE == 'debian12' && 'packetfence-perl*.deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm8' || inputs._IMAGE_TYPE == 'debian11' && 'package-deb11' || inputs._IMAGE_TYPE == 'debian12' && 'package-deb12' }}
PATH_PACKAGE: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'rhel8' || 'debian' }}
20 changes: 11 additions & 9 deletions .github/workflows/perl-client_build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: package-build
needs: git_checkout
container:
image: registry.gitlab.com/orange-opensource/gitlab-buildpkg/${{ inputs._IMAGE_TYPE == 'rhel8' && 'centos:8' || 'debian:bullseye'}}
image: registry.gitlab.com/orange-opensource/gitlab-buildpkg/${{ inputs._IMAGE_TYPE == 'rhel8' && 'centos:8' || inputs._IMAGE_TYPE == 'debian11' && 'debian:bullseye' || inputs._IMAGE_TYPE == 'debian12' && 'debian:bookworm' }}
env:
EXECUTION_DIRECTORY: '/mnt/packetfence/'
# volumes:
Expand All @@ -41,8 +41,10 @@ jobs:
run: dnf -y install rpm-sign python39 && python3.9 -m pip install -q -U pip && pip install -q pynacl requests

- name: Install Debian dependencies ${{ inputs._IMAGE_TYPE }}
if: inputs._IMAGE_TYPE == 'debian'
run: apt -qq update && apt -qq -y install python3 python3-pip && python3 -m pip install -q -U pip && pip install -q pynacl requests
if: inputs._IMAGE_TYPE == 'debian11' || inputs._IMAGE_TYPE == 'debian12'
run: apt -qq update && apt -qq -y install python3 python3-pip && python3 -m pip install -q -U pip ${{ env.BREAK_OPTION}} && pip install -q pynacl requests ${{ env.BREAK_OPTION}}
env:
BREAK_OPTION: ${{ inputs._IMAGE_TYPE == 'debian12' && '--break-system-packages' || '' }}

- name: Safety add directory
shell: bash
Expand All @@ -63,23 +65,23 @@ jobs:
cd "${EXECUTION_DIRECTORY}"/addons/perl-client/
set -e && export FINGERBANK_API_KEY=$(set -e && python3 "${EXECUTION_DIRECTORY}"/addons/packetfence-perl/psono.py --api_key_id=${{ secrets.PSONO_API_KEY_ID }} --api_key_secret_key=${{ secrets.PSONO_API_KEY_SECRET_KEY }} --secret_id=${{ vars.PSONO_BUILDS_KEY_FINGERBANK }} --return_value=password)
set -e && make SHELL='sh' -e ${{ inputs._IMAGE_TYPE == 'rhel8' && 'build_rpm' || 'build_deb'}}
ls -la "${EXECUTION_DIRECTORY}"/addons/perl-client/result/${{ inputs._IMAGE_TYPE == 'rhel8' && 'centos/8' || 'debian/bullseye'}}
ls -la "${EXECUTION_DIRECTORY}"/addons/perl-client/result/${{ inputs._IMAGE_TYPE == 'rhel8' && 'centos/8' || inputs._IMAGE_TYPE == 'debian11' && 'debian/bullseye' || inputs._IMAGE_TYPE == 'debian12' && 'debian/bookworm'}}
env:
CI_COMMIT_REF_NAME: ${{ inputs._BRANCH_NAME }}

- name: Upload the package to artifactory ${{inputs._IMAGE_TYPE}}
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACTORY_NAME }}
# path: /__w/packetfence/packetfence/addons/perl-client/result/${{ inputs._IMAGE_TYPE == 'rhel8' && 'centos/8' || 'debian/bullseye'}}/${{ env.PACKAGE_NAME }}
path: /mnt/packetfence/addons/perl-client/result/${{ inputs._IMAGE_TYPE == 'rhel8' && 'centos/8' || 'debian/bullseye'}}/${{ env.PACKAGE_NAME }}
# path: /__w/packetfence/packetfence/addons/perl-client/result/${{ inputs._IMAGE_TYPE == 'rhel8' && 'centos/8' || inputs._IMAGE_TYPE == 'debian11' && 'debian/bookworm'}}/${{ env.PACKAGE_NAME }}
path: /mnt/packetfence/addons/perl-client/result/${{ inputs._IMAGE_TYPE == 'rhel8' && 'centos/8' || inputs._IMAGE_TYPE == 'debian11' && 'debian/bullseye' || inputs._IMAGE_TYPE == 'debian12' && 'debian/bookworm'}}/${{ env.PACKAGE_NAME }}
env:
PACKAGE_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'fingerbank-*.noarch.rpm' || 'fingerbank*.deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm' || 'package-deb' }}
PACKAGE_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'fingerbank-*.noarch.rpm' || inputs._IMAGE_TYPE == 'debian11' && 'fingerbank*.deb' || inputs._IMAGE_TYPE == 'debian12' && 'fingerbank*.deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm8' || inputs._IMAGE_TYPE == 'debian11' && 'package-deb11' || inputs._IMAGE_TYPE == 'debian12' && 'package-deb12' }}
PATH: "${GITHUB_WORKSPACE}"

- name: Clean directory
if: always()
run: |
rm -rf "${EXECUTION_DIRECTORY}"
rm -rf ${HOME}/rpmbuild
rm -rf ${HOME}/rpmbuild
11 changes: 6 additions & 5 deletions .github/workflows/reusable_sign_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
sign_package_deb:
if: inputs._IMAGE_TYPE == 'debian'
if: inputs._IMAGE_TYPE == 'debian11' || inputs._IMAGE_TYPE == 'debian12'
runs-on: packetfence-perl-package-build
container:
image: debian:11.0
Expand All @@ -31,7 +31,7 @@ jobs:
name: ${{ env.ARTIFACTORY_NAME }}
path: /mnt
env:
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm' || 'package-deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm8' || inputs._IMAGE_TYPE == 'debian11' && 'package-deb11' || inputs._IMAGE_TYPE == 'debian12' && 'package-deb12' }}

- name: Install Debian dependencies ${{ inputs._IMAGE_TYPE }}
run: apt -qq update && apt -qq -y install gpg dpkg-sig python3 python3-pip && python3 -m pip install -q -U pip && pip install -q pynacl requests
Expand All @@ -55,7 +55,7 @@ jobs:
path: /mnt/${{ env.PACKAGE_NAME }}
env:
PACKAGE_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && env.RPM_FORMAT_PACKAGE_NAME || env.DEB_FORMAT_PACKAGE_NAME }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm' || 'package-deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm8' || inputs._IMAGE_TYPE == 'debian11' && 'package-deb11' || inputs._IMAGE_TYPE == 'debian12' && 'package-deb12' }}
DEB_FORMAT_PACKAGE_NAME: "${{ inputs._PACKAGE_NAME }}*.deb"
RPM_FORMAT_PACKAGE_NAME: "${{ inputs._PACKAGE_NAME }}*.rpm"

Expand All @@ -73,7 +73,8 @@ jobs:
name: ${{ env.ARTIFACTORY_NAME }}
path: /mnt
env:
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm' || 'package-deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm8' || inputs._IMAGE_TYPE == 'debian11' && 'package-deb11' || inputs._IMAGE_TYPE == 'debian12' && 'package-deb12' }}


- name: Install RHEL dependencies ${{ inputs._IMAGE_TYPE }}
run: dnf -y install rpm-sign python39 && python3.9 -m pip install -q -U pip && pip install -q pynacl requests
Expand Down Expand Up @@ -103,6 +104,6 @@ jobs:
path: /mnt/${{ env.PACKAGE_NAME }}
env:
PACKAGE_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && env.RPM_FORMAT_PACKAGE_NAME || env.DEB_FORMAT_PACKAGE_NAME }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm' || 'package-deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm8' || inputs._IMAGE_TYPE == 'debian11' && 'package-deb11' || inputs._IMAGE_TYPE == 'debian12' && 'package-deb12' }}
DEB_FORMAT_PACKAGE_NAME: "${{ inputs._PACKAGE_NAME }}*.deb"
RPM_FORMAT_PACKAGE_NAME: "${{ inputs._PACKAGE_NAME }}*.rpm"
8 changes: 4 additions & 4 deletions .github/workflows/reusable_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
unit-test:
runs-on: packetfence-perl-package-build
container:
image: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'redhat/ubi8:8.8' || 'debian:11.0'}}
image: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'redhat/ubi8:8.8' || inputs._IMAGE_TYPE == 'debian11' && 'debian:bullseye' || inputs._IMAGE_TYPE == 'debian12' && 'debian:bookworm'}}
steps:
- name: Download artifactory ${{ inputs._IMAGE_TYPE }}
uses: actions/download-artifact@v3
with:
name: ${{ env.ARTIFACTORY_NAME }}
path: /mnt
env:
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm' || 'package-deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm8' || inputs._IMAGE_TYPE == 'debian11' && 'package-deb11' || inputs._IMAGE_TYPE == 'debian12' && 'package-deb12' }}

- name: Install the package ${{ inputs._PACKAGE_NAME}} rhel8
if: inputs._IMAGE_TYPE == 'rhel8'
Expand All @@ -36,14 +36,14 @@ jobs:
rpm -qa | grep ${{ inputs._PACKAGE_NAME }}

- name: Install the package ${{ inputs._PACKAGE_NAME}} debian
if: inputs._IMAGE_TYPE == 'debian'
if: inputs._IMAGE_TYPE == 'debian11' || inputs._IMAGE_TYPE == 'debian12'
stegar123 marked this conversation as resolved.
Show resolved Hide resolved
run: |
ls -la /mnt
apt update; apt install -y gnupg sudo wget curl
PF_RELEASE_PATH=https://raw.githubusercontent.com/inverse-inc/packetfence/devel/conf/pf-release
PF_MINOR_RELEASE=$(curl -s ${PF_RELEASE_PATH} | grep -oE '[0-9]+\.[0-9]+')
wget -q -O - https://inverse.ca/downloads/GPG_PUBLIC_KEY | apt-key add -
echo "deb http://inverse.ca/downloads/PacketFence/debian/${PF_MINOR_RELEASE} bullseye bullseye" > /etc/apt/sources.list.d/packetfence.list
echo "deb http://inverse.ca/downloads/PacketFence/debian/${PF_MINOR_RELEASE} bookworm bookworm" > /etc/apt/sources.list.d/packetfence.list
apt update
set -e && find /mnt -name ${{ inputs._PACKAGE_NAME }}*.deb -exec bash -c 'apt install -f -y {}' \;
echo "Next packages ${{ inputs._PACKAGE_NAME }} was installed successfuly: "
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_upload_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: ${{ env.ARTIFACTORY_NAME }}
path: /mnt
env:
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm' || 'package-deb' }}
ARTIFACTORY_NAME: ${{ inputs._IMAGE_TYPE == 'rhel8' && 'package-rpm8' || inputs._IMAGE_TYPE == 'debian11' && 'package-deb11' || inputs._IMAGE_TYPE == 'debian12' && 'package-deb12' }}

- name: Install dependencies ${{ inputs._IMAGE_TYPE }}
run: apt -qq update && apt -qq -y install openssh-client rsync python3 python3-pip && python3 -m pip install -q -U pip && pip install -q pynacl requests
Expand Down
Loading
Loading