-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'vyos/current' into feature/dhcpv4-ddns
- Loading branch information
Showing
169 changed files
with
6,251 additions
and
2,491 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 |
---|---|---|
|
@@ -17,7 +17,7 @@ env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed for PR comments | ||
BUILD_BY: [email protected] | ||
DEBIAN_MIRROR: http://deb.debian.org/debian/ | ||
VYOS_MIRROR: https://rolling-packages.vyos.net/current/ | ||
VYOS_MIRROR: https://packages.vyos.net/repositories/current/ | ||
|
||
jobs: | ||
build_iso: | ||
|
@@ -83,12 +83,43 @@ jobs: | |
with: | ||
name: vyos-${{ needs.build_iso.outputs.build_version }} | ||
path: build | ||
- name: VyOS CLI smoketests | ||
- name: VyOS CLI smoketests (no interfaces) | ||
id: test | ||
shell: bash | ||
run: | | ||
set -e | ||
sudo make test | ||
sudo make test-no-interfaces | ||
if [[ $? == 0 ]]; then | ||
echo "exit_code=success" >> $GITHUB_OUTPUT | ||
else | ||
echo "exit_code=fail" >> $GITHUB_OUTPUT | ||
fi | ||
test_interfaces_cli: | ||
needs: build_iso | ||
runs-on: ubuntu-24.04 | ||
timeout-minutes: 180 | ||
container: | ||
image: vyos/vyos-build:current | ||
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged | ||
outputs: | ||
exit_code: ${{ steps.test.outputs.exit_code }} | ||
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_iso.outputs.build_version }} | ||
path: build | ||
- name: VyOS CLI smoketests (interfaces only) | ||
id: test | ||
shell: bash | ||
run: | | ||
set -e | ||
sudo make test-interfaces | ||
if [[ $? == 0 ]]; then | ||
echo "exit_code=success" >> $GITHUB_OUTPUT | ||
else | ||
|
@@ -191,6 +222,7 @@ jobs: | |
result: | ||
needs: | ||
- test_smoketest_cli | ||
- test_interfaces_cli | ||
- test_config_load | ||
- test_raid1_install | ||
- test_encrypted_config_tpm | ||
|
@@ -203,13 +235,14 @@ jobs: | |
uses: mshick/add-pr-comment@v2 | ||
with: | ||
message: | | ||
CI integration ${{ needs.test_smoketest_cli.outputs.exit_code == 'success' && needs.test_config_load.outputs.exit_code == 'success' && needs.test_raid1_install.outputs.exit_code == 'success' && '👍 passed!' || '❌ failed!' }} | ||
CI integration ${{ needs.test_smoketest_cli.outputs.exit_code == 'success' && needs.test_interfaces_cli.outputs.exit_code == 'success' && needs.test_config_load.outputs.exit_code == 'success' && needs.test_raid1_install.outputs.exit_code == 'success' && '👍 passed!' || '❌ failed!' }} | ||
### Details | ||
[CI logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) | ||
* CLI Smoketests ${{ needs.test_smoketest_cli.outputs.exit_code == 'success' && '👍 passed' || '❌ failed' }} | ||
* CLI Smoketests (no interfaces) ${{ needs.test_smoketest_cli.outputs.exit_code == 'success' && '👍 passed' || '❌ failed' }} | ||
* CLI Smoketests (interfaces only) ${{ needs.test_interfaces_cli.outputs.exit_code == 'success' && '👍 passed' || '❌ failed' }} | ||
* Config tests ${{ needs.test_config_load.outputs.exit_code == 'success' && '👍 passed' || '❌ failed' }} | ||
* RAID1 tests ${{ needs.test_raid1_install.outputs.exit_code == 'success' && '👍 passed' || '❌ failed' }} | ||
* TPM tests ${{ needs.test_encrypted_config_tpm.outputs.exit_code == 'success' && '👍 passed' || '❌ failed' }} | ||
|
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ on: | |
- closed | ||
branches: | ||
- current | ||
- equuleus | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
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 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 @@ | ||
{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' runuser -u frr -- ' if vrf is vyos_defined else '' %} | ||
[Unit] | ||
Description=FRR Exporter | ||
Documentation=https://github.com/tynany/frr_exporter | ||
After=network.target | ||
|
||
[Service] | ||
{% if vrf is not vyos_defined %} | ||
User=frr | ||
{% endif %} | ||
ExecStart={{ vrf_command }}/usr/sbin/frr_exporter \ | ||
{% if listen_address is vyos_defined %} | ||
{% for address in listen_address %} | ||
--web.listen-address={{ address }}:{{ port }} | ||
{% endfor %} | ||
{% else %} | ||
--web.listen-address=:{{ port }} | ||
{% endif %} | ||
[Install] | ||
WantedBy=multi-user.target |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
--- | ||
WARNING: This VyOS system is not a stable long-term support version and | ||
is not intended for production use. |
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 @@ | ||
{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' runuser -u node_exporter -- ' if vrf is vyos_defined else '' %} | ||
[Unit] | ||
Description=Node Exporter | ||
Documentation=https://github.com/prometheus/node_exporter | ||
After=network.target | ||
|
||
[Service] | ||
{% if vrf is not vyos_defined %} | ||
User=node_exporter | ||
{% endif %} | ||
ExecStart={{ vrf_command }}/usr/sbin/node_exporter \ | ||
{% if listen_address is vyos_defined %} | ||
{% for address in listen_address %} | ||
--web.listen-address={{ address }}:{{ port }} | ||
{% endfor %} | ||
{% else %} | ||
--web.listen-address=:{{ port }} | ||
{% endif %} | ||
[Install] | ||
WantedBy=multi-user.target |
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
Oops, something went wrong.