/* * SPDX-License-Identifier: EPL-1.0 * Copyright (c) 2018 The Linux Foundation and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ /** * Manage Jenkins OpenStack cloud configuration * * This file is used for auto-generation so is quite minimal. The generator * code is produced by shell/jenkins-configure-clouds.sh. */ import jenkins.plugins.openstack.compute.JCloudsCloud import jenkins.plugins.openstack.compute.JCloudsSlaveTemplate import jenkins.plugins.openstack.compute.SlaveOptions import jenkins.plugins.openstack.compute.slaveopts.BootSource import jenkins.plugins.openstack.compute.slaveopts.LauncherFactory def clouds = Jenkins.instance.clouds clouds.removeAll { it instanceof JCloudsCloud } // Code below is auto-generated by jenkins-configure-clouds.sh ////////////////////////////////////////////////// // Cloud config for FDIOVEX-CI ////////////////////////////////////////////////// templates = [] minion_options = new SlaveOptions( new BootSource.Image("ZZCI - CentOS 7 - builder - x86_64 - 20230415-024622.013"), "d6906d2a-e83f-42be-b33e-fbaeb5c511cb", "", "jenkins-init-system", null, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 0, null ) template = new JCloudsSlaveTemplate( "snd-centos7-builder-2c-2g", "centos7-builder-2c-2g centos7-builder-2c-2g", minion_options, ) templates.add(template) minion_options = new SlaveOptions( new BootSource.Image("ZZCI - CentOS 7 - builder - x86_64 - 20230415-024622.013"), "5f1eb09f-e764-4642-a16f-a7230ec025e7", "", "jenkins-init-system", null, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 0, null ) template = new JCloudsSlaveTemplate( "snd-centos7-builder-4c-4g", "centos7-builder-4c-4g centos7-builder-4c-4g", minion_options, ) templates.add(template) minion_options = new SlaveOptions( new BootSource.Image("ZZCI - CentOS 7 - docker - x86_64 - 20230505-094222.041"), "d6906d2a-e83f-42be-b33e-fbaeb5c511cb", "", "jenkins-init-system", null, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 0, null ) template = new JCloudsSlaveTemplate( "snd-centos7-docker-2c-2g", "centos7-docker-2c-2g centos7-docker-2c-2g", minion_options, ) templates.add(template) minion_options = new SlaveOptions( new BootSource.Image("ZZCI - CentOS 7 - docker - x86_64 - 20230505-094222.041"), "5f1eb09f-e764-4642-a16f-a7230ec025e7", "", "jenkins-init-system", null, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 0, null ) template = new JCloudsSlaveTemplate( "snd-centos7-docker-4c-4g", "centos7-docker-4c-4g centos7-docker-4c-4g", minion_options, ) templates.add(template) minion_options = new SlaveOptions( new BootSource.Image("ZZCI - CentOS Stream 8 - builder - x86_64 - 20230501-160107.084"), "d6906d2a-e83f-42be-b33e-fbaeb5c511cb", "", "jenkins-init-system", null, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 0, null ) template = new JCloudsSlaveTemplate( "snd-centos8-builder-2c-2g", "centos8-builder-2c-2g centos8-builder-2c-2g", minion_options, ) templates.add(template) minion_options = new SlaveOptions( new BootSource.Image("ZZCI - Ubuntu 20.04 - builder - x86_64 - 20220817-125321.417"), "5f1eb09f-e764-4642-a16f-a7230ec025e7", "", "jenkins-init-system", null, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 0, null ) template = new JCloudsSlaveTemplate( "snd-ubuntu2004-builder-4c-4g", "ubuntu2004-builder-4c-4g ubuntu2004-builder-4c-4g", minion_options, ) templates.add(template) minion_options = new SlaveOptions( new BootSource.Image("ZZCI - Ubuntu 20.04 - builder - arm64 - 20211120-085353.738"), "5f1eb09f-e764-4642-a16f-a7230ec025e7", "", "jenkins-init-system", null, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 0, null ) template = new JCloudsSlaveTemplate( "snd-ubuntu2004-builder-arm64-4c-4g", "ubuntu2004-builder-arm64-4c-4g ubuntu2004-builder-arm64-4c-4g", minion_options, ) templates.add(template) minion_options = new SlaveOptions( new BootSource.Image("ZZCI - Ubuntu 20.04 - docker - x86_64 - 20230629-181907.194"), "5f1eb09f-e764-4642-a16f-a7230ec025e7", "", "jenkins-init-system", null, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 0, null ) template = new JCloudsSlaveTemplate( "snd-ubuntu2004-docker-4c-4g", "ubuntu2004-docker-4c-4g ubuntu2004-docker-4c-4g", minion_options, ) templates.add(template) default_options = new SlaveOptions( new BootSource.Image("ZZCI - CentOS 7 - builder - x86_64 - 20230415-024622.013"), "d6906d2a-e83f-42be-b33e-fbaeb5c511cb", "bcb9a62c-5a82-4293-a8c6-d73e8c2dbd03", "jenkins-init-system", 5, null, "", "default", "", 600000, "jenkins", 1, "", "/w", new LauncherFactory.SSH("jenkins", ""), null, 1, null ) cloud = new JCloudsCloud( "FDIOVEX-CI", "https://auth.vexxhost.net/v3", false, "ca-ymq-1", default_options, templates, "fdiovex-ci" ) clouds.add(cloud)