mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
ci/cd: update branch references current -> sagitta
This commit is contained in:
parent
a6043c57ae
commit
1746109255
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
// Copyright (C) 2019-2021 VyOS maintainers and contributors
|
||||
// Copyright (C) 2019-2023 VyOS maintainers and contributors
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// in order to easy exprort images built to "external" world
|
||||
@ -15,10 +15,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
setDescription()
|
||||
|
||||
node('Docker') {
|
||||
@ -30,11 +30,11 @@ node('Docker') {
|
||||
if (isPullRequest())
|
||||
branchName = env.CHANGE_TARGET.toLowerCase()
|
||||
if (branchName.equals('master'))
|
||||
branchName = 'current'
|
||||
branchName = 'sagitta'
|
||||
|
||||
env.DOCKER_IMAGE = 'vyos/vyos-build:' + branchName
|
||||
|
||||
// Get the current UID and GID from the jenkins agent to allow use of the same UID inside Docker
|
||||
// Get the sagitta UID and GID from the jenkins agent to allow use of the same UID inside Docker
|
||||
env.USR_ID = sh(returnStdout: true, script: 'id -u').toString().trim()
|
||||
env.GRP_ID = sh(returnStdout: true, script: 'id -g').toString().trim()
|
||||
env.DOCKER_ARGS = '--privileged --sysctl net.ipv6.conf.lo.disable_ipv6=0 -e GOSU_UID=' + env.USR_ID + ' -e GOSU_GID=' + env.GRP_ID
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
// Copyright (C) 2019-2021 VyOS maintainers and contributors
|
||||
// Copyright (C) 2019-2023 VyOS maintainers and contributors
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// in order to easy exprort images built to "external" world
|
||||
@ -15,10 +15,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
setDescription()
|
||||
|
||||
pipeline {
|
||||
|
||||
@ -9,10 +9,10 @@ debian_security_mirror = "http://deb.debian.org/debian-security"
|
||||
|
||||
debian_archive_areas = "main contrib non-free"
|
||||
|
||||
vyos_mirror = "https://rolling-packages.vyos.net/current"
|
||||
vyos_mirror = "http://dev.packages.vyos.net/repositories/sagitta"
|
||||
|
||||
vyos_branch = "current"
|
||||
release_train = "current"
|
||||
vyos_branch = "sagitta"
|
||||
release_train = "sagitta"
|
||||
|
||||
kernel_version = "6.1.54"
|
||||
bootloaders = "syslinux,grub-efi"
|
||||
|
||||
@ -31,11 +31,11 @@ RUN grep "VERSION_ID" /etc/os-release || (echo 'VERSION_ID="12"' >> /etc/os-rele
|
||||
# arm32v7/
|
||||
# arm64v8/
|
||||
# Example bo byukd natively:
|
||||
# docker build -t vyos-build:current .
|
||||
# docker build -t vyos-build:sagitta .
|
||||
# Example to build on armhf:
|
||||
# docker build -t vyos-build:current-armhf --build-arg ARCH=arm32v7/ .
|
||||
# docker build -t vyos-build:sagitta-armhf --build-arg ARCH=arm32v7/ .
|
||||
# Example to build on arm64:
|
||||
# docker build -t vyos-build:current-arm64 --build-arg ARCH=arm64v8/ .
|
||||
# docker build -t vyos-build:sagitta-arm64 --build-arg ARCH=arm64v8/ .
|
||||
|
||||
# On some versions of docker the emulation framework is not installed by default and
|
||||
# you need to install qemu, qemu-user-static and register qemu inside docker manually using:
|
||||
|
||||
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'aws-gateway-load-balancer-tunnel-handler',
|
||||
|
||||
4
packages/ddclient/Jenkinsfile
vendored
4
packages/ddclient/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'ddclient',
|
||||
|
||||
4
packages/dropbear/Jenkinsfile
vendored
4
packages/dropbear/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'dropbear',
|
||||
|
||||
4
packages/frr/Jenkinsfile
vendored
4
packages/frr/Jenkinsfile
vendored
@ -15,10 +15,10 @@
|
||||
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'libyang',
|
||||
|
||||
4
packages/hostap/Jenkinsfile
vendored
4
packages/hostap/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'wpa',
|
||||
|
||||
4
packages/hsflowd/Jenkinsfile
vendored
4
packages/hsflowd/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
// NOTE: we can build with -d as the libbpf dependency is installed manually
|
||||
// and not via a DEB package
|
||||
|
||||
4
packages/linux-kernel/Jenkinsfile
vendored
4
packages/linux-kernel/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
// The Linux Kernel
|
||||
|
||||
4
packages/ndppd/Jenkinsfile
vendored
4
packages/ndppd/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
// NOTE: we can build with -d as the libbpf dependency is installed manually
|
||||
// and not via a DEB package
|
||||
|
||||
4
packages/netfilter/Jenkinsfile
vendored
4
packages/netfilter/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
// libnftnl
|
||||
|
||||
4
packages/opennhrp/Jenkinsfile
vendored
4
packages/opennhrp/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'opennhrp',
|
||||
|
||||
4
packages/openvpn-otp/Jenkinsfile
vendored
4
packages/openvpn-otp/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
// NOTE: we can build with -d as the libbpf dependency is installed manually
|
||||
// and not via a DEB package
|
||||
|
||||
4
packages/owamp/Jenkinsfile
vendored
4
packages/owamp/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
// NOTE: we can build with -d as the libbpf dependency is installed manually
|
||||
// and not via a DEB package
|
||||
|
||||
4
packages/pam_tacplus/Jenkinsfile
vendored
4
packages/pam_tacplus/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'pam_tacplus-debian',
|
||||
|
||||
4
packages/pyhumps/Jenkinsfile
vendored
4
packages/pyhumps/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'humps',
|
||||
|
||||
4
packages/strongswan/Jenkinsfile
vendored
4
packages/strongswan/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'strongswan',
|
||||
|
||||
4
packages/telegraf/Jenkinsfile
vendored
4
packages/telegraf/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
// NOTE: we can build with -d as the libbpf dependency is installed manually
|
||||
// and not via a DEB package
|
||||
|
||||
4
packages/vpp/Jenkinsfile
vendored
4
packages/vpp/Jenkinsfile
vendored
@ -15,10 +15,10 @@
|
||||
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def package_name = 'vpp'
|
||||
|
||||
|
||||
4
packages/wide-dhcpv6/Jenkinsfile
vendored
4
packages/wide-dhcpv6/Jenkinsfile
vendored
@ -14,10 +14,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@NonCPS
|
||||
|
||||
// Using a version specifier library, use 'current' branch. The underscore (_)
|
||||
// Using a version specifier library, use 'sagitta' branch. The underscore (_)
|
||||
// is not a typo! You need this underscore if the line immediately after the
|
||||
// @Library annotation is not an import statement!
|
||||
@Library('vyos-build@current')_
|
||||
@Library('vyos-build@sagitta')_
|
||||
|
||||
def pkgList = [
|
||||
['name': 'wide-dhcpv6',
|
||||
|
||||
@ -2,6 +2,6 @@
|
||||
# Execute this script from the vyos-build top directory
|
||||
# Will generate a list of architectures in each repository
|
||||
for a in $(echo vyos-build; ./scripts/build-packages -l | egrep -e '^ \* ' | sed 's/^ \* //'); do
|
||||
n=$(curl https://raw.githubusercontent.com/vyos/${a}/current/debian/control 2>/dev/null | grep "Architecture" | tr '\n' ',')
|
||||
n=$(curl https://raw.githubusercontent.com/vyos/${a}/sagitta/debian/control 2>/dev/null | grep "Architecture" | tr '\n' ',')
|
||||
printf "%-24s %s \n" "${a}" "${n}"
|
||||
done
|
||||
|
||||
@ -7,7 +7,7 @@ from urllib.parse import unquote
|
||||
import requests
|
||||
|
||||
BASE_URL = 'https://downloads.vyos.io/'
|
||||
PAGE_URL = BASE_URL+'?dir=rolling/current/amd64'
|
||||
PAGE_URL = BASE_URL+'?dir=rolling/sagitta/amd64'
|
||||
|
||||
|
||||
def download():
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
// Copyright (C) 2020-2021 VyOS maintainers and contributors
|
||||
// Copyright (C) 2020-2023 VyOS maintainers and contributors
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// in order to easy exprort images built to "external" world
|
||||
@ -56,7 +56,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false, changesP
|
||||
if (isPullRequest())
|
||||
branchName = env.CHANGE_TARGET.toLowerCase()
|
||||
if (branchName.equals('master'))
|
||||
branchName = 'current'
|
||||
branchName = 'sagitta'
|
||||
|
||||
env.DOCKER_IMAGE = 'vyos/vyos-build:' + branchName
|
||||
|
||||
@ -170,7 +170,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false, changesP
|
||||
// every option over and over again!
|
||||
def RELEASE = getGitBranchName()
|
||||
if (getGitBranchName() == "master")
|
||||
RELEASE = 'current'
|
||||
RELEASE = 'sagitta'
|
||||
|
||||
def VYOS_REPO_PATH = '/home/sentrium/web/dev.packages.vyos.net/public_html/repositories/' + RELEASE
|
||||
if (getGitBranchName() == "crux")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user