-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'vyos:current' into current
- Loading branch information
Showing
73 changed files
with
1,451 additions
and
347 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
This file was deleted.
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
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
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
name: Package ISO Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- current | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
container: | ||
image: vyos/vyos-build:current | ||
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged | ||
env: | ||
BUILD_BY: [email protected] | ||
DEBIAN_MIRROR: http://deb.debian.org/debian/ | ||
outputs: | ||
build_version: ${{ steps.version.outputs.build_version }} | ||
steps: | ||
- name: Clone vyos-build source code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vyos/vyos-build | ||
- name: Clone vyos-1x source code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vyos/vyos-1x | ||
path: packages/vyos-1x | ||
fetch-tags: true # required for Debian package version | ||
- name: Build vyos-1x package | ||
run: | | ||
cd packages/vyos-1x; dpkg-buildpackage -uc -us -tc -b | ||
- name: Generate ISO version string | ||
id: version | ||
run: | | ||
echo "build_version=1.5-integration-$(date -u +%Y%m%d%H%M)" >> $GITHUB_OUTPUT | ||
- name: Build custom ISO image | ||
run: | | ||
sudo --preserve-env ./build-vyos-image \ | ||
--architecture amd64 \ | ||
--build-by $BUILD_BY \ | ||
--debian-mirror $DEBIAN_MIRROR \ | ||
--version ${{ steps.version.outputs.build_version }} \ | ||
--build-type release \ | ||
generic | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: vyos-${{ steps.version.outputs.build_version }} | ||
path: build/live-image-amd64.hybrid.iso | ||
|
||
cli-smoketests: | ||
needs: build | ||
runs-on: ubuntu-24.04 | ||
container: | ||
image: vyos/vyos-build:current | ||
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged | ||
steps: | ||
# We need the test script from vyos-build repo | ||
- name: Clone vyos-build source code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vyos/vyos-build | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: vyos-${{ needs.build.outputs.build_version }} | ||
path: build | ||
- name: VyOS CLI smoketests | ||
run: ls -al; ls -al build; sudo make test | ||
|
||
config-load-tests: | ||
needs: build | ||
runs-on: ubuntu-24.04 | ||
container: | ||
image: vyos/vyos-build:current | ||
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged | ||
steps: | ||
# We need the test script from vyos-build repo | ||
- name: Clone vyos-build source code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vyos/vyos-build | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: vyos-${{ needs.build.outputs.build_version }} | ||
path: build | ||
- name: VyOS config tests | ||
run: sudo make testc | ||
|
||
raid1-install-test: | ||
needs: build | ||
runs-on: ubuntu-24.04 | ||
container: | ||
image: vyos/vyos-build:current | ||
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged | ||
steps: | ||
# We need the test script from vyos-build repo | ||
- name: Clone vyos-build source code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vyos/vyos-build | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: vyos-${{ needs.build.outputs.build_version }} | ||
path: build | ||
- name: VyOS RAID1 install test | ||
run: sudo make testraid |
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,20 @@ | ||
name: Sonar Checks | ||
on: | ||
push: | ||
branches: | ||
- current | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
sonar-cloud: | ||
name: SonarCloud | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
- name: SonarCloud Scan | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
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 was deleted.
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
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 @@ | ||
{% set autosuspend = "auto" %} | ||
{% if disable_usb_autosuspend is vyos_defined %} | ||
{% set autosuspend = "on" %} | ||
{% endif %} | ||
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="{{ autosuspend }}" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<!-- include start from include/version/interfaces-version.xml.i --> | ||
<syntaxVersion component='interfaces' version='32'></syntaxVersion> | ||
<syntaxVersion component='interfaces' version='33'></syntaxVersion> | ||
<!-- include end --> |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<!-- include start from include/version/openvpn-version.xml.i --> | ||
<syntaxVersion component='openvpn' version='1'></syntaxVersion> | ||
<syntaxVersion component='openvpn' version='2'></syntaxVersion> | ||
<!-- include end --> |
Oops, something went wrong.