-
-
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 #24 from jaredhendrickson13/v121
v1.2.1 Fixes
- Loading branch information
Showing
7 changed files
with
85 additions
and
34 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
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,43 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
concurrency: build | ||
|
||
jobs: | ||
build: | ||
runs-on: self-hosted | ||
|
||
strategy: | ||
matrix: | ||
include: | ||
- freebsd_version: FreeBSD-14.0-CURRENT | ||
pfsense_version: 2.7 | ||
|
||
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 ${{ github.sha }} --tag ${{ github.ref_name }} --filename pfSense-${{ matrix.pfsense_version }}-pkg-saml2-auth.pkg | ||
- 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 | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: pfSense-${{ matrix.pfsense_version }}-pkg-saml2-auth.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
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
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