ci/cd: update branch references current -> sagitta

This commit is contained in:
Christian Breunig 2023-09-25 20:24:09 +02:00
parent a6043c57ae
commit 1746109255
25 changed files with 55 additions and 55 deletions

10
Jenkinsfile vendored
View File

@ -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

View File

@ -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 {

View File

@ -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"

View File

@ -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:

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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',

View File

@ -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

View File

@ -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

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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

View File

@ -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'

View File

@ -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',

View File

@ -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

View File

@ -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():

View File

@ -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")