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
Christian Poessinger
74cc758729
Jenkins: fix type - do not keep 200 builds
2021-03-26 20:41:17 +01:00
Christian Poessinger
222a7d7f47
Jenkins: add build option for AWS S3 snapshot bucket upload
2021-03-26 19:32:22 +01:00
Christian Poessinger
2a50c5e3be
Jenkins: upload ISO image to folder named after the Git branch instead of rolling
...
By default all uploads are uploaded to the "rolling" folder and a symlink for
the latest upload is created. If a 1.3 beta image is build after a 1.4 run -
the resulting "latest-rolling.iso" image will be 1.3 instead of 1.4
2021-03-26 19:23:40 +01:00
Christian Poessinger
3ccfd2bf06
Jenkins: add build parameter for image upload and smoketests
2021-03-25 09:02:21 +01:00
Christian Poessinger
e552cf8eb2
Jenkins: add parameters to image build
...
The ISO image build should be able to be parameterised from the outside,
as setting who build the image, and which version number to use.
If nothing is specified, use sane defaults as the current timestand and
autobuild@vyos.net .
2021-03-24 21:30:12 +01:00
Christian Poessinger
7693ddab22
Jenkins: run smoketests without vyos-configd
...
We currently have a nested regression with the testcases, where they randomly
pass on different hosts but fail on the Jenkins instance. Hopefully this can
sched some light.
2021-03-15 17:42:00 +01:00
Christian Poessinger
ed2f9b3f39
Jenkins: only keep ISO images for 14 days
2021-02-05 17:26:46 +01:00
qxmips
38fa98af45
Jenkins: run containers with "reuseNode" to stay on the same node
2021-02-02 22:05:54 +01:00
Christian Poessinger
37b270bab2
Jenkins: save CPU time and only test using vyos-configd
2021-01-25 16:23:38 +01:00
Christian Poessinger
32408a17ad
Update rolling version to 1.4
...
Commit b808e36 ("Update the version of the rolling release") bumped the version
on the branch but not on the pipeline.
2021-01-07 18:47:15 +01:00