108 Commits

Author SHA1 Message Date
Christian Poessinger
158fb72b1b Jenkins: always archive artifacts 2022-01-20 20:03:35 +01:00
Christian Poessinger
7c1799f72f Jenkins: change ISO version name from 1.3-beta to 1.3-stable 2022-01-04 07:12:28 +01:00
Christian Poessinger
6338c523da Jenkins: downloads.vyos.io is deprecated - no longer upload ISO image
(cherry picked from commit 645c891edc01699164279141fb3174e919d3197a)
2022-01-04 07:10:25 +01:00
Christian Poessinger
15a6b10cef Jenkins: increase build timeout to 3 hours
(cherry picked from commit d0932a80c402faf92ed4c7c90aea27aeef5e844e)
2022-01-04 07:10:22 +01:00
Christian Poessinger
17799b2c84 Jenkins: only deploy ISO if requested via parameter
(cherry picked from commit c78b06be53a269c00d9922561bf1abeb8129b7c5)
2021-12-26 09:43:23 +01:00
Christian Poessinger
72c9f1f89c
Jenkins: stop publishing ISO images after 1.3.0 LTS release 2021-12-24 09:21:10 +01:00
Christian Poessinger
017abd48cb Jenkins: run "make testraid" for RAID-1 verification
(cherry picked from commit 4a21175243e0dc86b710cf4754834241d0cfcfd9)
2021-12-09 23:26:15 +01:00
Christian Poessinger
a534d2ca71 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.

(cherry picked from commit 1941149de81d0e9c0c7ae334452786ba6fff8f09)
2021-08-26 10:07:36 +02:00
Christian Poessinger
13295638a6 Jenkins: remove unused BUILD_QEMU parameter 2021-08-25 10:15:29 +02:00
Christian Poessinger
0c9de66752 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.

(cherry picked from commit 768b900f9296ce8e26b6f330581160c8a533b41f)
2021-08-22 18:10:33 +02:00
Christian Poessinger
75b37b28b2 Jenkins: BUILD_BY and BUILD_VERSION should be placed in quotes
(cherry picked from commit c66d7648c8602da73bd5acd1d88ea022d3c26cfd)
2021-08-22 17:23:53 +02:00
Christian Poessinger
35f7e66c9a Jenkins: when BUILD_SNAPSHOT is set - only publish to snapshot bucket
(cherry picked from commit 9640a0293cc51347fcab23ad3c50841f2333ebc1)
2021-08-22 17:20:20 +02:00
Christian Poessinger
44c5e7d928 Jenkins: when building VyOS ISO use UTC timestamp
(cherry picked from commit d8f519231612c666d6804282282a4b0213b531d7)
2021-07-26 07:02:33 +02:00
Christian Poessinger
892e8689b3 Jenkins: sync pipeline to current branch 2021-06-27 18:14:13 +02:00
Christian Poessinger
23076b4c89
Jenkins: trigger GitHub action for community page rebuild on ISO upload 2021-06-08 07:45:30 +02:00
Christian Poessinger
b7767e9c99 Jenkins: name CI build images "beta" instead of "rolling"
... this was the naming in the past but commit fe80f574b80 ("Jenkins: add
parameters to image build") changed this back to rolling.
2021-05-02 14:27:41 +02:00
Christian Poessinger
a9f22f460c Jenkins: tabs to spaces 2021-05-02 14:27:18 +02:00
qxmips
8396c12e50 Fixed s3 upload path 2021-04-04 22:25:31 -04:00
Christian Poessinger
a5ee43596d Jenkins: do not fail fast on parallel build errors 2021-04-03 16:22:16 +02:00
Christian Poessinger
0051308fdb Jenkins: place QEMU image build after tests 2021-04-03 12:23:13 +02:00
Christian Poessinger
4456050d44
Jenkins: no longer build arm64 version, development is done on current branch 2021-04-03 12:12:35 +02:00
Christian Poessinger
ed19a11152 Jenkins: add build option for AWS S3 snapshot bucket upload
(cherry picked from commit 222a7d7f478bc61b2b6f56f77273fa23b31d8c82)
2021-03-26 19:33:37 +01:00
Christian Poessinger
7e104dbc56 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

(cherry picked from commit 2a50c5e3be873f459d6e854f540d30962ebe3b56)
2021-03-26 19:33:33 +01:00
Christian Poessinger
9e128d4dc1 Jenkins: add build parameter for image upload and smoketests
(cherry picked from commit 3ccfd2bf06c7d11d6244aa1307d5ac2142de0cdb)
2021-03-25 09:03:21 +01:00
Christian Poessinger
fe80f574b8 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.

(cherry picked from commit e552cf8eb23f6d7fd95461771002b7fb0115d475)
2021-03-24 21:32:16 +01:00
Christian Poessinger
d5abc54c05 Jenkins: only keep ISO images for 14 days
(cherry picked from commit ed2f9b3f39e6ab4b50f19932af38599a8985a82b)
2021-02-05 17:27:02 +01:00
qxmips
e5b0cc7129 Jenkins: run containers with "reuseNode" to stay on the same node
(cherry picked from commit 38fa98af45d6c22d7d876bc724d957d2545d011a)
2021-02-02 22:07:34 +01:00
Christian Poessinger
a6cb0a0c93 Jenkins: save CPU time and only test using vyos-configd
(cherry picked from commit 37b270bab20d9fc7004d1f06522fcfb4e024732d)
2021-01-25 16:27:38 +01:00
Christian Poessinger
aa8cb76979 Jenkins: select build library from equuleus branch 2021-01-10 15:38:35 +01:00
Christian Poessinger
bdba2aeb7b Jenkins: trigger builds at 0400 hours to not concur with current ISO build 2021-01-09 09:41:12 +01:00
Christian Poessinger
f1ebd94147 Jenkins: rename ISO from rolling to beta 2021-01-08 22:31:31 +01:00
qxmips
0b46466f18 moved webhost address to vars
(cherry picked from commit b5d36aaafab4c797937eff6488a90b0bb68522d5)
2021-01-08 17:21:43 +01: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
Christian Poessinger
2597634150 Jenkins: fix post { success { }} script when there is no ISO build 2020-08-03 15:50:58 +02:00
Christian Poessinger
2e0d072fdd Jenkins: fix when condition on ISO build
The ISO should not be build when there is e.g. a change on the Kernel.
2020-08-02 21:01:06 +02:00
Runar Borge
60d36ca64f T1927: arm: Readd CI build of emulated ARM64 container
After a successfull CI build of this container it is considered working and
is possible to add back to the build as a standard target.

The container is changed so it handles an architecture change without changing the dockerfile
2020-07-14 12:30:40 +02:00
Christian Poessinger
8cf9ac3269 Jenkins: ISO test is conditional on file existence 2020-06-26 17:44:01 +02:00
Christian Poessinger
f2f6332ca1 Jenkins: do not build ISO when only packages folder changes 2020-06-24 21:38:46 +02:00
Christian Poessinger
341028118d Jenkins: lib: T2625: unbloat ISO build 2020-06-23 08:59:26 +02:00
Christian Poessinger
055d658a71 Jenkins: lib: Nested when condition "not" requires exactly 1 child condition 2020-06-21 12:31:22 +02:00