diff options
author | Bjarke Istrup Pedersen <gurli@gurlinet.dk> | 2024-05-28 21:20:55 +0200 |
---|---|---|
committer | Bjarke Istrup Pedersen <gurli@gurlinet.dk> | 2024-06-30 16:08:05 +0200 |
commit | aa44b2565f4191a1c90d755a6dde2b7c8f23f6d7 (patch) | |
tree | 597a07b67701f87aaf848744bdff83994bffebc3 /jobs | |
parent | 4d4047656329660d5ab75c3e34d9df902eb3d2fa (diff) | |
download | vyos-jenkins-aa44b2565f4191a1c90d755a6dde2b7c8f23f6d7.tar.gz vyos-jenkins-aa44b2565f4191a1c90d755a6dde2b7c8f23f6d7.zip |
Implement install scripts
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/docker-container-jobs.json | 14 | ||||
-rw-r--r-- | jobs/jobTemplate.xml | 64 | ||||
-rw-r--r-- | jobs/project-jobs.json | 443 |
3 files changed, 521 insertions, 0 deletions
diff --git a/jobs/docker-container-jobs.json b/jobs/docker-container-jobs.json new file mode 100644 index 0000000..dd58cc6 --- /dev/null +++ b/jobs/docker-container-jobs.json @@ -0,0 +1,14 @@ +[ + { + "name": "vyos-build-container", + "description": "shared", + "gitUrl": "https://github.com/dd010101/vyos-build.git", + "branchRegex": "(equuleus|sagitta|current)", + "jenkinsfilePath": "packages/vyos-build-container/Jenkinsfile", + "branchParameters": { + "equuleus": { + "ELTS_MIRROR": "http://172.17.17.17:3142/deb.freexian.com/extended-lts" + } + } + } +]
\ No newline at end of file diff --git a/jobs/jobTemplate.xml b/jobs/jobTemplate.xml new file mode 100644 index 0000000..2a41c69 --- /dev/null +++ b/jobs/jobTemplate.xml @@ -0,0 +1,64 @@ +<?xml version="1.1" encoding="UTF-8"?> +<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="workflow-multibranch@783.va_6eb_ef636fb_d"> + <actions/> + <description>~DESCRIPTION~</description> + <properties> + <org.jenkinsci.plugins.docker.workflow.declarative.FolderConfig plugin="docker-workflow@572.v950f58993843"> + <dockerLabel/> + <registry plugin="docker-commons@439.va_3cb_0a_6a_fb_29"/> + </org.jenkinsci.plugins.docker.workflow.declarative.FolderConfig> + </properties> + <folderViews class="jenkins.branch.MultiBranchProjectViewHolder" plugin="branch-api@2.1169.va_f810c56e895"> + <owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> + </folderViews> + <healthMetrics/> + <icon class="jenkins.branch.MetadataActionFolderIcon" plugin="branch-api@2.1169.va_f810c56e895"> + <owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> + </icon> + <orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="cloudbees-folder@6.928.v7c780211d66e"> + <pruneDeadBranches>true</pruneDeadBranches> + <daysToKeep>-1</daysToKeep> + <numToKeep>-1</numToKeep> + <abortBuilds>false</abortBuilds> + </orphanedItemStrategy> + <triggers> + <com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger plugin="cloudbees-folder@6.928.v7c780211d66e"> + <spec>H/15 * * * *</spec> + <interval>3600000</interval> + </com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger> + </triggers> + <disabled>false</disabled> + <sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api@2.1169.va_f810c56e895"> + <data> + <jenkins.branch.BranchSource> + <source class="jenkins.plugins.git.GitSCMSource" plugin="git@5.2.2"> + <id>61655632-2acc-4cf1-be05-2bd1530809a4</id> + <remote>~GIT_URL~</remote> + <credentialsId/> + <traits> + <jenkins.plugins.git.traits.BranchDiscoveryTrait/> + <jenkins.scm.impl.trait.RegexSCMHeadFilterTrait plugin="scm-api@690.vfc8b_54395023"> + <regex>~BRANCH_REGEX~</regex> + </jenkins.scm.impl.trait.RegexSCMHeadFilterTrait> + <jenkins.plugins.git.traits.CloneOptionTrait> + <extension class="hudson.plugins.git.extensions.impl.CloneOption"> + <shallow>false</shallow> + <noTags>false</noTags> + <reference/> + <honorRefspec>false</honorRefspec> + </extension> + </jenkins.plugins.git.traits.CloneOptionTrait> + </traits> + </source> + <strategy class="jenkins.branch.DefaultBranchPropertyStrategy"> + <properties class="empty-list"/> + </strategy> + </jenkins.branch.BranchSource> + </data> + <owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> + </sources> + <factory class="org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory"> + <owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> + <scriptPath>~JENKINSFILE_PATH~</scriptPath> + </factory> +</org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject> diff --git a/jobs/project-jobs.json b/jobs/project-jobs.json new file mode 100644 index 0000000..968dbe8 --- /dev/null +++ b/jobs/project-jobs.json @@ -0,0 +1,443 @@ +[ + { + "name": "aws-gateway-load-balancer-tunnel-handler", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile" + }, + { + "name": "ddclient", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/ddclient/Jenkinsfile" + }, + { + "name": "dropbear", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "packages/dropbear/Jenkinsfile" + }, + { + "name": "ethtool", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/ethtool/Jenkinsfile" + }, + { + "name": "frr", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "packages/frr/Jenkinsfile" + }, + { + "name": "hostap", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "packages/hostap/Jenkinsfile" + }, + { + "name": "hsflowd", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/hsflowd/Jenkinsfile" + }, + { + "name": "hvinfo", + "description": "shared", + "gitUrl": "https://github.com/vyos/hvinfo.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "ipaddrcheck", + "description": "shared", + "gitUrl": "https://github.com/vyos/ipaddrcheck.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "iproute2", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "equuleus", + "jenkinsfilePath": "packages/iproute2/Jenkinsfile" + }, + { + "name": "isc-dhcp", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/isc-dhcp/Jenkinsfile" + }, + { + "name": "keepalived", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "packages/keepalived/Jenkinsfile" + }, + { + "name": "libnss-mapuser", + "description": "shared", + "gitUrl": "https://github.com/vyos/libnss-mapuser.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "libnss-tacplus", + "description": "sagitta-only", + "gitUrl": "https://github.com/dd010101/vyos-missing.git", + "branchRegex": "(sagitta)", + "jenkinsfilePath": "packages/libnss-tacplus/Jenkinsfile" + }, + { + "name": "libpam-radius-auth", + "description": "shared", + "gitUrl": "https://github.com/vyos/libpam-radius-auth.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "libvyosconfig", + "description": "shared", + "gitUrl": "https://github.com/vyos/libvyosconfig.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "linux-kernel", + "description": "shared", + "gitUrl": "https://github.com/dd010101/vyos-build.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "packages/linux-kernel/Jenkinsfile" + }, + { + "name": "live-boot", + "description": "shared", + "gitUrl": "https://github.com/vyos/live-boot.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "mdns-repeater", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/mdns-repeater.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "minisign", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "equuleus", + "jenkinsfilePath": "packages/minisign/Jenkinsfile" + }, + { + "name": "ndppd", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/ndppd/Jenkinsfile" + }, + { + "name": "netfilter", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "packages/netfilter/Jenkinsfile" + }, + { + "name": "ocserv", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "equuleus", + "jenkinsfilePath": "packages/ocserv/Jenkinsfile" + }, + { + "name": "opennhrp", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/opennhrp/Jenkinsfile" + }, + { + "name": "openvpn-otp", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/openvpn-otp/Jenkinsfile" + }, + { + "name": "owamp", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/owamp/Jenkinsfile" + }, + { + "name": "pam_tacplus", + "description": "sagitta-only", + "gitUrl": "https://github.com/dd010101/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/pam_tacplus/Jenkinsfile" + }, + { + "name": "pmacct", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/pmacct/Jenkinsfile" + }, + { + "name": "pyhumps", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/pyhumps/Jenkinsfile" + }, + { + "name": "python3-inotify", + "description": "equuleus-only", + "gitUrl": "https://github.com/dd010101/vyos-missing.git", + "branchRegex": "equuleus", + "jenkinsfilePath": "packages/python3-inotify/Jenkinsfile" + }, + { + "name": "radvd", + "description": "sagitta-only", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/radvd/Jenkinsfile" + }, + { + "name": "strongswan", + "description": "sagitta-only", + "gitUrl": "https://github.com/dd010101/vyos-build.git", + "branchRegex": "sagitta", + "jenkinsfilePath": "packages/strongswan/Jenkinsfile" + }, + { + "name": "telegraf", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-build.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "packages/telegraf/Jenkinsfile" + }, + { + "name": "udp-broadcast-relay", + "description": "shared", + "gitUrl": "https://github.com/vyos/udp-broadcast-relay.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-bash", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyatta-bash.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-biosdevname", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyatta-biosdevname.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-cfg-firewall", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-cfg-firewall.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-cfg-qos", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-cfg-qos.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-cfg-quagga", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-cfg-quagga.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-cfg-system", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyatta-cfg-system.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-cfg-vpn", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-cfg-vpn.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-cfg", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyatta-cfg.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-cluster", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-cluster.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-config-mgmt", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-config-mgmt.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-conntrack", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-conntrack.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-nat", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-nat.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-op-firewall", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-op-firewall.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-op-qos", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-op-qos.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-op-vpn", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-op-vpn.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-op", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyatta-op.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-wanloadbalance", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyatta-wanloadbalance.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyatta-zone", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyatta-zone.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-1x", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-1x.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-cloud-init", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-cloud-init.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-http-api-tools", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-http-api-tools.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-nhrp", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyos-nhrp.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-opennhrp", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyos-opennhrp.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-strongswan", + "description": "equuleus-only", + "gitUrl": "https://github.com/vyos/vyos-strongswan.git", + "branchRegex": "(equuleus)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-user-utils", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-user-utils.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-utils", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-utils.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-world", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-world.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "vyos-xe-guest-utilities", + "description": "shared", + "gitUrl": "https://github.com/vyos/vyos-xe-guest-utilities.git", + "branchRegex": "(equuleus|current)", + "jenkinsfilePath": "Jenkinsfile" + }, + { + "name": "wide-dhcpv6", + "description": "shared", + "gitUrl": "https://github.com/dd010101/vyos-build.git", + "branchRegex": "(equuleus|sagitta)", + "jenkinsfilePath": "packages/wide-dhcpv6/Jenkinsfile" + } +] |