summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-01 21:44:53 +0100
committerChristian Breunig <christian@breunig.cc>2024-03-02 15:03:49 +0100
commitdf16931ef710b02777523973e6a202891e1ac22a (patch)
treeda12bcb7c29c5de13cc2547df4014fdc2afe2881
parent7be6795c631d310a4811a297d1f5d1bc648fe8d7 (diff)
downloadvyos-build-df16931ef710b02777523973e6a202891e1ac22a.tar.gz
vyos-build-df16931ef710b02777523973e6a202891e1ac22a.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. (cherry picked from commit 7b89f74c316c278ff6af73e75f357139d56243da)
-rw-r--r--data/defaults.toml2
-rwxr-xr-xscripts/build-vyos-image6
2 files changed, 7 insertions, 1 deletions
diff --git a/data/defaults.toml b/data/defaults.toml
index 85cbd56b..c75c3e32 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/sagitta"
+project_news_url = "https://blog.vyos.io"
diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image
index 3d6238a4..389f54a4 100755
--- a/scripts/build-vyos-image
+++ b/scripts/build-vyos-image
@@ -314,7 +314,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
@@ -330,6 +333,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