summaryrefslogtreecommitdiff
path: root/vars
AgeCommit message (Collapse)Author
2021-07-24Jenkins: lib: add changesPattern parameter to buildPackage classChristian Poessinger
we can now externally control if the package should be build when a file changes. It defaults to "*" which means "always build".
2021-07-24Jenkins: lib: remove skipDefaultCheckout() from pipeline optionsChristian Poessinger
We need the default checkout to determine the Git changeset.
2021-07-24Jenkins: lib: reduce buildDiscarder value from 20 -> 10Christian Poessinger
2021-06-13Revert "Jenkins: re-add erroneously removed when build conditions"Christian Poessinger
This reverts commit 8a6a04f. Unfortunately this leads to more problems then it caused good as packages are not build when needed - only somtimes, so this is not a reliable solution.
2021-06-06Jenkins: lib: only start SSH agend when *.deb files existChristian Poessinger
2021-06-06Jenkins: lib: fix unstage and deploy logic to package mirrorChristian Poessinger
Commit c67a6eb542e9 ("Jenkins: lib: it is also possible that unstaging of the amd64 binaries fail") returned early if no arm64 package was build but an amd64 package. This resulted in valid packages not beeing deployed at all.
2021-06-06Jenkins: lib: remove "pattern" from changesetChristian Poessinger
2021-06-06Jenkins: lib: echo change set path for further optimisationChristian Poessinger
Currently on repo push all jobs are build - not only the required ones. This commit aims to identify the root cause and limit the amount of CPU time used to build packages.
2021-06-05Jenkins: lib: it is also possible that unstaging of the amd64 binaries failChristian Poessinger
This is due to the fact when no package is build b/c then when { } condition is unmet, we also have no amd64 package. Thus the try { } block needs to be extended to not only match for arm64 unstash.
2021-06-05Revert "Jenkins: lib: echo change set path for further optimisation"Christian Poessinger
This reverts commit 24804b2e00866486d4b16e727a25fc43185e8762.
2021-06-05Jenkins: lib: allos stashing of empty objectsChristian Poessinger
If a build is skipped, we can not stash any object, this will trigger a build error that is invalid - as there is nothing to build.
2021-06-05Jenkins: re-add erroneously removed when build conditionsChristian Poessinger
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-04Jenkins: lib: only define BASE_DIR and CHANGESET_DIR varibale onceChristian Poessinger
2021-06-04Jenkins: lib: echo change set path for further optimisationChristian Poessinger
Currently on repo push all jobs are build - not only the required ones. This commit aims to identify the root cause and limit the amount of CPU time used to build packages.
2021-05-30Jenkins: increase buildPackage timeout to 3 hoursChristian Poessinger
The Linux Kernel now takes longer then 2 hours to compile.
2021-04-09Kernel: move build to "normal" Pipeline libraryChristian Poessinger
This is initial work required to also build an arm64 Kernel via the CI.
2021-04-04Jenkins: add cleanup for finalize stageRunar Borge
2021-03-26Jenkins: lib: fix file encoding (<U+200B>) issuesChristian Poessinger
2021-03-26Jenkins: lib: move buildDiscarder settings to pipeline ~optionsChristian Poessinger
2021-03-26Jenkins: Activate EC2 builders and Re-enable multiarch/arm64 buildsRunar Borge
Re-enabling arm64 builds on its own buildhosts requires a bit of rewrite to get up and running, using this commit will allow native builds of all needed platforms if we add more platforms at a later date
2021-02-20Jenkins: lib: fix "Bad substitution" error on GitHub PR buildsChristian Poessinger
2021-02-09Jenkins: disable arm64 builds againChristian Poessinger
2021-02-09Jenkins: convert FILE toString() when uploading artifacts from nested pathsChristian Poessinger
2021-02-08Jenkins: fix unexpected char: '#' - Groovy does not like BASH fooChristian Poessinger
2021-02-08Jenkins: do not add package from nested path to repreproChristian Poessinger
2021-02-08Jenkins: frr: support arm64 buildsChristian Poessinger
2021-02-08Jenkins: reprepro delete unreferenced packagesChristian Poessinger
2021-02-08Jenkins: reuseNode when building with DockerChristian Poessinger
2021-02-08Jenkins: cleanup before buildChristian Poessinger
2021-02-08Jenkins: simplify passing of Docker optionsChristian Poessinger
2021-02-07Jenkins: add support for arm64 package buildsChristian Poessinger
2021-02-02Jenkins: run containers with "reuseNode" to stay on the same nodeqxmips
2021-01-15Jenkins: retrive debian repo server via global variableChristian Poessinger
2020-06-28Jenkins: lib: T2625: disable concurrent buildsChristian Poessinger
2020-06-27Jenkins: lib: T2625: support PullRequest buildsChristian Poessinger
2020-06-24Jenkins: lib: T2625: extend quotes on SSH commandsChristian Poessinger
2020-06-24Jenkins: lib: T2625: SSH commands must be wrapped in "" to functionChristian Poessinger
2020-06-24Jenkins: lib: T2625: use discrete SSH commands on deploymentChristian Poessinger
2020-06-23Jenkins: lib: T2625: add getChangeSetPath() functionChristian Poessinger
Retrieve the path where git should check for modified files to trigger the pipeline build or not.
2020-06-23Jenkins: lib: T2625: must checkout scm for changelog detectionChristian Poessinger
... else we can not trigger on changed files.
2020-06-23Jenkins: lib: do not checkout scm by defaultChristian Poessinger
2020-06-22Jenkins: lib: T2625: remove debug outputChristian Poessinger
2020-06-21Jenkins: lib: T2625: bugfix deployment of FRR packageChristian Poessinger
2020-06-21Jenkins: lib: T2625: change order of deployment commandsChristian Poessinger
2020-06-21Jenkins: do not run ISO build when pipeline library changesChristian Poessinger
2020-06-21Jenkins: lib: Debian packges must be build in 'build' subdirectoryChristian Poessinger
Package build must be done in "any" subdir. Without it the Debian build system is unable to generate the *.deb files in the sources parent directory, which will cause a "Permission denied" error.
2020-06-20Jenkins: lib: buildPackage() parameters are all optional nowChristian Poessinger
- description: Arbitrary text to print on Jenkins Job Description instead of package name - pkgList: Multiple packages can be build at once in a single Pipeline run - buildCmd: replace default build command "dpkg-buildpackage -uc -us -tc -b" with this custom version
2020-06-20Jenkins: lib: download repository parallel to Jenkinsfile locationChristian Poessinger
... this is only releavant when building packages like FRR, Netfilter etc., which are generated via additional Jenkinsfiles from vyos-build.
2020-06-20Jenkins: lib: add debug directory listingsChristian Poessinger
2020-06-20Jenkins: lib: record Git commit ID in job descriptionChristian Poessinger