115 Commits

Author SHA1 Message Date
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
qxmips
b5d36aaafa moved webhost address to vars 2021-01-05 08:02:43 +00:00
Christian Poessinger
ced496839e Jenkins: run smoketests with vyos-configd and arbitrary config loader 2020-11-01 08:15:24 +01:00
Christian Poessinger
ace5db4941 Jenkins: fix path in sha256 checksum file 2020-10-18 17:15:29 +02:00
Christian Poessinger
ce7cdb649a Jenkins: clean QEMU build files 2020-10-17 22:53:00 +02:00
Christian Poessinger
40365a967a Jenkins: add stage dependency for QEMU 2020-10-17 13:45:59 +02:00
Christian Poessinger
7a5f81786a Jenkins: build QEMU image 2020-10-17 13:44:05 +02:00
Christian Poessinger
5be06ae5cd Jenkins: fix Groovy syntax illegal string body character after dollar sign 2020-10-15 17:47:52 +02:00
Christian Poessinger
98ed2bc873 Jenkins: create and upload ISO sha256 hash 2020-10-15 17:46:14 +02:00
Christian Poessinger
1c1323cc67 Revert "Jenkins: comment parallel test of vyos-configd"
This reverts commit 9edd67734c3a18adda9dbb84d3a24e5e2d99dfff. This
should be fixed now after the fix from https://phabricator.vyos.net/T2952
2020-10-14 21:41:21 +02:00
Christian Poessinger
9edd67734c Jenkins: comment parallel test of vyos-configd
This leads to exzessive host CPU usage which will make the test fail.
2020-09-26 15:43:12 +02:00
Christian Poessinger
2a5f6b12fb Jenkins: run parallel tests with and without vyos-configd 2020-09-25 21:10:52 +02:00
Christian Poessinger
8464d8c0a9 T2832: vyos-smoketest package is not called vyos-1x-smoketest 2020-08-27 21:20:04 +02:00