-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from jaredhendrickson13/pf_270
Support pfSense 2.7.0
- Loading branch information
Showing
83 changed files
with
1,032 additions
and
30,479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
target-branch: "master" | ||
schedule: | ||
interval: "monthly" | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
target-branch: "master" | ||
schedule: | ||
interval: "monthly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- 'master' | ||
|
||
# Commit SHAs may differ when trigger via pull request vs workflow_dispatch, ensure the correct commit is referenced. | ||
env: | ||
commit_id: "${{ github.event.pull_request.head.sha || github.sha }}" | ||
build_version: "0.0_0dev_${{ github.event.pull_request.head.sha || github.sha }}" | ||
|
||
jobs: | ||
build: | ||
runs-on: self-hosted | ||
|
||
strategy: | ||
matrix: | ||
freebsd_version: | ||
- FreeBSD-14.0-CURRENT | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup FreeBSD build VM | ||
run: | | ||
/usr/local/bin/VBoxManage controlvm ${{ matrix.freebsd_version }} poweroff || true | ||
/usr/local/bin/VBoxManage snapshot ${{ matrix.freebsd_version }} restore initial | ||
/usr/local/bin/VBoxManage startvm ${{ matrix.freebsd_version }} --type headless | ||
sleep 5 | ||
- name: Build pfSense-pkg-saml2-auth on FreeBSD | ||
run: | | ||
/usr/bin/ssh -o StrictHostKeyChecking=no ${{ matrix.freebsd_version }}.jaredhendrickson.com 'sudo pkill ntpd || true && sudo ntpdate pool.ntp.org || true' | ||
/usr/local/bin/python3 tools/make_package.py --host ${{ matrix.freebsd_version }}.jaredhendrickson.com --branch ${{ env.commit_id }} --tag ${{ env.build_version }}_${{ matrix.freebsd_version }} | ||
- name: Teardown FreeBSD build VM | ||
if: "${{ always() }}" | ||
run: | | ||
/usr/local/bin/VBoxManage controlvm ${{ matrix.freebsd_version }} poweroff || true | ||
/usr/local/bin/VBoxManage snapshot ${{matrix.freebsd_version}} restore initial | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: pfSense-pkg-saml2-auth-${{ env.build_version }}_${{ matrix.freebsd_version }}.pkg | ||
path: pfSense-pkg-saml2-auth-${{ env.build_version }}_${{ matrix.freebsd_version }}.pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: PHPlint | ||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Lint on PHP 7.2 | ||
uses: firehed/lint-php-action@v1 | ||
with: | ||
file-extensions: 'php, inc' | ||
php-version: "7.2" | ||
- name: Lint on PHP 8.1 | ||
uses: firehed/lint-php-action@v1 | ||
with: | ||
file-extensions: 'php, inc' | ||
php-version: "8.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Pylint | ||
|
||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Analysing the code with pylint | ||
run: | | ||
pylint $(git ls-files '*.py') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[DEFAULT] | ||
# Tests require duplicate code and may contain many test cases that require many lines of code | ||
disable=duplicate-code,too-many-lines | ||
|
||
[FORMAT] | ||
# Follow normal pep8 restriction | ||
max-line-length=120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"require": { | ||
"onelogin/php-saml": "4.1.0" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.