Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-05 | build: T6446: include support URL in the version data | Daniil Baturin | |
2024-05-23 | T6386: added caller workflows and codeowners (#634) | Vijayakumar A | |
2024-05-15 | build-script: T3664: Allowed all options in both config file and command args | zsdc | |
Moved defaults away from argparser to `defaults.py`. This unlocks the ability to pass values that can be defined as command line arguments via a config file. With this change logic looks like this (in order of overrides). Pre-build config: `data/defaults.toml` -> `build-flavors/<flavor>.toml` -> `--<command line argument>` Build config: `defaults.py` -> `data/defaults.toml` -> `build-types/<type>.toml` -> `architectures/<architecture>.toml` -> `build-flavors/<flavor>.toml` -> `--<command line argument>` | |||
2024-05-14 | build-script: T3664: Add flavor and architecture to image name (rework) | zsdc | |
The previous version did not work for all flavor types. This one should be universal. | |||
2024-05-14 | build-script: T3664: Added flavor name to a target file name | zsdc | |
Mark artifacts with a flavor name for better clarity. | |||
2024-05-12 | build: T6330: fix indention of autogenerated release.pref.chroot | Christian Breunig | |
2024-05-10 | Merge pull request #609 from dmbaturin/T3664-architecture | Christian Breunig | |
build: T3664: include the architecture field in version data | |||
2024-05-09 | build: T3664: include the architecture field in version data | Daniil Baturin | |
2024-05-09 | Merge pull request #605 from dmbaturin/T3664-flavor-field | Christian Breunig | |
build: T3664: include build flavor name in the version file | |||
2024-05-09 | build: T3664: use explicit defaults argument in the dict merging function | Daniil Baturin | |
to make it clear what is merged into what | |||
2024-05-08 | build: T3664: include build flavor name in the version file | Daniil Baturin | |
2024-05-08 | build-script: T3664: Added more options to the image format | zsdc | |
Added two new options: - `image_ext`. Can be used if the file extension needs to be different than the image format - `image_opts`. Required if a target format needs extra options. | |||
2024-05-08 | build: T3664: fix architecture mix-in loading | Daniil Baturin | |
2024-05-06 | build: T3664: modify the module-level template path | Daniil Baturin | |
instead of setting an environment variable | |||
2024-05-03 | build: T3664: fix regression and bug in clone vyos-1x repo | John Estabrook | |
2024-05-02 | build: T3664: clone vyos-1x under build dir instead of as submodule | John Estabrook | |
2024-04-29 | build: T3664: fail the build on external command errors | Daniil Baturin | |
2024-04-25 | build: T3664: typo fixes and small refactoring | Daniil Baturin | |
2024-04-22 | build: T3664: adjust the vyos-1x submodule path in scripts | Daniil Baturin | |
2024-04-20 | Merge pull request #550 from dmbaturin/T3664-raw-flavors | Christian Breunig | |
build: T3664: add support for building non-ISO flavors | |||
2024-04-16 | image-tools: T6154: installer prompts to confirm non-default password | John Estabrook | |
2024-04-16 | T6238: Fix title check commit message should for f-string | Viacheslav Hletenko | |
Fix ``` Commit title '{title}' does not match the required format! ``` | |||
2024-04-15 | build: T3664: initialize git vyos-1x submodule before imports | John Estabrook | |
Signed-off-by: Daniil Baturin <daniil@vyos.io> | |||
2024-04-14 | fix path to versions file | John Estabrook | |
Signed-off-by: Daniil Baturin <daniil@vyos.io> | |||
2024-04-13 | build: T3664: add a sanity check for image_format | Daniil Baturin | |
and normalize it to a list if only one format is specified | |||
2024-04-13 | build: T3664: filter out non-TOML files from the build flavor dir | Daniil Baturin | |
to avoid mistakenly listing auixilliary files like README as flavors | |||
2024-04-13 | Account for the working dir below the root in git invocation | John Estabrook | |
Signed-off-by: Daniil Baturin <daniil@vyos.io> | |||
2024-04-13 | T6173: fix TypeError: 'NoneType' object is not iterable | Christian Breunig | |
Commit 611cfc85c531 ("T6173: validate allowed characters in ISO image name") missed the probability that version is a dict member bot empty. | |||
2024-04-13 | T6238: Check poll request title action requires the python script | Viacheslav Hletenko | |
The `check-pr-title-and-commit-messages.py` that used for the action is not exists. Add this script. | |||
2024-04-10 | build: T3664: add support for building non-ISO flavors | Daniil Baturin | |
2024-04-10 | Merge pull request #553 from c-po/T6173 | Daniil Baturin | |
T6173: validate allowed characters in ISO image name | |||
2024-04-08 | T6173: validate allowed characters in ISO image name | Christian Breunig | |
Building custom VyOS version: 1.5-asdf%-202404081841 I: Checking if packages required for VyOS image build are installed Version contained illegal character(s), allowed: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+ | |||
2024-04-07 | image-tools: T6207: update test script for prompt for boot config | John Estabrook | |
2024-04-05 | T5124: Python3 deprecation distutils | khramshinr | |
2024-03-23 | build scripts: T3664: move image build scripts to a dedicated directory | Daniil Baturin | |
to avoid a mix of image build scripts and ancilliary scripts in the same directory | |||
2024-03-21 | build script: T3664: fix handling of missing or malformed flavor files | Daniil Baturin | |
2024-03-20 | chore: T671: remove unused scripts and references to them | Daniil Baturin | |
2024-03-16 | Merge pull request #526 from sfinke0/fix-tagged-build | Christian Breunig | |
T6115: Fix tagged builds from detached Git HEAD | |||
2024-03-14 | T6115: fix failing builds from detached HEAD (e.g. git tags) | sfinke0 | |
2024-03-13 | build: T1449: add default_config field support in flavor files | Daniil Baturin | |
to allow people to easily include a custom default config | |||
2024-03-12 | docker, build: T6119: use python3-tomli instead of python3-toml | Daniil Baturin | |
for a compliant implementation ot TOML | |||
2024-03-08 | Merge pull request #524 from sarthurdev/tpm_luks | Christian Breunig | |
build: T4919: Fix error due to variable not found | |||
2024-03-08 | build: T4919: Fix error due to variable not found | sarthurdev | |
2024-03-07 | Merge pull request #297 from sarthurdev/tpm_luks | Daniil Baturin | |
config: T4919: Add emulated TPM encryption test | |||
2024-03-01 | T6077: add bugtrcker, documentation and new URL to version file | Christian Breunig | |
Use single source for project related URLs that will later be consumed by the MOTD template used. | |||
2024-03-01 | T3664: remove leading whitespaces from generated /usr/lib/os-release | Christian Breunig | |
2024-03-01 | T3664: remove obsolete make-version-file | Christian Breunig | |
Commit 3979b25dcf ("T3664: initial implementation of the build flavor system") removed the call to make-version-file, thus we can also drop the file itself. | |||
2024-02-25 | T6064: add build error if branch information from Git repository is missing | Christian Breunig | |
This was discussed in slack, where a user was missing the Git commit ID in his custom build Reason is/was: git clone --single-branch -b 1.4.0-epa1 https://github.com/vyos/vyos-build Checks out the 1.4.0-epa1 tag as HEAD and does not clone any branch information. This results in: >>> import git >>> repo = git.Repo('.') >>> repo.head.object.hexsha[:14] 'bcac2eb1f9b49c' >>> git_branch = repo.active_branch.name Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/git/repo/base.py", line 881, in active_branch return self.head.reference ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/git/refs/symbolic.py", line 311, in _get_reference raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) TypeError: HEAD is a detached symbolic reference as it points to 'bcac2eb1f9b49cc15ebda65838e5465543dbb9c6' during the build. The exception handler resets the branch and commit name to an empty string: https://github.com/vyos/vyos-build/blob/a3e60a00b400a1bad8609d5ce1abb0bb7abed7bc/scripts/build-vyos-image#L281-L296 This now adds a proper error message during build so it fails early. (07:46) vyos_bld 08278c5a1172:/vyos/vyos-build # isobuild -test Building custom VyOS version: 1.5-test-202402250746 I: Checking if packages required for VyOS image build are installed build/config Could not retrieve information from git: HEAD is a detached symbolic reference as it points to '39612f541e55bea19868f50f16d7a6c6e0034ed2' | |||
2024-02-20 | config: T4919: Add emulated TPM encryption test | sarthurdev | |
2024-02-19 | build: T3664: fix the chroot includes path | Daniil Baturin | |
to account for the current working dir |