diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-01 21:44:53 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-03-01 21:44:53 +0100 |
commit | 7b89f74c316c278ff6af73e75f357139d56243da (patch) | |
tree | 66e85ed95117e0d97a469d3e456c4e4d018ba805 | |
parent | 195c13022de0b022e054347f0170fb536f4e9b9b (diff) | |
download | vyos-build-7b89f74c316c278ff6af73e75f357139d56243da.tar.gz vyos-build-7b89f74c316c278ff6af73e75f357139d56243da.zip |
T6077: add bugtrcker, documentation and new URL to version file
Use single source for project related URLs that will later be consumed by the
MOTD template used.
-rw-r--r-- | data/defaults.toml | 2 | ||||
-rwxr-xr-x | scripts/build-vyos-image | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/data/defaults.toml b/data/defaults.toml index b4c24b1..9c98c41 100644 --- a/data/defaults.toml +++ b/data/defaults.toml @@ -22,3 +22,5 @@ squashfs_compression_type = "xz -Xbcj x86 -b 256k -always-use-fragments -no-reco website_url = "https://vyos.io" support_url = "https://support.vyos.io" bugtracker_url = "https://vyos.dev" +documentation_url = "https://docs.vyos.io/en/latest" +project_news_url = "https://blog.vyos.io" diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image index 04b63a0..8b91de5 100755 --- a/scripts/build-vyos-image +++ b/scripts/build-vyos-image @@ -327,7 +327,10 @@ if __name__ == "__main__": 'build_branch': git_branch, 'release_train': build_config['release_train'], 'lts_build': lts_build, - 'build_comment': build_config['build_comment'] + 'build_comment': build_config['build_comment'], + 'bugtracker_url': build_config['bugtracker_url'], + 'documentation_url': build_config['documentation_url'], + 'project_news_url': build_config['project_news_url'], } # Multi line strings needs to be un-indented to not have leading @@ -343,6 +346,7 @@ BUILD_ID="{build_git}" HOME_URL="{build_defaults['website_url']}" SUPPORT_URL="{build_defaults['support_url']}" BUG_REPORT_URL="{build_defaults['bugtracker_url']}" +DOCUMENTATION_URL="{build_config['documentation_url']}" """ # Switch to the build directory, this is crucial for the live-build work |