137 Commits

Author SHA1 Message Date
Daniil Baturin
5753b4b624 build: T6414: rename the "iso" flavor to "generic" 2024-05-28 19:33:29 +01:00
sarthurdev
63a8f9d3c6 config: T4919: Add emulated TPM encryption test 2024-02-20 10:46:01 +01:00
Christian Breunig
cc4ee5b425 Jenkins: fix invalid base version when building ISO with custom version string 2023-12-21 20:04:32 +01:00
Christian Breunig
d7e4fbece7 Jenkins: nighly builds now run on GitHub including smoketests 2023-09-15 20:21:55 +02:00
Christian Breunig
7b219e4b59
Jenkins: bump version to 1.5 2023-09-06 20:26:37 +02:00
Christian Breunig
45d68da433 Jenkins: aways store local ISO artifact 2023-08-26 14:55:26 +02:00
Christian Breunig
0a61934716 Jenkins: do not publish builds to Amazon S3 2023-08-25 07:28:36 +02:00
Christian Breunig
601f1a1b51 Revert "Jenkins: Scheduled trigger has been removed"
This reverts commit 26f3778695bb9ac74cea0347973efd02362e92a9.
2023-08-25 07:28:36 +02:00
Andrii
26f3778695
Jenkins: Scheduled trigger has been removed
Nightly builds migrated to vyos/vyos-rolling-nightly-builds
2023-08-22 20:28:03 +03:00
Christian Breunig
bf51cc0514 Jenkins: make RAID1 tests opt out 2023-07-15 12:33:00 +02:00
Christian Breunig
5dec87d1b9 Jenkins: run RAID-1 test before smoketest to save CPU 2023-01-18 20:53:11 +01:00
Daniil Baturin
5ca6ee4d7c Use a dedicated GitHub token for triggering vyos.net builds
for nightly build page updates
2022-11-03 13:09:00 +00:00
Christian Poessinger
4f7f3ee814 Revert "Jenkins: T3664: add environment debug code"
This reverts commit a670b2dc68174c1d68e39e61bcf1fb5b20d33f35.
2022-10-09 08:33:46 +02:00
Christian Poessinger
8b3037a4a5 Jenkins: T3664: preserve environment when calling sudo for image build
COmmit 8bcce0a ("Jenkins: T3664: specify PYTHONDONTWRITEBYTECODE environment
variable") defined the python environment variable, but subsequent calls to sudo
did not preserve the new environment.

This has been changed.
2022-10-09 08:30:45 +02:00
Christian Poessinger
a670b2dc68 Jenkins: T3664: add environment debug code 2022-10-08 22:30:02 +02:00
Christian Poessinger
8bcce0ab6a Jenkins: T3664: specify PYTHONDONTWRITEBYTECODE environment variable
The new buildsystem also creates python bytecode which has the drawback that
the Jenkins call to "sudo make purge" and "deleteDir()" can not remove the
files under vyos-build/scripts/__pycache__/ and gives:

vyos_build_defaults.cpython-39.pyc: Operation not permitted
vyos_build_utils.cpython-39.pyc: Operation not permitted

This commit disables python byte-code generation on ISO builds as there is no
performance impact as the script is called only once anyway.
2022-10-08 20:03:24 +02:00
Christian Poessinger
714b5735ab Jenkins: reference build variables in new build system 2022-10-07 22:52:26 +02:00
Christian Poessinger
ede3064818 Jenkins: T3664: enable ISO build using new build flavor system 2022-10-07 07:50:41 +02:00
Christian Poessinger
b3209fa92d
Jenkins: disable cache control from s3 upload 2022-09-04 08:41:31 +02:00
Daniil Baturin
22ffa0c6cb Increase S3 file cache age to one month 2022-08-12 14:38:49 +01:00
Daniil Baturin
a39c7d5f6e Set cache age for files on upload to S3 2022-08-12 14:34:38 +01:00
Christian Poessinger
8982f09bc9 Jenkins: increase build timeout 3h -> 4h for large FW configuration 2022-05-04 19:28:11 +02:00
Christian Poessinger
84acd2a87e Jenkins: publish generic "latest-rolling" ISO download image 2022-01-27 22:04:12 +01:00
Christian Poessinger
645c891edc Jenkins: downloads.vyos.io is deprecated - no longer upload ISO image 2022-01-04 07:08:17 +01:00
Christian Poessinger
d0932a80c4 Jenkins: increase build timeout to 3 hours 2022-01-04 07:06:52 +01:00
Christian Poessinger
c78b06be53 Jenkins: only deploy ISO if requested via parameter 2021-12-26 09:43:15 +01:00
Christian Poessinger
4a21175243 Jenkins: run "make testraid" for RAID-1 verification 2021-12-09 22:40:44 +01:00
Christian Poessinger
d07f632e7d Jenkins: start build at 3am utc +0 so its done by the EMEA morning 2021-09-02 17:39:18 +02:00
Christian Poessinger
393ad56065
Jenkins: bugfix - trigger build at 0530 hours
Commit bef6a8d155 ("Jenkins: trigger build at 0530 hours") used invalid cron
syntax. This has been corrected and build now starts at the proper time.
2021-08-28 10:42:54 +02:00
Christian Poessinger
bef6a8d155 Jenkins: trigger build at 0530 hours 2021-08-26 10:08:29 +02:00
Christian Poessinger
1941149de8 Jenkins: BUILD_VERSION is now calculated during runtime
In the past a cached version of BUILD_VERSION was used which would manifest
in a wrong timestamp from build start time vs ISO time.
2021-08-26 10:02:54 +02:00
Christian Poessinger
768b900f92 Jenkins: place snapshot images in a version subdirectory
when BUILD_SNAPSHOT is set, place image in a subdirectory that is named after
the specified BUILD_VERSION parameter.

Example:
vyos-1.3.0-rc6-amd64.iso will be uploaded to snapshot/1.3.0-rc6.
2021-08-22 18:08:20 +02:00
Christian Poessinger
c66d7648c8 Jenkins: BUILD_BY and BUILD_VERSION should be placed in quotes 2021-08-22 17:23:44 +02:00
Christian Poessinger
9640a0293c Jenkins: when BUILD_SNAPSHOT is set - only publish to snapshot bucket 2021-08-22 17:19:34 +02:00
Christian Poessinger
d8f5192316 Jenkins: when building VyOS ISO use UTC timestamp 2021-07-26 07:02:33 +02:00
Christian Poessinger
0ba721e3f1 Jenkins: drop optional QEMU build flavor 2021-07-10 11:46:40 +02:00
Christian Poessinger
f544d75eab
Jenkins: add missing "--privileged" flag to container startup 2021-06-27 10:01:03 +02:00
Christian Poessinger
c803d87f12 Docker: use dedicated Jenkinsfile to build containers 2021-06-26 20:37:17 +02:00
Christian Poessinger
346a235c00
Jenkins: make arm64 dockerbuild a dedicated execution path 2021-06-26 17:13:41 +02:00
Christian Poessinger
1f2388d265 Docker: T3641: temporary disable arm64 builds
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
/var/lib/dpkg/info/libc-bin.postinst: line 53:  2576 Segmentation fault      ldconfig
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
/var/lib/dpkg/info/libc-bin.postinst: line 53:  2579 Segmentation fault      ldconfig --verbose
dpkg: error processing package libc-bin (--configure):
 installed libc-bin package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
 libc-bin
2021-06-20 21:04:20 +02:00
Kim Hagen
f12394c0f3 Jenkins: update singele quotes to double quotes arount the GitHub token 2021-06-06 15:23:18 -05:00
Christian Poessinger
08b03d561f
Jenkins: do not "set +x" when triggering GitHub API 2021-06-06 21:14:23 +02:00
Kim Hagen
d4cbb14ec1 Jenkins: lib: get github token from Jenkins credentials 2021-06-06 13:37:46 -05:00
Kim Hagen
1979215a15 Jenkins: lib: trigger site rebuild after uploading iso to aws 2021-06-06 11:22:01 -05:00
Christian Poessinger
8a6a04fe78 Jenkins: re-add erroneously removed when build conditions
Debian packages should only be build if a file in the requested subfolder
changes (like a version upgrade) or if explicitly reuested by the user.

VyOS ISO generation should only be run once a night by the CI if triggered by
the timer, or on explicit user request.
2021-06-05 10:06:30 +02:00
qxmips
9c63b99198 fixed s3 upload path 2021-04-04 22:16:25 -04:00
Christian Poessinger
5c359621df build: qemu: do not use symlinks on generated images
Jenkins can not properly deal with symbolic links.
2021-04-04 21:59:15 +02:00
Christian Poessinger
e26c91742e Jenkins: indention fix 2021-04-03 14:55:08 +02:00
Christian Poessinger
c268b221d8 Jenkins: make QEMU image build optional 2021-04-02 13:17:09 +02:00
Christian Poessinger
45e05954f9 Jenkins: builds can run 150 minutes and do not fail fast 2021-03-27 19:01:38 +01:00