Revert "CI: Rename global-settings to mvn-glob..." 77/5177/2 master
authorEric Ball <eball@linuxfoundation.org>
Thu, 1 Feb 2024 21:50:43 +0000 (13:50 -0800)
committerEric Ball <eball@linuxfoundation.org>
Tue, 6 Feb 2024 00:32:26 +0000 (16:32 -0800)
This reverts commit b2b26d4b275f686897b9cc88649cd4f68370ea6a.

Though some jobs have mvn-global-settings listed as the global
settings file, renaming to "global-settings" is a standard that will
carry forward to all projects for Github Actions.

Since we are currently transitioning to GHA, this shouldn't be
renamed. If JJB jobs still need to use this file, they should be
modified to use "global-settings."

Change-Id: Ib1190de829939d11b022361ebf72868e7152c3cc
Issue-ID: LF-Jira RELENG-4799
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
306 files changed:
.coafile [deleted file]
.github/workflows/gerrit-verify.yaml [new file with mode: 0644]
.gitlint [new file with mode: 0644]
.pre-commit-config.yaml [new file with mode: 0644]
.yamllint [new file with mode: 0644]
.yamllint.conf [deleted file]
global-jjb
jenkins-config/clouds/openstack/cattle/centos7-builder-2c-1g.cfg
jenkins-config/clouds/openstack/cattle/centos7-builder-2c-8g.cfg
jenkins-config/clouds/openstack/cattle/centos7-builder-8c-16g.cfg
jenkins-config/clouds/openstack/cattle/centos7-builder-8c-32g.cfg
jenkins-config/clouds/openstack/cattle/centos7-builder-8c-8g.cfg
jenkins-config/clouds/openstack/cattle/cloud.cfg
jenkins-config/clouds/openstack/cattle/ubuntu1604-builder-2c-1g.cfg [deleted file]
jenkins-config/clouds/openstack/cattle/ubuntu1604-docker-8c-8g.cfg [deleted file]
jenkins-config/clouds/openstack/cattle/ubuntu18.04-docker-arm64-8c-8g.cfg [new file with mode: 0644]
jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-4c-16g.cfg [deleted file]
jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-8c-8g.cfg [new file with mode: 0644]
jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-arm64-4c-16g.cfg [deleted file]
jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-arm64-8c-8g.cfg [deleted file]
jenkins-config/clouds/openstack/cattle/ubuntu1804-helm-8c-32g.cfg
jenkins-config/global-vars-production.sh
jenkins-config/global-vars-sandbox.sh
jenkins-config/managed-config-files/custom/ansible-cfg/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/ansible-cfg/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/clouds-yaml/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/clouds-yaml/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/dockerconfig/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/dockerconfig/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/dockerconfig/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/dockerconfig/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/jjbini/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/jjbini/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-aws-access-key-id/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-aws-access-key-id/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-aws-access-key-id/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-aws-access-key-id/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-ssh-pub-key/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/kni-ssh-pub-key/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/lftoolsini/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/lftoolsini/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/npmrc/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/npmrc/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/packer-cloud-env/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/pipconf/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/pipconf/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/signing-pubkey/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/signing-pubkey/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-config/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-config/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-password/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-password/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-pki/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-pki/content [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-pki/customizedCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/custom/sigul-pki/customizedCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/globalMavenSettings/global-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/globalMavenSettings/global-settings/content [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/apigateway-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/apigateway-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/apigateway-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/apigateway-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/serverCredentialMappings.sandbox.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/kni-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/kni-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/kni-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/kni-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/redfish-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/redfish-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/redfish-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/redfish-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/ta-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/ta-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/ta-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/ta-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/test_automation-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/test_automation-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/test_automation-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/test_automation-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/validation-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/validation-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/validation-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/validation-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/content [new symlink]
jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/serverCredentialMappings.sandbox.yaml [new symlink]
jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/serverCredentialMappings.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/config-params.yaml [new file with mode: 0644]
jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content [new file with mode: 0644]
jenkins-config/managed-config-templates/mavenSettings-content [new file with mode: 0644]
jenkins-config/managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml [new file with mode: 0644]
jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming-verify.yaml [deleted file]
jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming.yaml [deleted file]
jjb/addon-onap/addon-onap.yaml [deleted file]
jjb/addon-onap/info-addon-onap.yaml [deleted file]
jjb/addon-snappy/info-addon-snappy.yaml [deleted file]
jjb/aiedge/info-aiedge.yaml [deleted file]
jjb/airshipinabottle_deploy/airshipinabottle_deploy.yaml [deleted file]
jjb/airshipinabottle_deploy/info-airshipinabottle_deploy.yaml [deleted file]
jjb/akraino-templates/akraino-5g-mec-templates.yaml [deleted file]
jjb/akraino-templates/akraino-icn-templates.yaml
jjb/akraino-templates/akraino-iec-macros.yaml
jjb/akraino-templates/akraino-iec-templates.yaml
jjb/akraino-templates/akraino-jjb-docker.yaml
jjb/akraino-templates/akraino-jjb-kni.yaml
jjb/akraino-templates/akraino-jjb-macros.yaml
jjb/akraino-templates/akraino-jjb-templates.yaml
jjb/akraino-templates/akraino-rec-macros.yaml
jjb/akraino-templates/akraino-rec-templates.yaml
jjb/akraino-templates/akraino-ta-common-macros.yaml
jjb/akraino-templates/akraino-ta-common-templates.yaml
jjb/akraino-templates/akraino-usecase-macros.yaml
jjb/akraino-templates/akraino-usecase-templates.yaml
jjb/akraino-templates/akraino-validation-macros.yaml
jjb/akraino-templates/akraino-validation-templates.yaml
jjb/camunda_workflow/camunda_workflow-docker.yaml [deleted file]
jjb/camunda_workflow/camunda_workflow.yaml [deleted file]
jjb/camunda_workflow/info-camunda_workflow.yaml [deleted file]
jjb/chomp/chomp.yaml [deleted file]
jjb/chomp/info-chomp.yaml [deleted file]
jjb/ci-management/ci-jobs.yaml
jjb/ci-management/ci-packer.yaml
jjb/ci-management/static-slaves-ci-jobs.yaml [deleted file]
jjb/common-views.yaml
jjb/connected-vehicle/info-connected-vehicle.yaml [deleted file]
jjb/defaults.yaml
jjb/eliot/info-eliot.yaml [deleted file]
jjb/evp/evp.yaml [deleted file]
jjb/evp/info-evp.yaml [deleted file]
jjb/icn/icn-daaas.yaml [deleted file]
jjb/icn/info-icn.yaml [deleted file]
jjb/iec/iec-verify-jobs.yaml
jjb/iec/iec.yaml
jjb/iec/info-iec.yaml [deleted file]
jjb/kni/info-kni.yaml [deleted file]
jjb/kni/kni_installer.yaml
jjb/mec-api-framework/info-mec-api-framework.yaml [deleted file]
jjb/nc/info-nc.yaml [deleted file]
jjb/nc/nc-ovs-dpdk-unicycle.yaml [deleted file]
jjb/nc/nc.yaml [deleted file]
jjb/ovs-dpdk-airship/info-ovs-dpdk-airship.yaml [deleted file]
jjb/pcei/pcei.yaml [deleted file]
jjb/portal/info-portal.yaml [deleted file]
jjb/portal/portal.yaml [deleted file]
jjb/portal_user_interface/info-portal_user_interface.yaml [deleted file]
jjb/portal_user_interface/portal-onapsdk-docker.yaml [deleted file]
jjb/portal_user_interface/portal-onapsdk.yaml [deleted file]
jjb/portal_user_interface/portal_user_interface-docker.yaml [deleted file]
jjb/portal_user_interface/portal_user_interface.yaml [deleted file]
jjb/postgres_db_schema/info-postgres_db_schema.yaml [deleted file]
jjb/postgres_db_schema/postgres_db_schema.yaml [deleted file]
jjb/rec/info-rec.yaml [deleted file]
jjb/rec/rec.yaml [deleted file]
jjb/redfish/info-redfish.yaml [deleted file]
jjb/redfish/redfish-docker.yaml [deleted file]
jjb/redfish/redfish.yaml [deleted file]
jjb/regional_controller/api-server-docker.yaml [deleted file]
jjb/regional_controller/api-server.yaml [deleted file]
jjb/regional_controller/info-regional_controller.yaml [deleted file]
jjb/regional_controller/regional_controller.yaml [deleted file]
jjb/remote-server-os-bootstrap/info-remote-server-os-bootstrap.yaml [deleted file]
jjb/repo-beta/info-repo-beta.yaml [deleted file]
jjb/sample_vnf/info-sample_vnf.yaml [deleted file]
jjb/sample_vnf/sample_vnf.yaml [deleted file]
jjb/serverless/info-serverless.yaml [deleted file]
jjb/shell/build_kni_binary.sh [deleted file]
jjb/shell/ta-install-build-tools.sh [new file with mode: 0644]
jjb/shell/ta-install-docker.sh [new file with mode: 0644]
jjb/shell/ta-iso-deploy.sh
jjb/starlingx/info-starlingx.yaml [deleted file]
jjb/starlingx/starlingx.yaml [deleted file]
jjb/ta/access-management.yaml [deleted file]
jjb/ta/ansible-role-ntp.yaml [deleted file]
jjb/ta/build-tools.yaml
jjb/ta/caas-cpupooler.yaml [deleted file]
jjb/ta/caas-danm.yaml [deleted file]
jjb/ta/caas-etcd.yaml [deleted file]
jjb/ta/caas-helm.yaml [deleted file]
jjb/ta/caas-install.yaml [deleted file]
jjb/ta/caas-kubedns.yaml [deleted file]
jjb/ta/caas-kubernetes.yaml
jjb/ta/caas-lcm.yaml [deleted file]
jjb/ta/caas-logging.yaml [deleted file]
jjb/ta/caas-metrics.yaml [deleted file]
jjb/ta/caas-registry.yaml [deleted file]
jjb/ta/caas-security.yaml [deleted file]
jjb/ta/caas-storage.yaml [deleted file]
jjb/ta/ci-build.yaml [deleted file]
jjb/ta/cloudtaf.yaml [deleted file]
jjb/ta/cm-plugins.yaml [deleted file]
jjb/ta/config-manager.yaml [deleted file]
jjb/ta/distributed-state-server.yaml [deleted file]
jjb/ta/hostcli.yaml [deleted file]
jjb/ta/hw-detector.yaml [deleted file]
jjb/ta/image-provision.yaml [deleted file]
jjb/ta/info-ta.yaml [deleted file]
jjb/ta/infra-ansible.yaml
jjb/ta/ipa-deployer.yaml [deleted file]
jjb/ta/ironic-virtmedia-driver.yaml [deleted file]
jjb/ta/ironic.yaml [deleted file]
jjb/ta/ironicclient.yaml [deleted file]
jjb/ta/lockcli.yaml [deleted file]
jjb/ta/manifest.yaml
jjb/ta/monitoring.yaml [deleted file]
jjb/ta/openstack-ansible-galera_client.yaml [deleted file]
jjb/ta/openstack-ansible-galera_server.yaml [deleted file]
jjb/ta/openstack-ansible-haproxy_server.yaml [deleted file]
jjb/ta/openstack-ansible-memcached_server.yaml [deleted file]
jjb/ta/openstack-ansible-openstack_openrc.yaml [deleted file]
jjb/ta/openstack-ansible-os_ironic.yaml [deleted file]
jjb/ta/openstack-ansible-os_keystone.yaml [deleted file]
jjb/ta/openstack-ansible-plugins.yaml [deleted file]
jjb/ta/openstack-ansible-rabbitmq_server.yaml [deleted file]
jjb/ta/openstack-ansible-rsyslog_client.yaml [deleted file]
jjb/ta/openstack-ansible.yaml [deleted file]
jjb/ta/os-net-config.yaml [deleted file]
jjb/ta/python-ilorest-library.yaml [deleted file]
jjb/ta/python-peewee.yaml [deleted file]
jjb/ta/remote-installer.yaml [deleted file]
jjb/ta/rpmbuilder.yaml [deleted file]
jjb/ta/start-menu.yaml [deleted file]
jjb/ta/storage.yaml [deleted file]
jjb/ta/yarf.yaml [deleted file]
jjb/tc/info-tc.yaml [deleted file]
jjb/tc/tc.yaml [deleted file]
jjb/test_automation/info-test_automation.yaml [deleted file]
jjb/test_automation/test_automation.yaml [deleted file]
jjb/umec/info-umec.yaml [deleted file]
jjb/umec/umec.yaml [deleted file]
jjb/validation/bluval.yaml
jjb/validation/info-validation.yaml [deleted file]
jjb/validation/lab.yaml
jjb/validation/validation-docker.yaml [deleted file]
jjb/validation/validation-verify-jobs.yaml
jjb/validation/validation.yaml
jjb/yaml_builds/info-yaml_builds.yaml [deleted file]
jjb/yaml_builds/yaml_builds.yaml [deleted file]
packer/common-packer
packer/provision/helm.yaml
packer/templates/helm.json
packer/vars/ubuntu-18.04-arm64.json [deleted file]
tox.ini

diff --git a/.coafile b/.coafile
deleted file mode 100644 (file)
index f0abad4..0000000
--- a/.coafile
+++ /dev/null
@@ -1,34 +0,0 @@
-[Documentation]
-bears = WriteGoodLintBear
-files = *.md
-allow_so_beginning = False
-allow_there_is = False
-allow_cliche_phrases = False
-
-[GitCommit]
-bears = GitCommitBear
-ignore_length_regex = Signed-off-by,
-    Also-by,
-    Co-authored-by,
-    http://,
-    https://
-
-[JSON]
-bears = JSONFormatBear
-files = packer/**.json
-indent_size = 2
-
-[ShellCheck]
-bears = ShellCheckBear,
-    SpaceConsistencyBear
-files = jjb/**.sh,
-    packer/**.sh
-shell = bash
-indent_size = 4
-use_spaces = yeah
-
-[YAML]
-bears = YAMLLintBear
-files = jjb/**/*.yaml
-document_start = True
-yamllint_config = .yamllint.conf
diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml
new file mode 100644 (file)
index 0000000..978e92e
--- /dev/null
@@ -0,0 +1,77 @@
+---
+name: Call Composed ci-management Verify
+
+# yamllint disable-line rule:truthy
+on:
+  workflow_dispatch:
+    inputs:
+      GERRIT_BRANCH:
+        description: "Branch that change is against"
+        required: true
+        type: string
+      GERRIT_CHANGE_ID:
+        description: "The ID for the change"
+        required: true
+        type: string
+      GERRIT_CHANGE_NUMBER:
+        description: "The Gerrit number"
+        required: true
+        type: string
+      GERRIT_CHANGE_URL:
+        description: "URL to the change"
+        required: true
+        type: string
+      GERRIT_EVENT_TYPE:
+        description: "Type of Gerrit event"
+        required: true
+        type: string
+      GERRIT_PATCHSET_NUMBER:
+        description: "The patch number for the change"
+        required: true
+        type: string
+      GERRIT_PATCHSET_REVISION:
+        description: "The revision sha"
+        required: true
+        type: string
+      GERRIT_PROJECT:
+        description: "Project in Gerrit"
+        required: true
+        type: string
+      GERRIT_REFSPEC:
+        description: "Gerrit refspec of change"
+        required: true
+        type: string
+      ENV_VARS:
+        # yamllint disable-line rule:line-length
+        description: "Pass GitHub variables to be exported as environment variables via `toJSON(vars)` or specific variables encoded in JSON format"
+        required: false
+        default: "{}"
+        type: string
+
+concurrency:
+  # yamllint disable-line rule:line-length
+  group: ci-management-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }}
+  cancel-in-progress: true
+
+permissions: read-all
+
+jobs:
+  call-composed-ci-man-verify:
+    # yamllint disable-line rule:line-length
+    uses: lfit/releng-reusable-workflows/.github/workflows/composed-ci-management-verify.yaml@25511233afffc28b7dcb71c89ccc1b66acba2449 # v0.2.0
+    with:
+      GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
+      GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
+      GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
+      GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
+      GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
+      GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
+      GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
+      GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
+      GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
+      ENV_VARS: ${{ toJSON(vars) }}
+    secrets:
+      GERRIT_SSH_PRIVKEY: ${{ secrets.GERRIT_SSH_PRIVKEY }}
+      ENV_SECRETS: ${{ toJSON(secrets) }}
+      CLOUDS_ENV_B64: ${{ secrets.CLOUDS_ENV_B64 }}
+      CLOUDS_YAML_B64: ${{ secrets.CLOUDS_ENV_B64 }}
diff --git a/.gitlint b/.gitlint
new file mode 100644 (file)
index 0000000..8d37da1
--- /dev/null
+++ b/.gitlint
@@ -0,0 +1,97 @@
+# All these sections are optional, edit this file as you like.
+[general]
+# Ignore certain rules, you can reference them by their id or by their full
+# name
+# ignore=title-trailing-punctuation, T3
+
+# verbosity should be a value between 1 and 3, the command line -v flags take
+# precedence over this
+# verbosity = 2
+
+# By default gitlint will ignore merge commits. Set to 'false' to disable.
+# ignore-merge-commits=true
+
+# By default gitlint will ignore fixup commits. Set to 'false' to disable.
+# ignore-fixup-commits=true
+
+# By default gitlint will ignore squash commits. Set to 'false' to disable.
+# ignore-squash-commits=true
+
+# Enable debug mode (prints more output). Disabled by default.
+# debug=true
+
+# Set the extra-path where gitlint will search for user defined rules
+# See http://jorisroovers.github.io/gitlint/user_defined_rules for details
+# extra-path=examples/
+
+# contrib=contrib-title-conventional-commits,contrib-body-requires-signed-off-by
+contrib=contrib-body-requires-signed-off-by
+
+# [title-max-length]
+# line-length=80
+
+# [title-must-not-contain-word]
+# Comma-separated list of words that should not occur in the title. Matching is
+# case insensitive. It's fine if the keyword occurs as part of a larger word
+# (so "WIPING" will not cause a violation, but "WIP: my title" will.
+# words=wip
+
+# [title-match-regex]
+# python like regex (https://docs.python.org/2/library/re.html) that the
+# commit-msg title must be matched to.
+# Note that the regex can contradict with other rules if not used correctly
+# (e.g. title-must-not-contain-word).
+# regex=^US[0-9]*
+
+# [B1]
+# B1 = body-max-line-length
+# line-length=120
+
+# [body-min-length]
+# min-length=5
+
+# [body-is-missing]
+# Whether to ignore this rule on merge commits (which typically only have a title)
+# default = True
+# ignore-merge-commits=false
+
+# [body-changed-file-mention]
+# List of files that need to be explicitly mentioned in the body when they are
+# changed This is useful for when developers often erroneously edit certain
+# files or git submodules.  By specifying this rule, developers can only change
+# the file when they explicitly reference it in the commit message.
+# files=gitlint/rules.py,README.md
+
+# [author-valid-email]
+# python like regex (https://docs.python.org/2/library/re.html) that the
+# commit author email address should be matched to
+# For example, use the following regex if you only want to allow email
+# addresses from foo.com
+# regex=[^@]+@foo.com
+
+# [ignore-by-title]
+# Ignore certain rules for commits of which the title matches a regex
+# E.g. Match commit titles that start with "Release"
+# regex=^Release(.*)
+#
+# Ignore certain rules, you can reference them by their id or by their full name
+# Use 'all' to ignore all rules
+# ignore=T1,body-min-length
+
+# [ignore-by-body]
+# Ignore certain rules for commits of which the body has a line that matches a
+# regex
+# E.g. Match bodies that have a line that contain "release"
+# regex=(.*)release(.*)
+#
+# Ignore certain rules, you can reference them by their id or by their full name
+# Use 'all' to ignore all rules
+# ignore=T1,body-min-length
+
+# Enable Conventional Commit subject line enforcement
+# https://www.conventionalcommits.org/en/v1.0.0/
+#
+# Since we want all subjects to be well formed, enforce the topics
+# to the following (fairly standard) topics and require them to be Mixed Case
+# [contrib-title-conventional-commits]
+# types=Fix,Feat,Chore,Docs,Style,Refactor,Perf,Test,Revert,CI,Build
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644 (file)
index 0000000..ca94141
--- /dev/null
@@ -0,0 +1,32 @@
+---
+repos:
+  - repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: v4.4.0
+    hooks:
+      - id: trailing-whitespace
+      - id: check-executables-have-shebangs
+        stages: [manual]
+      - id: check-json
+        exclude: (.vscode|.devcontainer)
+      - id: no-commit-to-branch
+        args:
+          - --branch=dev
+          - --branch=master
+          - --branch=main
+          - --branch=rc
+
+  - repo: https://github.com/jorisroovers/gitlint
+    rev: v0.19.1
+    hooks:
+      - id: gitlint
+
+  - repo: https://github.com/adrienverge/yamllint.git
+    rev: v1.31.0
+    hooks:
+      - id: yamllint
+
+  - repo: https://github.com/pre-commit/mirrors-prettier
+    rev: v3.0.0-alpha.9-for-vscode
+    hooks:
+      - id: prettier
+        stages: [commit]
diff --git a/.yamllint b/.yamllint
new file mode 100644 (file)
index 0000000..d4497f8
--- /dev/null
+++ b/.yamllint
@@ -0,0 +1,11 @@
+---
+extends: default
+
+rules:
+  empty-lines:
+    max-end: 1
+  line-length:
+    max: 120
+  comments:
+    # prettier forces 1 space comment separator
+    min-spaces-from-content: 1
diff --git a/.yamllint.conf b/.yamllint.conf
deleted file mode 100644 (file)
index b821cb8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-extends: default
-
-rules:
-  empty-lines:
-    max-end: 1
-  line-length:
-    max: 120
index a47a2c5..5d33657 160000 (submodule)
@@ -1 +1 @@
-Subproject commit a47a2c5d2839a34e22c67e9e1e6578efd5540ae2
+Subproject commit 5d336574e77fb349ace15356ef8ffb816d463544
index 47728fa..d937357 100644 (file)
@@ -1,3 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20191003-203103.133
-HARDWARE_ID=v2-highcpu-1
-VOLUME_SIZE=20
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20220916-133811.046
+HARDWARE_ID=v3-standard-1
index 94547b0..9567b98 100644 (file)
@@ -1,3 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20191003-203103.133
-HARDWARE_ID=v2-standard-2
-VOLUME_SIZE=20
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20220916-133811.046
+HARDWARE_ID=v3-standard-2
index e929b4d..aa816c6 100644 (file)
@@ -1,3 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20191003-203103.133
-HARDWARE_ID=v2-standard-4
-VOLUME_SIZE=20
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20220916-133811.046
+HARDWARE_ID=v3-standard-4
index a732844..6429fff 100644 (file)
@@ -1,3 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20191003-203103.133
-HARDWARE_ID=v2-highcpu-32
-VOLUME_SIZE=20
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20220916-133811.046
+HARDWARE_ID=v3-standard-32
index a519670..32d2e20 100644 (file)
@@ -1,3 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20191003-203103.133
-HARDWARE_ID=v2-highcpu-8
-VOLUME_SIZE=20
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20220916-133811.046
+HARDWARE_ID=v3-standard-8
index b682e90..0234d7b 100644 (file)
@@ -5,19 +5,17 @@ CLOUD_IGNORE_SSL=false
 CLOUD_ZONE=ca-ymq-1
 
 # Default Template Configuration
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190315-024623.770
-HARDWARE_ID=v2-highcpu-1
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20220916-133811.046
+HARDWARE_ID=v3-standard-1
 NETWORK_ID=e84c8d94-1d74-4593-b24f-9a091cd3b9bf
 USER_DATA_ID=jenkins-init-script
-INSTANCE_CAP=10
+INSTANCE_CAP=40
 SANDBOX_CAP=4
 FLOATING_IP_POOL=
 SECURITY_GROUPS=default
-AVAILABILITY_ZONE=ca-ymq-2
 STARTUP_TIMEOUT=600000
 KEY_PAIR_NAME=jenkins
 NUM_EXECUTORS=1
 JVM_OPTIONS=
 FS_ROOT=/w
 RETENTION_TIME=0
-VOLUME_SIZE=20
diff --git a/jenkins-config/clouds/openstack/cattle/ubuntu1604-builder-2c-1g.cfg b/jenkins-config/clouds/openstack/cattle/ubuntu1604-builder-2c-1g.cfg
deleted file mode 100644 (file)
index 0a6d036..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-IMAGE_NAME=ZZCI - Ubuntu 16.04 - builder - x86_64 - 20181004-095408.110
-HARDWARE_ID=v2-highcpu-1
-VOLUME_SIZE=20
diff --git a/jenkins-config/clouds/openstack/cattle/ubuntu1604-docker-8c-8g.cfg b/jenkins-config/clouds/openstack/cattle/ubuntu1604-docker-8c-8g.cfg
deleted file mode 100644 (file)
index e82dc69..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-IMAGE_NAME=ZZCI - Ubuntu 16.04 - docker - x86_64 - 20190110-225527.869
-HARDWARE_ID=v2-highcpu-8
-VOLUME_SIZE=50
diff --git a/jenkins-config/clouds/openstack/cattle/ubuntu18.04-docker-arm64-8c-8g.cfg b/jenkins-config/clouds/openstack/cattle/ubuntu18.04-docker-arm64-8c-8g.cfg
new file mode 100644 (file)
index 0000000..3bde2fb
--- /dev/null
@@ -0,0 +1,3 @@
+IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - arm64 - 20220919-212209.052
+HARDWARE_ID=v3-standard-8
+LABELS=aarch64_build aarch64_dev
diff --git a/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-4c-16g.cfg b/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-4c-16g.cfg
deleted file mode 100644 (file)
index ab1c928..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - x86_64 - 20190706-130528.514
-HARDWARE_ID=v2-standard-4
-VOLUME_SIZE=20
diff --git a/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-8c-8g.cfg b/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-8c-8g.cfg
new file mode 100644 (file)
index 0000000..10714bb
--- /dev/null
@@ -0,0 +1,2 @@
+IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - x86_64 - 20220916-133907.553
+HARDWARE_ID=v3-starter-8
diff --git a/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-arm64-4c-16g.cfg b/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-arm64-4c-16g.cfg
deleted file mode 100644 (file)
index 4d289b5..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - arm64 - 20190804-002512.777
-HARDWARE_ID=v2-standard-4
-VOLUME_SIZE=20
diff --git a/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-arm64-8c-8g.cfg b/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-arm64-8c-8g.cfg
deleted file mode 100644 (file)
index d783d42..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - arm64 - 20190804-002512.777
-HARDWARE_ID=v2-highcpu-8
-VOLUME_SIZE=20
index 761c96f..95ead86 100644 (file)
@@ -1,3 +1,2 @@
-IMAGE_NAME=ZZCI - Ubuntu 18.04 - helm - x86_64 - 20191207-002613.424
-HARDWARE_ID=v2-highcpu-32
-VOLUME_SIZE=20
+IMAGE_NAME=ZZCI - Ubuntu 18.04 - helm - x86_64 - 20200727-130627.472
+HARDWARE_ID=v3-standard-32
index bffb4ef..e50dcdb 100644 (file)
@@ -8,7 +8,7 @@ NEXUS_URL=https://nexus.akraino.org
 REGISTRY_PORTS=10001 10002 10003 10004
 RPM_REPO_URL=https://nexus3.akraino.org
 S3_BUCKET=
-SIGUL_BRIDGE_IP=10.30.216.9
+SIGUL_BRIDGE_IP=199.204.45.55
 SIGUL_KEY=akraino-release-2018
 SILO=production
 SONAR_URL=https://sonar.akraino.org
index b0082f0..9bffb91 100644 (file)
@@ -7,7 +7,7 @@ NEXUS_URL=https://nexus.akraino.org
 REGISTRY_PORTS=10001 10002 10003 10004
 RPM_REPO_URL=https://nexus3.akraino.org
 S3_BUCKET=
-SIGUL_BRIDGE_IP=10.30.216.9
+SIGUL_BRIDGE_IP=199.204.45.55
 SIGUL_KEY=akraino-sandbox
 SILO=sandbox
 SONAR_URL=https://sonar.akraino.org
diff --git a/jenkins-config/managed-config-files/custom/ansible-cfg/config-params.yaml b/jenkins-config/managed-config-files/custom/ansible-cfg/config-params.yaml
new file mode 100644 (file)
index 0000000..d6dcf71
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "ansible.cfg"
+comment: "ansible config file"
diff --git a/jenkins-config/managed-config-files/custom/ansible-cfg/content b/jenkins-config/managed-config-files/custom/ansible-cfg/content
new file mode 100644 (file)
index 0000000..96c9117
--- /dev/null
@@ -0,0 +1,2 @@
+[defaults]
+remote_tmp = ~/.ansible/tmp
diff --git a/jenkins-config/managed-config-files/custom/clouds-yaml/config-params.yaml b/jenkins-config/managed-config-files/custom/clouds-yaml/config-params.yaml
new file mode 100644 (file)
index 0000000..cb667c3
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "clouds-yaml"
+comment: "Cloud auth credentials file"
diff --git a/jenkins-config/managed-config-files/custom/clouds-yaml/content b/jenkins-config/managed-config-files/custom/clouds-yaml/content
new file mode 100644 (file)
index 0000000..c3e408c
--- /dev/null
@@ -0,0 +1,10 @@
+clouds:
+  vex:
+    auth:
+      project_name: "5b48ce73-f848-4bfa-b06b-c33c21f37acc"
+      username: "$CLOUDS_USR"
+      password: "$CLOUDS_PSW"
+      auth_url: 'https://auth.vexxhost.net/v3'
+      user_domain_name: Default
+      project_domain_name: Default
+    region_name: ca-ymq-1
diff --git a/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..1c66305
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "clouds-yaml"
+    tokenKey: "CLOUDS"
diff --git a/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/clouds-yaml/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..1c66305
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "clouds-yaml"
+    tokenKey: "CLOUDS"
diff --git a/jenkins-config/managed-config-files/custom/dockerconfig/config-params.yaml b/jenkins-config/managed-config-files/custom/dockerconfig/config-params.yaml
new file mode 100644 (file)
index 0000000..7c29448
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "dockerconfig"
+comment: "Docker config for akrainoci"
diff --git a/jenkins-config/managed-config-files/custom/dockerconfig/content b/jenkins-config/managed-config-files/custom/dockerconfig/content
new file mode 100644 (file)
index 0000000..3eb2508
--- /dev/null
@@ -0,0 +1,7 @@
+{
+    "auths": {
+        "https://index.docker.io/v1/": {
+            "auth": "$AUTH"
+        }
+    }
+}
diff --git a/jenkins-config/managed-config-files/custom/dockerconfig/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/dockerconfig/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..d87dc57
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "docker-auth-token"
+    tokenKey: "AUTH"
diff --git a/jenkins-config/managed-config-files/custom/dockerconfig/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/dockerconfig/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..d87dc57
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "docker-auth-token"
+    tokenKey: "AUTH"
diff --git a/jenkins-config/managed-config-files/custom/jjbini/config-params.yaml b/jenkins-config/managed-config-files/custom/jjbini/config-params.yaml
new file mode 100644 (file)
index 0000000..1d61b6b
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "JJB Config"
+comment: "JJB Config for Jenkins Job Builder"
diff --git a/jenkins-config/managed-config-files/custom/jjbini/content b/jenkins-config/managed-config-files/custom/jjbini/content
new file mode 100644 (file)
index 0000000..86d2870
--- /dev/null
@@ -0,0 +1,24 @@
+[job_builder]
+ignore_cache=True
+keep_descriptions=False
+include_path=.:scripts:~/git/
+recursive=True
+retain_anchors=True
+
+[jenkins]
+user=$JOBBUILDER_PROD_USR
+password=$JOBBUILDER_PROD_PSW
+url=https://jenkins.akraino.org/
+query_plugins_info=True
+
+[production]
+user=$JOBBUILDER_PROD_USR
+password=$JOBBUILDER_PROD_PSW
+url=https://jenkins.akraino.org/
+query_plugins_info=True
+
+[sandbox]
+user=$JOBBUILDER_SANDBOX_USR
+password=$JOBBUILDER_SANDBOX_PSW
+url=https://jenkins.akraino.org/sandbox/
+query_plugins_info=True
diff --git a/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..6fe38bd
--- /dev/null
@@ -0,0 +1,6 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "dummy"
+    tokenKey: "JOBBUILDER_PROD"
+  - credentialsId: "jobbuilder-sandbox"
+    tokenKey: "JOBBUILDER_SANDBOX"
diff --git a/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..cb9cdaf
--- /dev/null
@@ -0,0 +1,6 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "jobbuilder-prod"
+    tokenKey: "JOBBUILDER_PROD"
+  - credentialsId: "jobbuilder-sandbox"
+    tokenKey: "JOBBUILDER_SANDBOX"
diff --git a/jenkins-config/managed-config-files/custom/kni-aws-access-key-id/config-params.yaml b/jenkins-config/managed-config-files/custom/kni-aws-access-key-id/config-params.yaml
new file mode 100644 (file)
index 0000000..044f6ec
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "kni-aws-access-key-id"
+comment: "kni-aws-access-key-id"
diff --git a/jenkins-config/managed-config-files/custom/kni-aws-access-key-id/content b/jenkins-config/managed-config-files/custom/kni-aws-access-key-id/content
new file mode 100644 (file)
index 0000000..f9122e9
--- /dev/null
@@ -0,0 +1 @@
+$KNI_AWS_USR
diff --git a/jenkins-config/managed-config-files/custom/kni-aws-access-key-id/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/kni-aws-access-key-id/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..72161a1
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "kni-aws-access"
+    tokenKey: "KNI_AWS"
diff --git a/jenkins-config/managed-config-files/custom/kni-aws-access-key-id/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/kni-aws-access-key-id/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..72161a1
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "kni-aws-access"
+    tokenKey: "KNI_AWS"
diff --git a/jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/config-params.yaml b/jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/config-params.yaml
new file mode 100644 (file)
index 0000000..8d52330
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "kni-aws-secret-access-key"
+comment: "kni-aws-secret-access-key"
diff --git a/jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/content b/jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/content
new file mode 100644 (file)
index 0000000..528b41c
--- /dev/null
@@ -0,0 +1 @@
+$KNI_AWS_PSW
diff --git a/jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..72161a1
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "kni-aws-access"
+    tokenKey: "KNI_AWS"
diff --git a/jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/kni-aws-secret-access-key/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..72161a1
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "kni-aws-access"
+    tokenKey: "KNI_AWS"
diff --git a/jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/config-params.yaml b/jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/config-params.yaml
new file mode 100644 (file)
index 0000000..d8536fe
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "kni-coreos-pull-secret"
+comment: "kni-coreos-pull-secret"
diff --git a/jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/content b/jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/content
new file mode 100644 (file)
index 0000000..e64a74f
--- /dev/null
@@ -0,0 +1,20 @@
+{
+  "auths": {
+    "cloud.openshift.com": {
+      "auth": "$KNI_CLOUD_PSW",
+      "email": "$KNI_CLOUD_USR"
+    },
+    "quay.io": {
+      "auth": "$KNI_CLOUD_PSW",
+      "email": "$KNI_CLOUD_USR"
+    },
+    "registry.connect.redhat.com": {
+      "auth": "$KNI_REDHAT_PSW",
+      "email": "$KNI_REDHAT_USR"
+    },
+    "registry.redhat.io": {
+      "auth": "$KNI_REDHAT_PSW",
+      "email": "$KNI_REDHAT_USR"
+    }
+  }
+}
diff --git a/jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..d59cfc6
--- /dev/null
@@ -0,0 +1,6 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "kni-coreos-creds"
+    tokenKey: "KNI_CLOUD"
+  - credentialsId: "kni-coreos-redhat-creds"
+    tokenKey: "KNI_REDHAT"
diff --git a/jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/kni-coreos-pull-secret/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..d59cfc6
--- /dev/null
@@ -0,0 +1,6 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "kni-coreos-creds"
+    tokenKey: "KNI_CLOUD"
+  - credentialsId: "kni-coreos-redhat-creds"
+    tokenKey: "KNI_REDHAT"
diff --git a/jenkins-config/managed-config-files/custom/kni-ssh-pub-key/config-params.yaml b/jenkins-config/managed-config-files/custom/kni-ssh-pub-key/config-params.yaml
new file mode 100644 (file)
index 0000000..6ca4108
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "kni-ssh-pub-key"
+comment: "kni-ssh-pub-key"
diff --git a/jenkins-config/managed-config-files/custom/kni-ssh-pub-key/content b/jenkins-config/managed-config-files/custom/kni-ssh-pub-key/content
new file mode 100644 (file)
index 0000000..76c22db
--- /dev/null
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7CtJ12mLYsMBTO0JtQOWnTwkbvcFyial1X2gLbgUVThIIWJlRZGnAJTXNPtv+o5tnDW2/scidegqQbSWAqaLHTmkFfuOBCFdN9hLZxwncKZGaD44o0xhY3rie/WuVubNBy+gsOw8HLlymqoDqp4XVEYBFuQWQjH0NDg/UhWXiVNvcyQ+ANCdlM2fBmcTVo+BagvDooXIsdkdu3utMTgCldlFPBQgAs+g684y7zlXHwEC+j9KhF5ecSkRvcL8AM5ckBdWxBWr4yk53HYlET0VaFVmXEeozwIy7BBBCkY644cNhLXMiHNzvegUQh/6P9ppaGNh3O86U3ypFryVtEjDL
diff --git a/jenkins-config/managed-config-files/custom/lftoolsini/config-params.yaml b/jenkins-config/managed-config-files/custom/lftoolsini/config-params.yaml
new file mode 100644 (file)
index 0000000..25904bf
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "lftoolsini"
+comment: "LFTOOLS config file"
diff --git a/jenkins-config/managed-config-files/custom/lftoolsini/content b/jenkins-config/managed-config-files/custom/lftoolsini/content
new file mode 100644 (file)
index 0000000..66836e9
--- /dev/null
@@ -0,0 +1,3 @@
+[nexus.akraino.org]
+username=$JENKINS_RELEASE_USR
+password=$JENKINS_RELEASE_PSW
diff --git a/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..a72eb4d
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "dummy"
+    tokenKey: "JENKINS_RELEASE"
diff --git a/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/lftoolsini/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..dccc107
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "jenkins-release"
+    tokenKey: "JENKINS_RELEASE"
diff --git a/jenkins-config/managed-config-files/custom/npmrc/config-params.yaml b/jenkins-config/managed-config-files/custom/npmrc/config-params.yaml
new file mode 100644 (file)
index 0000000..30fafd6
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "npmrc"
+comment: "npmrc config file"
diff --git a/jenkins-config/managed-config-files/custom/npmrc/content b/jenkins-config/managed-config-files/custom/npmrc/content
new file mode 100644 (file)
index 0000000..139597f
--- /dev/null
@@ -0,0 +1,2 @@
+
+
diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml
new file mode 100644 (file)
index 0000000..d44d0fa
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "packer-cloud-env"
+comment: "Packer cloud environmnet config"
diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/content b/jenkins-config/managed-config-files/custom/packer-cloud-env/content
new file mode 100644 (file)
index 0000000..012e437
--- /dev/null
@@ -0,0 +1,8 @@
+{
+  "cloud_auth_url": "https://auth.vexxhost.net/v3/",
+  "cloud_tenant": "5b48ce73-f848-4bfa-b06b-c33c21f37acc",
+  "cloud_user": "$PACKER_CLOUD_USR",
+  "cloud_pass": "$PACKER_CLOUD_PSW",
+  "cloud_network": "e84c8d94-1d74-4593-b24f-9a091cd3b9bf",
+  "ssh_proxy_host": ""
+}
diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..b1d34f1
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "packer-cloud-credentials"
+    tokenKey: "PACKER_CLOUD"
diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..b1d34f1
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "packer-cloud-credentials"
+    tokenKey: "PACKER_CLOUD"
diff --git a/jenkins-config/managed-config-files/custom/pipconf/config-params.yaml b/jenkins-config/managed-config-files/custom/pipconf/config-params.yaml
new file mode 100644 (file)
index 0000000..e2eb56e
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "pipconf"
+comment: "Pip config file"
diff --git a/jenkins-config/managed-config-files/custom/pipconf/content b/jenkins-config/managed-config-files/custom/pipconf/content
new file mode 100644 (file)
index 0000000..139597f
--- /dev/null
@@ -0,0 +1,2 @@
+
+
diff --git a/jenkins-config/managed-config-files/custom/signing-pubkey/config-params.yaml b/jenkins-config/managed-config-files/custom/signing-pubkey/config-params.yaml
new file mode 100644 (file)
index 0000000..a186b58
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "SIGNING_PUBKEY"
+comment: "SIGNING_PUBKEY"
diff --git a/jenkins-config/managed-config-files/custom/signing-pubkey/content b/jenkins-config/managed-config-files/custom/signing-pubkey/content
new file mode 100644 (file)
index 0000000..a26683d
--- /dev/null
@@ -0,0 +1,38 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+mQENBFvbWmoBCADmzoUOr96MHCD5gvAc4iLYAECXyacTfgeTM4o71zgeK9MA0uwW
+gEhf2csdD82kYd1lhGePPcFqPN0hZL4Rq9tq+iZhWQSaKAkSZioIjMQEd3bo4zh5
+9wtXyqfzDKtAyZo7ITkA8hsHxCFzaCLJNiZktGe2nzImpbTooTZfwmfthz4UD64o
+nsl467HK1rDSAH/HxzrCFzKFT1CVAuekIwiM6WLHiYGAbGBD0PLn1ykGO4D/hJxG
+qGVDlsliRYJrKFn2oN9k8lYmsoo0LoMEfBU+7WPVsjgRTlxpnMr8zzKAwxenUOuN
+6sc97cBJ6HWUxxjonORRnx8BD94fJ+Phk5SbABEBAAG0Y0FrcmFpbm8gUmVsZWFz
+ZSAoMjAxOCkgKEFrcmFpbm8gUmVsZWFzZSBTaWduaW5nIEtleSAoMjAxOCkpIDxj
+b2xsYWItaXQrYWtyYWlub0BsaW51eGZvdW5kYXRpb24ub3JnPokBOAQTAQIAIgUC
+W9taagIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQYmhaWw9vnhhSjQgA
+sRQBkPl5bXbvO7RwIs/TSrXQnpQTpTscc+d4me7NGj4e8DXTvUDJrIUEE2zRtfqS
+ppDwv2vZggr62ZsyiSufUdJdzpNyCUy5PYyYtUttf3IfKnMma5JiIFyQprF98vNk
+OUNvFqGs47qdyFvNQ5VONKNTIomDT/EcwC3S1dba1pxX4an56tImeDry+ntxs4rn
+jdiw++jzyrYNTIchvovWaCksKAgk5fu5EXqpp9U2OXOUxv83uX7X/4Tven3gSYH3
+LNhH27FzfDZSZl5PPKHlA+l6sL8SEBDboVt8hZaNzVVytG2/gs896TKgkCpRvC5q
+Mrn/Mkhq8jtfOho6EMOqWbkBDQRb21pqAQgAuq1BEPseK380gMDRAYm3dovITWHB
+Csd4marMfU1biDyE3RyKAvhX92U0SyiSSgBTgZDtTkaEBB4SICqk3O8pk8KugbBQ
+z1QdHh+JQV1sYILO9MvIZcwY92TYtfFabf/lt/TQs3EFDZSKJ2TnvBv8a0RlfuYw
+P3IMn2VqU9FP5fO70VGYJ1GcO3NFZUlX7TZh0cwhShBX00fFbRQ4pPk+w0r3nfRy
+DJuEo1GmyirucxP0taFr3x0TMfKQgwhw6lxTPcEJ1hgPuliYRdt/wFTxeGKHrDHG
+ptjd4GBFfxvx7xhN/1/MG/uYASN5JRyXmao+pR7l88yHtnMMEKP0AUMaOwARAQAB
+iQI+BBgBAgAJBQJb21pqAhsuASkJEGJoWlsPb54YwF0gBBkBAgAGBQJb21pqAAoJ
+EIp83k+BO6sPu6IH/3NZ3AunoT7psx128cE19k0IERhPOEneyj76VLYyMhYub9ha
++66RAKANJ+AENmG7rhjfc7pLqhTRQY1rr3+0KSZbPtHwzheoTmfIVtLIaKmjVGzT
+sC+9gczHqOHgElwXN/ePOf95R1yYJ6x6p1aS54dYcjcBQP+rde5XYq/sCKOKYrO+
+iW3+F7D2sNZbnim2TOrg4wUFCmy6tc/vDmpYDP4w1o3KUd/qZp9Rmsa+4EQFaNfN
+V4dmI22Yu3YBvJq3vDfWFPzr6XtnLGcKeffHfuavFsbBvF6g0D52exOvJcfW44rz
+RF+YRZDicqkEbv6lzCd83UTITdnNj9Yjg4DkSiUQrQgA0wGL0VUioZLrMLxmQZyf
+gdYNLjXTn5M3k+xv5rNmQH6u7QJF+Phlk+c8+adEDnDS3lKS2JHV5/+GQfGSuor5
+nAUzB6UPamQrmFymftLzrRCPXUk3/mGzgeL1sSOqJ59sk56NLNSIEtNbrQB6Q5MK
+fdPqkQa477EtIgb4XCqeZ+HMbnZ+xCTvKqhZ8d+G+OWQrNSa20pGyYd8EdC3eHwY
+pnEjBVp7r3HNvl3PKwOQ11DM/I8mBa9ioa9R4pMiVfej4/LQqwVXZUVtmUjfLwGk
+2tAi4A7E7/a3HljC6d5wUu32RJsiNzsr4rmtFqCkQ3+Jm+IEpIH4yTLtmisRPRQG
+TQ==
+=q4su
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/jenkins-config/managed-config-files/custom/sigul-config/config-params.yaml b/jenkins-config/managed-config-files/custom/sigul-config/config-params.yaml
new file mode 100644 (file)
index 0000000..a85f152
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "sigul-config"
+comment: "sigul-config"
diff --git a/jenkins-config/managed-config-files/custom/sigul-config/content b/jenkins-config/managed-config-files/custom/sigul-config/content
new file mode 100644 (file)
index 0000000..fbfdbc9
--- /dev/null
@@ -0,0 +1,14 @@
+[client]
+bridge-hostname: sigul-bridge-yul.linuxfoundation.org
+bridge-port: 44334
+client-cert-nickname: $SIGUL_CONFIG_USR
+server-hostname: vex-yul-wl-sigul-server-1.dr.codeaurora.org
+user-name: $SIGUL_CONFIG_USR
+
+[koji]
+
+[nss]
+nss-dir: /home/jenkins/sigul
+nss-password: $SIGUL_CONFIG_PSW
+nss-min-tls: tls1.2
+nss-max-tls: tls1.2
diff --git a/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..37aea3a
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "sigul-config-credentials"
+    tokenKey: "SIGUL_CONFIG"
diff --git a/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/sigul-config/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..37aea3a
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "sigul-config-credentials"
+    tokenKey: "SIGUL_CONFIG"
diff --git a/jenkins-config/managed-config-files/custom/sigul-password/config-params.yaml b/jenkins-config/managed-config-files/custom/sigul-password/config-params.yaml
new file mode 100644 (file)
index 0000000..192ef88
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "sigul-password"
+comment: "sigul-password"
diff --git a/jenkins-config/managed-config-files/custom/sigul-password/content b/jenkins-config/managed-config-files/custom/sigul-password/content
new file mode 100644 (file)
index 0000000..b58b917
--- /dev/null
@@ -0,0 +1 @@
+$SIGUL_PASS
diff --git a/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..c7b0971
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "sigul-pass"
+    tokenKey: "SIGUL_PASS"
diff --git a/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/sigul-password/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..c7b0971
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "sigul-pass"
+    tokenKey: "SIGUL_PASS"
diff --git a/jenkins-config/managed-config-files/custom/sigul-pki/config-params.yaml b/jenkins-config/managed-config-files/custom/sigul-pki/config-params.yaml
new file mode 100644 (file)
index 0000000..e8220e9
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "sigul-pki"
+comment: "sigul-pki"
diff --git a/jenkins-config/managed-config-files/custom/sigul-pki/content b/jenkins-config/managed-config-files/custom/sigul-pki/content
new file mode 100644 (file)
index 0000000..27ce930
--- /dev/null
@@ -0,0 +1 @@
+$SIGUL_PKI
diff --git a/jenkins-config/managed-config-files/custom/sigul-pki/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/sigul-pki/customizedCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..88a3243
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "sigul-pki"
+    tokenKey: "SIGUL_PKI"
diff --git a/jenkins-config/managed-config-files/custom/sigul-pki/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/sigul-pki/customizedCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..88a3243
--- /dev/null
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+  - credentialsId: "sigul-pki"
+    tokenKey: "SIGUL_PKI"
diff --git a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/config-params.yaml b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..cf85503
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "global-settings"
+comment: "Maven Global Settings file"
diff --git a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content
new file mode 100644 (file)
index 0000000..436f14d
--- /dev/null
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=2 tabstop=2: -->
+
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+
+  <mirrors>
+    <mirror>
+      <id>release-mirror</id>
+      <name>Local Nexus mirror for builds</name>
+      <url>^${env.NEXUS_URL}/content/repositories/public/</url>
+      <mirrorOf>central</mirrorOf>
+    </mirror>
+  </mirrors>
+
+  <profiles>
+    <profile>
+      <id>releases</id>
+      <repositories>
+        <repository>
+          <id>releases</id>
+          <name>releases</name>
+          <url>^${env.NEXUS_URL}/content/repositories/releases/</url>
+          <releases>
+            <enabled>true</enabled>
+            <updatePolicy>never</updatePolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+
+      <pluginRepositories>
+        <pluginRepository>
+          <id>releases</id>
+          <name>releases</name>
+          <url>^${env.NEXUS_URL}/content/repositories/releases/</url>
+          <releases>
+            <enabled>true</enabled>
+            <updatePolicy>never</updatePolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+
+    <profile>
+      <id>staging</id>
+      <repositories>
+        <repository>
+          <id>staging</id>
+          <name>staging</name>
+          <url>^${env.NEXUS_URL}/content/repositories/staging/</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+    </profile>
+
+    <profile>
+      <id>snapshots</id>
+      <repositories>
+        <repository>
+          <id>snapshots</id>
+          <name>snapshots</name>
+          <url>^${env.NEXUS_URL}/content/repositories/snapshots/</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+
+      <pluginRepositories>
+        <pluginRepository>
+          <id>snapshots</id>
+          <name>snapshots</name>
+          <url>^${env.NEXUS_URL}/content/repositories/snapshots/</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+
+  </profiles>
+
+  <activeProfiles>
+    <activeProfile>releases</activeProfile>
+    <activeProfile>snapshots</activeProfile>
+  </activeProfiles>
+</settings>
diff --git a/jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..c89bb20
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "5g-mec-cloud-gaming-settings"
+comment: "5g-mec-cloud-gaming-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/content b/jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/5g-mec-cloud-gaming-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..41ddac9
--- /dev/null
@@ -0,0 +1,20 @@
+---
+serverCredentialMappings:
+  - serverId: "releases"
+    credentialsId: &cred "5g-mec-cloud-gaming"
+  - serverId: "snapshots"
+    credentialsId: *cred
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..0371a7f
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "addon-onap-settings"
+comment: "addon-onap-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/content b/jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/addon-onap-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..91605a3
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "addon-onap"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..a7489cd
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "addon-snappy-settings"
+comment: "addon-snappy-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/content b/jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/addon-snappy-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..320abf0
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "addon-snappy"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..d6ef602
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "airshipinabottle_deploy-settings"
+comment: "airshipinabottle_deploy-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/content b/jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/airshipinabottle_deploy-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..f478246
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "airshipinabottle_deploy"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/apigateway-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/apigateway-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..1099466
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "apigateway-settings"
+comment: "apigateway-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/apigateway-settings/content b/jenkins-config/managed-config-files/mavenSettings/apigateway-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/apigateway-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/apigateway-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/apigateway-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/apigateway-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..6b16a77
--- /dev/null
@@ -0,0 +1,20 @@
+---
+serverCredentialMappings:
+  - serverId: "releases"
+    credentialsId: &cred "apigateway"
+  - serverId: "snapshots"
+    credentialsId: *cred
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..b13e14a
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "camunda_workflow-settings"
+comment: "camunda_workflow-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/content b/jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/camunda_workflow-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..5c464b9
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "camunda_workflow"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..e0d3374
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "images-snapshots-settings"
+comment: "images-snapshots-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/content b/jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/images-snapshots-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..0ed40ff
--- /dev/null
@@ -0,0 +1,4 @@
+---
+serverCredentialMappings:
+  - serverId: "images-snapshots"
+    credentialsId: images-snapshots
diff --git a/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..f030b27
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "jenkins-log-archives-settings"
+comment: "jenkins-log-archives-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/content b/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/serverCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..ebba7e3
--- /dev/null
@@ -0,0 +1,4 @@
+---
+serverCredentialMappings:
+  - serverId: "logs"
+    credentialsId: "logs"
diff --git a/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/jenkins-log-archives-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..ebba7e3
--- /dev/null
@@ -0,0 +1,4 @@
+---
+serverCredentialMappings:
+  - serverId: "logs"
+    credentialsId: "logs"
diff --git a/jenkins-config/managed-config-files/mavenSettings/kni-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/kni-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..fdb427e
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "kni-settings"
+comment: "kni-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/kni-settings/content b/jenkins-config/managed-config-files/mavenSettings/kni-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/kni-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/kni-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/kni-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/kni-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..7031d37
--- /dev/null
@@ -0,0 +1,10 @@
+---
+serverCredentialMappings:
+  - serverId: "releases"
+    credentialsId: &cred "kni"
+  - serverId: "snapshots"
+    credentialsId: *cred
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "nexus.akraino.org"
+    credentialsId: *cred
diff --git a/jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..9ad4c10
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "portal_user_interface-settings"
+comment: "portal_user_interface-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/content b/jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/portal_user_interface-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..6840b83
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "portal_user_interface"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..89741d8
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "postgres_db_schema-settings"
+comment: "postgres_db_schema-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/content b/jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/postgres_db_schema-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..2ce63e4
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "postgres_db_schema"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/redfish-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/redfish-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..a650078
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "redfish-settings"
+comment: "redfish-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/redfish-settings/content b/jenkins-config/managed-config-files/mavenSettings/redfish-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/redfish-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/redfish-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/redfish-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/redfish-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..eb404c4
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "redfish"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..41c9709
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "regional_controller-settings"
+comment: "regional_controller-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/content b/jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/regional_controller-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..320f186
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "regional_controller"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..75f5f28
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "sample_vnf-settings"
+comment: "sample_vnf-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/content b/jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/sample_vnf-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..61ee589
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "sample_vnf"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/ta-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/ta-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..ec29eed
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "ta-settings"
+comment: "ta-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/ta-settings/content b/jenkins-config/managed-config-files/mavenSettings/ta-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/ta-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/ta-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/ta-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/ta-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..42e804c
--- /dev/null
@@ -0,0 +1,20 @@
+---
+serverCredentialMappings:
+  - serverId: "rpm.releases"
+    credentialsId: &cred "ta"
+  - serverId: "rpm.snapshots"
+    credentialsId: *cred
+  - serverId: "rpm.staging"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
+  - serverId: "images-snapshots"
+    credentialsId: *cred
diff --git a/jenkins-config/managed-config-files/mavenSettings/test_automation-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/test_automation-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..433c968
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "test_automation-settings"
+comment: "test_automation-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/test_automation-settings/content b/jenkins-config/managed-config-files/mavenSettings/test_automation-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/test_automation-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/test_automation-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/test_automation-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/test_automation-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..07c7379
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "test_automation"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/validation-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/validation-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..3e6db8e
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "validation-settings"
+comment: "validation-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/validation-settings/content b/jenkins-config/managed-config-files/mavenSettings/validation-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/validation-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/validation-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/validation-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/validation-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..64f1f36
--- /dev/null
@@ -0,0 +1,16 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "validation"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/config-params.yaml
new file mode 100644 (file)
index 0000000..dbac2ee
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "yaml_builds-settings"
+comment: "yaml_builds-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/content b/jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/content
new file mode 120000 (symlink)
index 0000000..e830ebd
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000 (symlink)
index 0000000..8f92057
--- /dev/null
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/yaml_builds-settings/serverCredentialMappings.yaml
new file mode 100644 (file)
index 0000000..e490546
--- /dev/null
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+  - serverId: "snapshots"
+    credentialsId: &cred "yaml_builds"
+  - serverId: "staging"
+    credentialsId: *cred
+  - serverId: "site"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10001"
+    credentialsId: "docker"
+  - serverId: "nexus3.acumos.org:10002"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10003"
+    credentialsId: *cred
+  - serverId: "nexus3.acumos.org:10004"
+    credentialsId: *cred
+  - serverId: "docker.io"
+    credentialsId: akrainoci
diff --git a/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/config-params.yaml b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/config-params.yaml
new file mode 100644 (file)
index 0000000..6bc357d
--- /dev/null
@@ -0,0 +1,3 @@
+---
+name: "jenkins-init-script"
+comment: "jenkins-init-script"
diff --git a/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content
new file mode 100644 (file)
index 0000000..f6d1a43
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+git clone --recurse-submodules https://gerrit.akraino.org/r/ci-management.git /opt/ciman
+/opt/ciman/global-jjb/jenkins-init-scripts/init.sh
diff --git a/jenkins-config/managed-config-templates/mavenSettings-content b/jenkins-config/managed-config-templates/mavenSettings-content
new file mode 100644 (file)
index 0000000..9f8f282
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+</settings>
diff --git a/jenkins-config/managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
new file mode 100644 (file)
index 0000000..c84a88b
--- /dev/null
@@ -0,0 +1,4 @@
+---
+serverCredentialMappings:
+  - serverId: "dummy"
+    credentialsId: "dummy"
diff --git a/jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming-verify.yaml b/jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming-verify.yaml
deleted file mode 100644 (file)
index 68d55d3..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
----
-- project:
-    name: 5g-mec-cloud-gaming
-    project: 5g-mec-cloud-gaming
-    project-name: 5g-mec-cloud-gaming
-    build-node: centos7-builder-2c-1g
-    stream:
-      - master:
-          branch: master
-    jobs:
-      - 5g-mec-project-stream-verify
diff --git a/jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming.yaml b/jjb/5g-mec-cloud-gaming/5g-mec-cloud-gaming.yaml
deleted file mode 100644 (file)
index ba84140..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
----
-- project:
-    name: 5g-mec-cloud-gaming-project-view
-    project-name: 5g-mec-cloud-gaming
-    views:
-      - project-view
-
-- project:
-    name: 5g-mec-cloud-gaming-info
-    project: 5g-mec-cloud-gaming
-    project-name: 5g-mec-cloud-gaming
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
diff --git a/jjb/addon-onap/addon-onap.yaml b/jjb/addon-onap/addon-onap.yaml
deleted file mode 100644 (file)
index a25cf40..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: addon-onap
-    project-name: addon-onap
-    project: addon-onap
-    build-node: centos7-builder-2c-1g
-    stream: master
-    mvn-settings: addon-onap-settings
-    group-id: org.akraino.addon-onap
-    refspec: refs/heads/master
-    branch: master
-    jobs:
-      - akraino-project-stream-release-config
-      - akraino-project-stream-stage-config
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
diff --git a/jjb/addon-onap/info-addon-onap.yaml b/jjb/addon-onap/info-addon-onap.yaml
deleted file mode 100644 (file)
index 36a48b9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: addon-onap-info
-    project-name: addon-onap
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: addon-onap
-    branch: master
diff --git a/jjb/addon-snappy/info-addon-snappy.yaml b/jjb/addon-snappy/info-addon-snappy.yaml
deleted file mode 100644 (file)
index 186939d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: addon-snappy-info
-    project-name: addon-snappy
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: addon-snappy
-    branch: master
diff --git a/jjb/aiedge/info-aiedge.yaml b/jjb/aiedge/info-aiedge.yaml
deleted file mode 100644 (file)
index 6761cc1..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: aiedge-info
-    project-name: aiedge
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: aiedge
-    branch: master
diff --git a/jjb/airshipinabottle_deploy/airshipinabottle_deploy.yaml b/jjb/airshipinabottle_deploy/airshipinabottle_deploy.yaml
deleted file mode 100644 (file)
index 869a68e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: airshipinabottle_deploy
-    project-name: airshipinabottle_deploy
-    project: airshipinabottle_deploy
-    build-node: centos7-builder-2c-1g
-    stream: master
-    mvn-settings: airshipinabottle_deploy-settings
-    group-id: org.akraino.airshipinabottle_deploy
-    refspec: refs/heads/master
-    branch: master
-    jobs:
-      - akraino-project-stream-release-config
-      - akraino-project-stream-stage-config
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
diff --git a/jjb/airshipinabottle_deploy/info-airshipinabottle_deploy.yaml b/jjb/airshipinabottle_deploy/info-airshipinabottle_deploy.yaml
deleted file mode 100644 (file)
index c7ffa94..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: airshipinabottle_deploy-info
-    project-name: airshipinabottle_deploy
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: airshipinabottle_deploy
-    branch: master
diff --git a/jjb/akraino-templates/akraino-5g-mec-templates.yaml b/jjb/akraino-templates/akraino-5g-mec-templates.yaml
deleted file mode 100644 (file)
index 95cbdb0..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
----
-- job-template:
-    id: 5g-mec-project-stream-verify
-    name: '{project-name}-{stream}-verify'
-    archive-artifacts: >
-      **/*.log
-    build-days-to-keep: 30
-    build-timeout: 60
-    stream: master
-    project-type: freestyle
-    submodule-recursive: true
-    node: '{build-node}'
-
-    properties:
-      - lf-infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
-
-    parameters:
-      - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-          lftools-version: '{lftools-version}'
-
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
-
-    wrappers:
-      - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-
-    scm:
-      - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
-          submodule-disable: false
-          choosing-strategy: 'gerrit'
-
-    triggers:
-      - gerrit:
-          server-name: '{gerrit-server-name}'
-          trigger-on:
-            - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
-                exclude-no-code-change: 'false'
-            - change-merged-event
-            - draft-published-event
-            - comment-added-contains-event:
-                comment-contains-value: 'recheck'
-            - comment-added-contains-event:
-                comment-contains-value: 'reverify'
-          projects:
-            - project-compare-type: 'ANT'
-              project-pattern: '{project}'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-              disable-strict-forbidden-file-verification: 'true'
-              forbidden-file-paths:
-                - compare-type: ANT
-                  pattern: 'docs/**'
-                - compare-type: REG_EXP
-                  pattern: 'INFO.yaml'
-          readable-message: true
-
-    builders:
-      - shell: !include-raw-escape:
-          - ../shell/verify.sh
-
-    publishers:
-      - lf-infra-publish
index 9b2953c..9a185b3 100644 (file)
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-- daaas_job_boiler_plate: &daaas_job_boiler_plate
+- _daaas_job_boiler_plate: &daaas_job_boiler_plate
     name: daaas_job_boiler_plate
     archive-artifacts: >
       **/*.log
index 8c2e20d..502a5eb 100644 (file)
@@ -3,87 +3,87 @@
 # PARAMETERS #
 ##############
 - parameter:
-    name: 'iec-defaults'
+    name: "iec-defaults"
     parameters:
       - string:
           name: INSTALLER_IP
-          default: '10.20.0.2'
-          description: 'IP of the installer'
+          default: "10.20.0.2"
+          description: "IP of the installer"
       - string:
           name: SSH_KEY
-          default: '/var/lib/opnfv/mcp.rsa'
-          description: 'Path to private SSH key to access environment nodes'
+          default: "/var/lib/opnfv/mcp.rsa"
+          description: "Path to private SSH key to access environment nodes"
       - string:
           name: EXTERNAL_NETWORK
-          default: 'floating_net'
-          description: 'external network for test'
+          default: "floating_net"
+          description: "external network for test"
       - string:
           name: CI_DEBUG
-          default: 'false'
-          description: 'Show debug output information'
+          default: "false"
+          description: "Show debug output information"
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '**/*.log'
+          default: "**/*.log"
           description: Artifacts to archive to the logs server.
 
 # Usecase params are both installer and OS specific
-- parameter: &k8s_fuel_ubuntu1604_parameter
-    name: 'fuel-ubuntu1604-defaults'
+- parameter: &k8s_fuel_ubuntu1804_parameter
+    name: "fuel-ubuntu1804-parameters"
     parameters:
       - string: &k8s_master_ip
           name: K8S_MASTER_IP
-          default: '172.16.10.36'
-          description: 'IP address to connect to the K8s master'
+          default: "172.16.10.36"
+          description: "IP address to connect to the K8s master"
       - string: &k8s_ssh_user
           name: K8S_SSH_USER
-          default: 'ubuntu'
-          description: 'SSH username to connect to the K8s master '
+          default: "ubuntu"
+          description: "SSH username to connect to the K8s master "
       - string: &k8s_ssh_password
           name: K8S_SSH_PASSWORD
-          default: ''
-          description: 'SSH password to connect to the K8s master'
+          default: ""
+          description: "SSH password to connect to the K8s master"
       - string: &k8s_ssh_key
           name: K8S_SSH_KEY
-          default: '/var/lib/opnfv/mcp.rsa'
-          description: 'SSH key to connect to the K8s master'
+          default: "/var/lib/opnfv/mcp.rsa"
+          description: "SSH key to connect to the K8s master"
 
 - parameter:
-    <<: *k8s_fuel_ubuntu1604_parameter
-    name: 'fuel-ubuntu1804-defaults'
+    <<: *k8s_fuel_ubuntu1804_parameter
+    name: "fuel-ubuntu1804-defaults"
 - parameter:
-    name: 'fuel-centos7-defaults'
+    name: "fuel-centos7-defaults"
     parameters:
       - string:
           <<: *k8s_master_ip
       - string:
           <<: *k8s_ssh_user
-          default: 'centos'
+          default: "centos"
       - string:
           <<: *k8s_ssh_password
       - string:
           <<: *k8s_ssh_key
 
 - parameter:
-    name: 'compass-ubuntu1604-defaults'
+    name: "compass-ubuntu1804-defaults"
     parameters:
       - string:
           <<: *k8s_master_ip
-          default: '10.1.0.50'
+          default: "10.1.0.50"
       - string:
           <<: *k8s_ssh_user
-          default: 'root'
+          default: "root"
       - string:
           <<: *k8s_ssh_password
-          default: 'root'
+          default: "root"
       - string:
           <<: *k8s_ssh_key
-          default: ''
+          default: ""
 
 ########################
 # publisher macros
 ########################
 - publisher:
-    name: 'iec-default-publisher'
+    name: "iec-default-publisher"
     publishers:
       - email:
           recipients: armband@enea.com
 # Akraino IEC CI Baremetal Triggers running against master branch
 # ----------------------------------------------------------------
 - trigger:
-    name: 'iec-type2-fuel-virtual-ubuntu1604-daily-master-trigger'
+    name: "iec-type2-fuel-virtual-ubuntu1804-daily-master-trigger"
     triggers:
-      - timed: '0 1 * * 1,3,5'
+      - timed: "0 1 * * 2,6"
 - trigger:
-    name: 'iec-type2-compass-virtual-ubuntu1604-daily-master-trigger'
+    name: "iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger"
     triggers:
-      - timed: '0 13 * * *'
+      - timed: "0 1 * * *"
 - trigger:
-    name: 'iec-type2-fuel-virtual-ubuntu1804-daily-master-trigger'
+    name: "iec-type2-fuel-virtual-centos7-daily-master-trigger"
     triggers:
-      - timed: '0 1 * * 2,6'
+      - timed: "0 1 * * 4,7"
 - trigger:
-    name: 'iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger'
+    name: "iec-type1-compass-virtual-ubuntu1804-daily-master-trigger"
     triggers:
-      - timed: '0 1 * * *'
-- trigger:
-    name: 'iec-type2-fuel-virtual-centos7-daily-master-trigger'
-    triggers:
-      - timed: '0 1 * * 4,7'
-- trigger:
-    name: 'iec-type1-compass-virtual-ubuntu1604-daily-master-trigger'
-    triggers:
-      - timed: '0 19 * * *'
+      - timed: "0 19 * * *"
index a3bfa34..6f732ec 100644 (file)
@@ -1,54 +1,53 @@
 ---
 - job-template:
     id: akraino-iec-install
-    name: 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}'
-    disabled: '{obj:disabled}'
+    name: "iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}"
+    disabled: "{obj:disabled}"
     concurrent: false
-    node: '{slave_label}'
+    node: "{slave_label}"
     properties:
       - throttle:
           enabled: true
           max-total: 4
           max-per-node: 1
-          option: 'project'
+          option: "project"
       - build-blocker:
           use-build-blocker: true
           blocking-jobs:
-            - '.*-fuel-{deploy_type}-.*'
-            - '.*-compass-{deploy_type}-.*'
-          block-level: 'NODE'
+            - ".*-fuel-{deploy_type}-.*"
+            - ".*-compass-{deploy_type}-.*"
+          block-level: "NODE"
 
     wrappers:
       - build-name:
-          name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
+          name: "$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE"
 
     triggers:
-      - 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}-trigger'
+      - "iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}-trigger"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-      - '{project}-defaults'
-      - '{installer}-{os}-defaults'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+      - "{project}-defaults"
+      - "{installer}-{os}-defaults"
       - string:
           name: DEPLOY_SCENARIO
-          default: '{scenario}'
+          default: "{scenario}"
       - string:
           name: IEC_TYPE
-          default: '{iecType}'
+          default: "{iecType}"
 
     builders:
       - trigger-builds:
-          - project: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
+          - project: "iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}"
             current-parameters: true
-            predefined-parameters:
-              DEPLOY_SCENARIO={scenario}
+            predefined-parameters: DEPLOY_SCENARIO={scenario}
             same-node: true
             block: true
       - trigger-builds:
-          - project: 'validation-enea-daily-{stream}'
+          - project: "validation-enea-daily-{stream}"
             same-node: true
             current-parameters: true
             predefined-parameters: |
               OPTIONAL=false
               PULL=yes
             block: true
-          - project:
-              !j2: |
-                {%- if deploy_type not in ['virtual'] -%}
-                {%- for uc in usecase -%}
-                {%- for ph in phase -%}
-                iec-{{ iecType }}-{{ ph }}-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
-                {%- if not loop.last -%},{%- endif -%}
-                {%- endfor %}
-                {%- if not loop.last -%},{%- endif -%}
-                {%- endfor %}
-                {%- endif -%}
+          - project: !j2: |
+              {%- if deploy_type not in ['virtual'] -%}
+              {%- for uc in usecase -%}
+              {%- for ph in phase -%}
+              iec-{{ iecType }}-{{ ph }}-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
+              {%- if not loop.last -%},{%- endif -%}
+              {%- endfor %}
+              {%- if not loop.last -%},{%- endif -%}
+              {%- endfor %}
+              {%- endif -%}
             current-parameters: true
             same-node: true
             block: true
             block-thresholds:
-              build-step-failure-threshold: 'never'
-              failure-threshold: 'never'
-              unstable-threshold: 'FAILURE'
-          - project:
-              !j2: |
-                {%- if deploy_type in ['virtual'] -%}
-                iec-{{ iecType }}-destroy-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
-                {%- endif -%}
+              build-step-failure-threshold: "never"
+              failure-threshold: "never"
+              unstable-threshold: "FAILURE"
+          - project: !j2: |
+              {%- if deploy_type in ['virtual'] -%}
+              iec-{{ iecType }}-destroy-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
+              {%- endif -%}
             current-parameters: false
             predefined-parameters: |
               DEPLOY_SCENARIO={scenario}
 
 - job-template:
     id: akraino-iec-deploy
-    name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
+    name: "iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}"
     concurrent: true
-    node: '{slave_label}'
+    node: "{slave_label}"
     properties: &properties
       - throttle:
           enabled: true
           max-total: 4
           max-per-node: 1
-          option: 'project'
+          option: "project"
       - build-blocker:
           use-build-blocker: true
           blocking-jobs:
-            - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
-            - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
-            - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
-          block-level: 'NODE'
+            - ".*-{iecType}-deploy-{installer}-{deploy_type}-.*"
+            - ".*-{iecType}-destroy-{installer}-{deploy_type}-.*"
+            - ".*-{iecType}-install-.*-{installer}-{deploy_type}-.*"
+          block-level: "NODE"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-      - '{project}-defaults'
-      - '{installer}-{os}-defaults'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+      - "{project}-defaults"
+      - "{installer}-{os}-defaults"
       - string:
           name: DEPLOY_SCENARIO
-          default: '{scenario}'
+          default: "{scenario}"
       - string:
           name: IEC_TYPE
-          default: '{iecType}'
+          default: "{iecType}"
       - string:
           name: EXTRA_ARGS
-          default: '-o {os}'
+          default: "-o {os}"
 
     wrappers: &wrappers
       - build-name:
-          name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
+          name: "$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE"
 
     scm: &scm
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
           submodule-recursive: false
-          submodule-timeout: '{submodule-timeout}'
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: true
           choosing-strategy: default
 
           description: "POD: $NODE_NAME"
       - conditional-step:
           condition-kind: regex-match
-          regex: 'compass'
-          label: '{installer}'
+          regex: "compass"
+          label: "{installer}"
           steps:
-            - shell:
-                !include-raw-escape: ../iec/iec-compass-build.sh
-            - shell:
-                !include-raw-escape: ../iec/iec-compass-deploy.sh
-            - shell:
-                !include-raw-escape: ../iec/iec-fdn-install.sh
+            - shell: !include-raw-escape: ../iec/iec-compass-build.sh
+            - shell: !include-raw-escape: ../iec/iec-compass-deploy.sh
+            - shell: !include-raw-escape: ../iec/iec-fdn-install.sh
       - conditional-step:
           condition-kind: regex-match
-          regex: 'fuel'
-          label: '{installer}'
+          regex: "fuel"
+          label: "{installer}"
           steps:
-            - shell:
-                !include-raw-escape: ../iec/iec-fuel-deploy.sh
+            - shell: !include-raw-escape: ../iec/iec-fuel-deploy.sh
 
     publishers:
       - iec-default-publisher
 
 - job-template:
     id: akraino-iec-destroy
-    name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
+    name: "iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}"
     concurrent: true
-    node: '{slave_label}'
+    node: "{slave_label}"
     properties: *properties
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-      - '{project}-defaults'
-      - '{installer}-{os}-defaults'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+      - "{project}-defaults"
+      - "{installer}-{os}-defaults"
       - string:
           name: DEPLOY_SCENARIO
-          default: '{scenario}'
+          default: "{scenario}"
       - string:
           name: IEC_TYPE
-          default: '{iecType}'
+          default: "{iecType}"
       - string:
           name: EXTRA_ARGS
-          default: '-EEE -o {os}'
+          default: "-EEE -o {os}"
 
     wrappers: *wrappers
     scm: *scm
     builders:
       - description-setter:
           description: "POD: $NODE_NAME"
-      - shell:
-          !include-raw-escape: ../iec/iec-{installer}-destroy.sh
+      - shell: !include-raw-escape: ../iec/iec-{installer}-destroy.sh
 
     publishers:
       - iec-default-publisher
index 597b0fb..8818e0a 100644 (file)
 # limitations under the License.
 #
 - job-template:
-    id: 'akraino-project-stream-docker'
-    name: '{project-name}-{stream}-docker'
+    id: "akraino-project-stream-docker"
+    name: "{project-name}-{stream}-docker"
     project-type: freestyle
-    node: '{build-node}'
+    node: "{build-node}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          branch: '{branch}'
-          stream: '{stream}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          branch: "{branch}"
+          stream: "{stream}"
+          lftools-version: "{lftools-version}"
 
     scm:
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
           choosing-strategy: default
 
     builders:
       - lf-update-java-alternatives:
-          java-version: '{java-version}'
+          java-version: "{java-version}"
       - lf-infra-docker-login:
-          global-settings-file: '{global-settings-file}'
-          settings-file: '{mvn-settings}'
+          global-settings-file: "{global-settings-file}"
+          settings-file: "{mvn-settings}"
       - inject:
           properties-content: |
-              PROJECT={project}
+            PROJECT={project}
       - shell: !include-raw-escape:
           - ../shell/build-docker.sh
 
     triggers:
-      - timed: '@hourly'
+      - timed: "@daily"
+
+    publishers:
+      - lf-infra-publish
 
 - job-template:
-    id: 'akraino-project-stream-stage-docker'
-    name: '{project-name}-{stream}-stage-docker'
+    id: "akraino-project-stream-stage-docker"
+    name: "{project-name}-{stream}-stage-docker"
     project-type: freestyle
-    node: '{build-node}'
+    node: "{build-node}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          branch: '{branch}'
-          stream: '{stream}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          branch: "{branch}"
+          stream: "{stream}"
+          lftools-version: "{lftools-version}"
       - string:
           name: STAGING_BUILD
-          default: 'true'
+          default: "true"
           description: Mark this as a staging build.
 
     scm:
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
           choosing-strategy: default
 
     builders:
       - lf-update-java-alternatives:
-          java-version: '{java-version}'
+          java-version: "{java-version}"
       - lf-infra-docker-login:
-          global-settings-file: '{global-settings-file}'
-          settings-file: '{mvn-settings}'
+          global-settings-file: "{global-settings-file}"
+          settings-file: "{mvn-settings}"
       - inject:
           properties-content: |
-              PROJECT={project}
+            PROJECT={project}
       - shell: !include-raw-escape:
           - ../shell/get-upstream-autostage.sh
           - ../shell/build-docker.sh
     triggers:
       - reverse:
           jobs:
-            - '{project}-maven-stage-{stream}'
-            - 'yaml_builds-{stream}-stage-config'
+            - "{project}-maven-stage-{stream}"
+            - "yaml_builds-{stream}-stage-config"
+
+    publishers:
+      - lf-infra-publish
index 6d380c2..91e1a54 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-- kni_common: &kni_common
+
+# A builder to ship logs from a bare metal Akraino deploy test node.
+# Similar to lf-infra-ship-logs without python-tools-install.sh and
+# job-cost.sh.
+- builder:
+    name: kni-deploy-ship-logs
+    builders:
+      # Ensure no pre-existing .netrc files are overriding logs config
+      - lf-provide-maven-settings-cleanup
+      - config-file-provider:
+          files:
+            - file-id: "jenkins-log-archives-settings"
+              variable: "SETTINGS_FILE"
+      - lf-infra-create-netrc:
+          server-id: logs
+      - shell: !include-raw-escape:
+          - ../../global-jjb/shell/logs-deploy.sh
+      - shell: !include-raw-escape:
+          - ../../global-jjb/shell/logs-clear-credentials.sh
+      - description-setter:
+          regexp: "(^(Nexus|S3) build logs: .*)"
+
+- _kni_common: &kni_common
     name: kni-common
 
     ######################
     # Default parameters #
     ######################
 
-    build-node: "{build-node}"
+    build-node: ""
     build-days-to-keep: 30
     build-timeout: 60
     submodule-recursive: true
     node: "{build-node}"
     properties:
       - lf-infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          branch: '{branch}'
-          stream: '{stream}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          branch: "{branch}"
+          stream: "{stream}"
+          lftools-version: "{lftools-version}"
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     scm:
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
-          choosing-strategy: default
+          choosing-strategy: gerrit
 
     gerrit_verify_triggers:
       - patchset-created-event:
 
     triggers:
       - gerrit:
-          server-name: '{gerrit-server-name}'
-          trigger-on: '{obj:gerrit_verify_triggers}'
+          server-name: "{gerrit-server-name}"
+          trigger-on: "{obj:gerrit_verify_triggers}"
           projects:
             - project-compare-type: ANT
-              project-pattern: '{project}'
+              project-pattern: "{project}"
               branches:
                 - branch-compare-type: ANT
-                  branch-pattern: '**/{branch}'
-              file-paths: '{obj:gerrit_trigger_file_paths}'
+                  branch-pattern: "**/{branch}"
+              file-paths: "{obj:gerrit_trigger_file_paths}"
     publishers:
       - lf-infra-publish
 
-- kni_common_deploy: &kni_common_deploy
+- _kni_common_deploy: &kni_common_deploy
     name: kni-common-deploy
     <<: *kni_common
     archive-artifacts: >
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          branch: '{branch}'
-          stream: '{stream}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          branch: "{branch}"
+          stream: "{stream}"
+          lftools-version: "{lftools-version}"
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
+          default: "{archive-artifacts}"
           description: Artifacts to archive to the logs server.
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
       - credentials-binding:
           - ssh-user-private-key:
               credential-id: kni-secrets
               key-file-variable: KNI_KEY_PATH
     scm:
       - akraino-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
-          choosing-strategy: default
-          basedir: '{project-name}'
+          choosing-strategy: gerrit
+          basedir: "{project-name}"
       - akraino-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/kni/installer.git'
-          refspec: 'refs/heads/master'
-          branch: 'master'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/kni/installer.git"
+          refspec: "refs/heads/master"
+          branch: "master"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
           choosing-strategy: default
-          basedir: 'installer'
+          basedir: "installer"
+
+    publishers:
+      - postbuildscript:
+          builders:
+            - role: BOTH
+              build-on:
+                - ABORTED
+                - FAILURE
+                - NOT_BUILT
+                - SUCCESS
+                - UNSTABLE
+              build-steps:
+                - kni-deploy-ship-logs
+          mark-unstable-if-failed: true
+      - workspace-cleanup:
+          exclude:
+            # Do not clean up *.jenkins-trigger files for jobs that use a
+            # properties file as input for triggering another build.
+            - "**/*.jenkins-trigger"
+          fail-build: false
 
 - job-template:
     id: kni-installer-verify-installer
-    name: '{project-name}-verify-installer'
+    name: "{project-name}-verify-installer"
     gerrit_trigger_file_paths:
       - compare-type: ANT
-        pattern: '**'
+        pattern: "**"
     <<: *kni_common
     build-node: centos7-builder-2c-1g
 
           - ../shell/build_kni_installer.sh
 
 - job-template:
-    id: kni-installer-verify-binary
-    name: '{project-name}-verify-binary'
-    <<: *kni_common
-    build-node: centos7-builder-8c-8g
+    id: kni-verify-deploy-aws
+    name: "kni-{project-name}-verify-deploy-aws"
+    build-node: kni-cloud
+    <<: *kni_common_deploy
 
     gerrit_trigger_file_paths:
       - compare-type: ANT
-        pattern: 'Makefile'
+        pattern: "profiles/production.aws/**"
       - compare-type: ANT
-        pattern: 'cmd/binary.go'
-
-    triggers:
-      - gerrit:
-          server-name: '{gerrit-server-name}'
-          trigger-on: '{obj:gerrit_verify_triggers}'
-          projects:
-            - project-compare-type: ANT
-              project-pattern: '{project}'
-              branches:
-                - branch-compare-type: ANT
-                  branch-pattern: '**/{branch}'
-              file-paths: '{obj:gerrit_trigger_file_paths}'
+        pattern: "sites/testing.aws.edge-sites.net/**"
+      - compare-type: ANT
+        pattern: "base/**"
 
     builders:
       - lf-infra-pre-build
+      - config-file-provider:
+          files:
+            - file-id: kni-coreos-pull-secret
+              target: akraino-secrets/coreos-pull-secret
       - shell: !include-raw-escape:
           - ../shell/install_go.sh
+      - shell: ./installer/ci/kni_deploy_aws.sh
+
+- job-template:
+    id: kni-verify-deploy-gcp
+    name: "kni-{project-name}-verify-deploy-gcp"
+    site: edge-sites-testing.gcp.devcluster.openshift.com
+    build-node: kni-cloud
+    <<: *kni_common_deploy
+
+    gerrit_trigger_file_paths:
+      - compare-type: ANT
+        pattern: "profiles/production.gcp/**"
+      - compare-type: ANT
+        pattern: "sites/edge-sites-testing.gcp.devcluster.openshift.com/**"
+      - compare-type: ANT
+        pattern: "base/**"
+
+    builders:
+      - lf-infra-pre-build
+      - config-file-provider:
+          files:
+            - file-id: kni-coreos-pull-secret
+              target: akraino-secrets/coreos-pull-secret
       - shell: !include-raw-escape:
-          - ../shell/build_kni_binary.sh
+          - ../shell/install_go.sh
+      - shell: ./installer/ci/kni_deploy_gcp.sh {site}
 
 - job-template:
-    id: kni-verify-deploy-aws
-    name: 'kni-{project-name}-verify-deploy-aws'
-    build-node: kni-libvirt
+    id: kni-verify-deploy-gcp-hub
+    name: "kni-{project-name}-verify-deploy-gcp"
+    site: kni-mgmt-hub.gcp.devcluster.openshift.com
+    build-node: kni-cloud
     <<: *kni_common_deploy
 
     gerrit_trigger_file_paths:
       - compare-type: ANT
-        pattern: 'profiles/production.aws/**'
+        pattern: "profiles/production.gcp/**"
       - compare-type: ANT
-        pattern: 'sites/testing.aws.edge-sites.net/**'
+        pattern: "sites/kni-mgmt-hub.gcp.devcluster.openshift.com/**"
       - compare-type: ANT
-        pattern: 'base/**'
+        pattern: "base/**"
 
     builders:
       - lf-infra-pre-build
               target: akraino-secrets/coreos-pull-secret
       - shell: !include-raw-escape:
           - ../shell/install_go.sh
-      - shell: ./installer/ci/kni_deploy_aws.sh
+      - shell: ./installer/ci/kni_deploy_gcp.sh {site}
 
 - job-template:
-    id: kni-verify-deploy-gcp
-    name: 'kni-{project-name}-verify-deploy-gcp'
-    build-node: kni-libvirt
+    id: kni-verify-deploy-gcp-ie
+    name: "kni-{project-name}-verify-deploy-gcp"
+    site: kni-ie.gcp.devcluster.openshift.com
+    build-node: kni-cloud
     <<: *kni_common_deploy
 
     gerrit_trigger_file_paths:
       - compare-type: ANT
-        pattern: 'profiles/production.gcp/**'
+        pattern: "profiles/production.gcp/**"
       - compare-type: ANT
-        pattern: 'sites/testing.gcp.edge-sites.net/**'
+        pattern: "sites/kni-ie.gcp.devcluster.openshift.com/**"
       - compare-type: ANT
-        pattern: 'base/**'
+        pattern: "base/**"
 
     builders:
       - lf-infra-pre-build
               target: akraino-secrets/coreos-pull-secret
       - shell: !include-raw-escape:
           - ../shell/install_go.sh
-      - shell: ./installer/ci/kni_deploy_gcp.sh
+      - shell: ./installer/ci/kni_deploy_gcp.sh {site}
 
 - job-template:
     id: kni-verify-deploy-baremetal
-    name: 'kni-{project-name}-verify-deploy-baremetal'
+    name: "kni-{project-name}-verify-deploy-baremetal"
     <<: *kni_common_deploy
     build-timeout: 120
-    build-node: kni-libvirt
+    build-node: kni-baremetal
 
     gerrit_trigger_file_paths:
       - compare-type: ANT
-        pattern: 'profiles/production.baremetal/**'
+        pattern: "profiles/production.baremetal/**"
       - compare-type: ANT
-        pattern: 'sites/testing.baremetal.edge-sites.net/**'
+        pattern: "sites/testing.baremetal.edge-sites.net/**"
       - compare-type: ANT
-        pattern: 'base/**'
+        pattern: "base/**"
 
     scm:
       - akraino-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: 'https://gerrit.akraino.org/r/kni/blueprint-pae'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "https://gerrit.akraino.org/r/kni/blueprint-pae"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
-          choosing-strategy: default
-          basedir: 'kni-blueprint-pae'
+          choosing-strategy: gerrit
+          basedir: "kni-blueprint-pae"
       - akraino-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/kni/installer.git'
-          refspec: 'refs/heads/master'
-          branch: 'master'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/kni/installer.git"
+          refspec: "refs/heads/master"
+          branch: "master"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
           choosing-strategy: default
-          basedir: 'installer'
+          basedir: "installer"
 
     builders:
       - lf-infra-pre-build
index 639e632..57e72de 100644 (file)
@@ -1,17 +1,18 @@
+---
 - scm:
     # enhanced version of the global-jjb, based on ta-common-macros
     name: akraino-lf-infra-gerrit-scm
     scm:
       - git:
-          credentials-id: '{jenkins-ssh-credential}'
-          url: '{git-url}'
-          refspec: '{refspec}'
+          credentials-id: "{jenkins-ssh-credential}"
+          url: "{git-url}"
+          refspec: "{refspec}"
           branches:
-            - 'refs/heads/{branch}'
+            - "refs/heads/{branch}"
           skip-tag: true
           wipe-workspace: true
           submodule:
-            recursive: '{submodule-recursive}'
-            timeout: '{submodule-timeout}'
-          choosing-strategy: '{choosing-strategy}'
-          basedir: '{basedir}'
+            recursive: "{submodule-recursive}"
+            timeout: "{submodule-timeout}"
+          choosing-strategy: "{choosing-strategy}"
+          basedir: "{basedir}"
index 52d4901..b0c4d3e 100644 (file)
@@ -16,7 +16,7 @@
 #
 - job-template:
     id: akraino-project-stream-release-config
-    name: '{project-name}-{stream}-release-config'
+    name: "{project-name}-{stream}-release-config"
 
     ######################
     # Default parameters #
     build-days-to-keep: 30
     build-timeout: 60
     java-version: openjdk8
-    maven-repo-url: '$NEXUS_URL/content/repositories/snapshots'
+    maven-repo-url: "$NEXUS_URL/content/repositories/snapshots"
     mvn-global-settings: global-settings
-    mvn-opts: ''
-    mvn-params: ''
+    mvn-opts: ""
+    mvn-params: ""
     mvn-version: mvn35
     nexus-shapshot-repo: snapshots
     repo-id: snapshots
-    staging-profile-id: ''  # Unused by this job.
+    staging-profile-id: "" # Unused by this job.
     stream: master
     submodule-recursive: true
     upload-files-dir: /tmp/tardir
     #####################
 
     project-type: freestyle
-    node: '{build-node}'
+    node: "{build-node}"
 
     properties:
       - lf-infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          branch: '{branch}'
-          stream: '{stream}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          branch: "{branch}"
+          stream: "{stream}"
+          lftools-version: "{lftools-version}"
       - lf-infra-maven-parameters:
-          mvn-opts: '{mvn-opts}'
-          mvn-params: '{mvn-params}'
-          mvn-version: '{mvn-version}'
+          mvn-opts: "{mvn-opts}"
+          mvn-params: "{mvn-params}"
+          mvn-version: "{mvn-version}"
           # Staging repos do not make sense for CLM jobs so set it blank.
-          staging-profile-id: '{staging-profile-id}'
+          staging-profile-id: "{staging-profile-id}"
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
+          default: "{archive-artifacts}"
           description: Artifacts to archive to the logs server.
       - string:
           name: UPLOAD_FILES_PATH
-          default: '{upload-files-dir}'
+          default: "{upload-files-dir}"
           description: File path to generate tarball and upload to repository.
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     gerrit_merge_triggers:
       - change-merged-event
 
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
-        pattern: '.*'
+        pattern: ".*"
 
     scm:
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '{refspec}'
-          branch: '{branch}'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "{refspec}"
+          branch: "{branch}"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
           choosing-strategy: default
 
     triggers:
-      - timed: '{obj:cron}'
+      - timed: "{obj:cron}"
       - gerrit:
-          server-name: '{gerrit-server-name}'
-          trigger-on: '{obj:gerrit_merge_triggers}'
+          server-name: "{gerrit-server-name}"
+          trigger-on: "{obj:gerrit_merge_triggers}"
           projects:
             - project-compare-type: ANT
-              project-pattern: '{project}'
+              project-pattern: "{project}"
               branches:
                 - branch-compare-type: ANT
-                  branch-pattern: '**/{branch}'
-              file-paths: '{obj:gerrit_trigger_file_paths}'
+                  branch-pattern: "**/{branch}"
+              file-paths: "{obj:gerrit_trigger_file_paths}"
 
     builders:
       - lf-infra-pre-build
       - lf-maven-install:
-          mvn-version: '{mvn-version}'
+          mvn-version: "{mvn-version}"
       - lf-update-java-alternatives:
-          java-version: '{java-version}'
+          java-version: "{java-version}"
       - lf-provide-maven-settings:
-          global-settings-file: '{mvn-global-settings}'
-          settings-file: '{mvn-settings}'
+          global-settings-file: "{mvn-global-settings}"
+          settings-file: "{mvn-settings}"
       - shell: !include-raw-escape:
           - ../shell/make-tar.sh
       - lf-infra-deploy-maven-file:
-          global-settings-file: '{mvn-global-settings}'
-          settings-file: '{mvn-settings}'
-          mvn-version: '{mvn-version}'
-          repo-id: '{repo-id}'
-          group-id: '{group-id}'
-          upload-files-dir: '{upload-files-dir}'
-          maven-repo-url: '{maven-repo-url}'
+          global-settings-file: "{mvn-global-settings}"
+          settings-file: "{mvn-settings}"
+          mvn-version: "{mvn-version}"
+          repo-id: "{repo-id}"
+          group-id: "{group-id}"
+          upload-files-dir: "{upload-files-dir}"
+          maven-repo-url: "{maven-repo-url}"
 
     publishers:
       - lf-infra-publish
 
-
 - job-template:
     id: akraino-project-stream-stage-config
-    name: '{project-name}-{stream}-stage-config'
+    name: "{project-name}-{stream}-stage-config"
 
     ######################
     # Default parameters #
       **/target/surefire-reports/*-output.txt
     build-days-to-keep: 14
     build-timeout: 60
-    cron: '@daily'
+    cron: "@daily"
     disable-job: false
-    git-url: '$GIT_URL/$PROJECT'
-    github-url: 'https://github.com'
+    git-url: "$GIT_URL/$PROJECT"
+    github-url: "https://github.com"
     java-version: openjdk8
     mvn-global-settings: global-settings
     mvn-goals: clean deploy
-    mvn-opts: ''
-    mvn-params: ''
+    mvn-opts: ""
+    mvn-params: ""
     mvn-version: mvn35
     sign-artifacts: false
     stream: master
     submodule-recursive: true
-    upload-files-dir: m2repo  # expected by "lftools deploy nexus-stage"
+    upload-files-dir: m2repo # expected by "lftools deploy nexus-stage"
 
     #####################
     # Job Configuration #
     #####################
 
     project-type: freestyle
-    node: '{build-node}'
+    node: "{build-node}"
 
     properties:
       - lf-infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          branch: '{branch}'
-          stream: '{stream}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          branch: "{branch}"
+          stream: "{stream}"
+          lftools-version: "{lftools-version}"
       - lf-infra-maven-parameters:
-          mvn-opts: '{mvn-opts}'
-          mvn-params: '{mvn-params}'
-          mvn-version: '{mvn-version}'
-          staging-profile-id: '{staging-profile-id}'
+          mvn-opts: "{mvn-opts}"
+          mvn-params: "{mvn-params}"
+          mvn-version: "{mvn-version}"
+          staging-profile-id: "{staging-profile-id}"
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
+          default: "{archive-artifacts}"
           description: Artifacts to archive to the logs server.
       - string:
           name: UPLOAD_FILES_PATH
-          default: '{upload-files-dir}'
+          default: "{upload-files-dir}"
           description: File path to generate tarball and upload to repository.
       - string:
           name: STAGING_PROFILE_ID
-          default: '{staging-profile-id}'
+          default: "{staging-profile-id}"
           description: Nexus staging profile ID.
       - string:
           name: STAGING_BUILD
-          default: 'true'
+          default: "true"
           description: Mark this as a staging build.
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     gerrit_release_triggers:
       - comment-added-contains-event:
           comment-contains-value: stage-release$
 
-    disabled: '{disable-job}'
+    disabled: "{disable-job}"
 
     scm:
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
           choosing-strategy: default
 
     triggers:
-      - timed: '{obj:cron}'
+      - timed: "{obj:cron}"
       - gerrit:
-          server-name: '{gerrit-server-name}'
-          trigger-on: '{obj:gerrit_release_triggers}'
+          server-name: "{gerrit-server-name}"
+          trigger-on: "{obj:gerrit_release_triggers}"
           projects:
             - project-compare-type: ANT
-              project-pattern: '{project}'
+              project-pattern: "{project}"
               branches:
                 - branch-compare-type: ANT
-                  branch-pattern: '**/{branch}'
+                  branch-pattern: "**/{branch}"
 
     builders:
       - lf-infra-pre-build
       - lf-jacoco-nojava-workaround
       - lf-maven-install:
-          mvn-version: '{mvn-version}'
+          mvn-version: "{mvn-version}"
       - lf-update-java-alternatives:
-          java-version: '{java-version}'
+          java-version: "{java-version}"
       - lf-provide-maven-settings:
-          global-settings-file: '{mvn-global-settings}'
-          settings-file: '{mvn-settings}'
+          global-settings-file: "{mvn-global-settings}"
+          settings-file: "{mvn-settings}"
       - lf-infra-create-netrc:
-          server-id: '{mvn-staging-id}'
+          server-id: "{mvn-staging-id}"
       - shell: !include-raw-escape:
           - ../shell/make-tar.sh
       - lf-sigul-sign-dir:
-          sign-artifacts: '{sign-artifacts}'
-          sign-dir: '$WORKSPACE/m2repo'
+          sign-artifacts: "{sign-artifacts}"
+          sign-dir: "$WORKSPACE/m2repo"
           sign-mode: serial
-      - lf-maven-stage
+      - lf-maven-stage:
+          mvn-global-settings: "global-settings"
+          mvn-settings: ""
+          mvn-staging-id: ""
       - lf-provide-maven-settings-cleanup
 
     publishers:
 
 - job-template:
     id: akraino-project-stream-verify
-    name: '{project-name}-{stream}-verify'
+    name: "{project-name}-{stream}-verify"
     archive-artifacts: >
       **/*.log
     build-days-to-keep: 30
     stream: master
     project-type: freestyle
     submodule-recursive: true
-    node: '{build-node}'
+    node: "{build-node}"
 
     properties:
       - lf-infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+          lftools-version: "{lftools-version}"
 
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
+          default: "{archive-artifacts}"
           description: Artifacts to archive to the logs server.
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     scm:
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
-          choosing-strategy: 'gerrit'
+          choosing-strategy: "gerrit"
 
     triggers:
       - gerrit:
-          server-name: '{gerrit-server-name}'
+          server-name: "{gerrit-server-name}"
           trigger-on:
             - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
-                exclude-no-code-change: 'false'
+                exclude-drafts: "false"
+                exclude-trivial-rebase: "false"
+                exclude-no-code-change: "false"
             - change-merged-event
             - draft-published-event
             - comment-added-contains-event:
-                comment-contains-value: 'recheck'
+                comment-contains-value: "recheck"
             - comment-added-contains-event:
-                comment-contains-value: 'reverify'
+                comment-contains-value: "reverify"
           projects:
-            - project-compare-type: 'ANT'
-              project-pattern: '{project}'
+            - project-compare-type: "ANT"
+              project-pattern: "{project}"
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
+                - branch-compare-type: "ANT"
+                  branch-pattern: "**/{branch}"
               file-paths:
                 - compare-type: ANT
-                  pattern: '**/*'
-              disable-strict-forbidden-file-verification: 'true'
+                  pattern: "**/*"
+              disable-strict-forbidden-file-verification: "true"
               forbidden-file-paths:
                 - compare-type: ANT
-                  pattern: 'docs/**'
+                  pattern: "docs/**"
           readable-message: true
 
     builders:
 
 - job-template:
     id: akraino-project-build-node-init
-    name: '{project-name}-{build-node}-init'
-    disabled: '{obj:disabled}'
+    name: "{project-name}-{build-node}-init"
+    # disable_job: false
+    disabled: "{obj:disable_job}"
     concurrent: true
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
       - label:
-          name: '{build-node}'
-          default: '{build-node}'
-          node-eligibility: 'all'
+          name: "{build-node}"
+          default: "{build-node}"
+          node-eligibility: "all"
           all-nodes: true
 
     gerrit_merge_triggers:
 
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
-        pattern: 'global-jjb'
+        pattern: "global-jjb"
 
     scm:
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
           submodule-recursive: true
-          submodule-timeout: '{submodule-timeout}'
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
           choosing-strategy: default
 
     triggers:
       - gerrit:
-          server-name: '{gerrit-server-name}'
-          trigger-on: '{obj:gerrit_merge_triggers}'
+          server-name: "{gerrit-server-name}"
+          trigger-on: "{obj:gerrit_merge_triggers}"
           projects:
             - project-compare-type: ANT
-              project-pattern: '{project}'
+              project-pattern: "{project}"
               branches:
                 - branch-compare-type: ANT
-                  branch-pattern: '**/{branch}'
-              file-paths: '{obj:gerrit_trigger_file_paths}'
+                  branch-pattern: "**/{branch}"
+              file-paths: "{obj:gerrit_trigger_file_paths}"
 
     builders:
       - description-setter:
           export SWAP_SIZE=0
           sudo -E ./global-jjb/jenkins-init-scripts/init.sh
           sudo chown jenkins:jenkins -R archives
+
+    publishers:
+      - lf-infra-publish
index a1129b8..ad2312a 100644 (file)
@@ -3,49 +3,51 @@
 # PARAMETERS #
 ##############
 - parameter:
-    name: 'rec-aarch64_baremetal-defaults'
+    name: "rec-aarch64_baremetal-defaults"
     parameters:
       - string:
           name: REC_ISO_IMAGE_NAME
-          default: 'https://nexus.akraino.org/content/repositories/images-snapshots/TA/images/arm64/latest/install.aarch64.iso'
-          description: 'REC install image'
+          # yamllint disable-line rule:line-length
+          default: "https://nexus.akraino.org/content/repositories/images-snapshots/TA/images/arm64/latest/install.aarch64.iso"
+          description: "REC install image"
       - string:
           name: REC_PROVISIONING_ISO_NAME
-          default: 'https://nexus.akraino.org/content/repositories/images-snapshots/TA/images/arm64/latest/bootcd.aarch64.iso'
-          description: 'REC provisioning image'
+          # yamllint disable-line rule:line-length
+          default: "https://nexus.akraino.org/content/repositories/images-snapshots/TA/images/arm64/latest/bootcd.aarch64.iso"
+          description: "REC provisioning image"
       - string:
           name: REC_USER_CONFIG
-          default: 'file:///data/rec_pod/user_config.yaml'
-          description: 'POD user config YAML (hosted on Jumpserver by default)'
+          default: "file:///data/rec_pod/user_config.yaml"
+          description: "POD user config YAML (hosted on Jumpserver by default)"
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '**/*.log'
+          default: "**/*.log"
           description: Artifacts to archive to the logs server.
       - string:
           name: SCM_REFSPEC_REMOTE_INSTALLER
-          default: 'refs/heads/master'
-          description: 'remote-installer custom git refspec'
+          default: "refs/heads/master"
+          description: "remote-installer custom git refspec"
 
 - parameter:
-    name: 'rec-defaults'
+    name: "rec-defaults"
     parameters:
       - string:
           name: CLUSTER_MASTER_IP
-          default: '192.167.10.211'
-          description: 'IP address to connect to the K8s master'
+          default: "192.167.10.211"
+          description: "IP address to connect to the K8s master"
       - string:
           name: CLUSTER_SSH_USER
-          default: 'cloudadmin'
-          description: 'SSH username to connect to the K8s master'
+          default: "cloudadmin"
+          description: "SSH username to connect to the K8s master"
       - string:
           name: CLUSTER_SSH_PASSWORD
-          default: 'admin'
-          description: 'SSH password to connect to the K8s master'
+          default: "admin"
+          description: "SSH password to connect to the K8s master"
 
 ########################
 # trigger macros
 ########################
 - trigger:
-    name: 'rec-weekly-master-trigger'
+    name: "rec-weekly-master-trigger"
     triggers:
-      - timed: '0 1 * * 6,7'
+      - timed: "0 1 * * 6,7"
index b92d8e4..883f26c 100644 (file)
@@ -1,42 +1,42 @@
 ---
 - job-template:
     id: akraino-rec-deploy
-    name: 'rec-{slave_label}-{job_frequency}-{stream}'
-    disabled: '{obj:disabled}'
+    name: "rec-{slave_label}-{job_frequency}-{stream}"
+    disabled: "{obj:disabled}"
     concurrent: false
-    node: '{slave_label}'
+    node: "{slave_label}"
     properties:
       - throttle:
           enabled: true
           max-total: 4
           max-per-node: 1
-          option: 'project'
+          option: "project"
 
     wrappers:
       - build-name:
-          name: '$BUILD_NUMBER - Install REC Blueprint'
+          name: "$BUILD_NUMBER - Install REC Blueprint"
 
     triggers:
-      - 'rec-{job_frequency}-{stream}-trigger'
+      - "rec-{job_frequency}-{stream}-trigger"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-      - 'rec-{slave_label}-defaults'
-      - 'rec-defaults'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+      - "rec-{slave_label}-defaults"
+      - "rec-defaults"
 
     builders:
       - description-setter:
           description: "SLAVE: $NODE_NAME"
       - trigger-builds:
-          - project: 'rec-{slave_label}-install-rec-{job_frequency}-{stream}'
+          - project: "rec-{slave_label}-install-rec-{job_frequency}-{stream}"
             current-parameters: true
             same-node: true
             block: true
       - trigger-builds:
-          - project: 'validation-unh-daily-{stream}'
+          - project: "validation-unh-daily-{stream}"
             same-node: true
             current-parameters: true
             predefined-parameters: |
               OPTIONAL=false
               PULL=yes
             block: true
-          - project:
-              !j2: |
-                {%- for uc in usecase -%}
-                {%- for ph in phase -%}
-                rec-{{ slave_label }}-{{ ph }}-{{ uc }}-{{ job_frequency }}-{{ stream }}
-                {%- if not loop.last -%},{%- endif -%}
-                {%- endfor %}
-                {%- if not loop.last -%},{%- endif -%}
-                {%- endfor %}
+          - project: !j2: |
+              {%- for uc in usecase -%}
+              {%- for ph in phase -%}
+              rec-{{ slave_label }}-{{ ph }}-{{ uc }}-{{ job_frequency }}-{{ stream }}
+              {%- if not loop.last -%},{%- endif -%}
+              {%- endfor %}
+              {%- if not loop.last -%},{%- endif -%}
+              {%- endfor %}
             current-parameters: true
             same-node: true
             block: true
             block-thresholds:
-              build-step-failure-threshold: 'never'
-              failure-threshold: 'never'
-              unstable-threshold: 'FAILURE'
+              build-step-failure-threshold: "never"
+              failure-threshold: "never"
+              unstable-threshold: "FAILURE"
 
     publishers: &rec-publishers
       - email:
 
 - job-template:
     id: akraino-rec-install-rec
-    name: 'rec-{slave_label}-install-rec-{job_frequency}-{stream}'
+    name: "rec-{slave_label}-install-rec-{job_frequency}-{stream}"
     concurrent: true
-    node: '{slave_label}'
+    node: "{slave_label}"
     properties:
       - throttle:
           enabled: true
           max-total: 4
           max-per-node: 1
-          option: 'project'
+          option: "project"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-      - 'rec-{slave_label}-defaults'
-      - 'rec-defaults'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+      - "rec-{slave_label}-defaults"
+      - "rec-defaults"
 
     scm:
       - ta-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/ta/remote-installer.git'
-          branch: '{branch}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/ta/remote-installer.git"
+          branch: "{branch}"
           submodule-recursive: false
           submodule-timeout: 10
-          choosing-strategy: 'gerrit'
-          basedir: 'git/remote-installer'
-          refspec: '$SCM_REFSPEC_REMOTE_INSTALLER'
+          choosing-strategy: "gerrit"
+          basedir: "git/remote-installer"
+          refspec: "$SCM_REFSPEC_REMOTE_INSTALLER"
     builders:
       - description-setter:
           description: "SLAVE: $NODE_NAME"
index a0d578c..9ead2c4 100644 (file)
@@ -1,56 +1,36 @@
 ---
+# yamllint disable-file
 ##############
 # PARAMETERS #
 ##############
 - parameter:
-    name: ta-parameters-manifest
+    name: ta-parameters
     parameters:
-     - string:
-        default: refs/heads/master
-        description: ''
-        name: SCM_REFSPEC_MANIFEST
-        trim: 'false'
-
-- parameter:
-    name: ta-parameters-build-tools
-    parameters:
-     - string:
-        default: refs/heads/master
-        description: ''
-        name: SCM_REFSPEC_BUILD_TOOLS
-        trim: 'false'
-
-- parameter:
-    name: ta-parameters-rpmbuilder
-    parameters:
-     - string:
-        default: refs/heads/master
-        description: ''
-        name: SCM_REFSPEC_RPMBUILDER
-        trim: 'false'
-
-- parameter:
-    name: ta-parameters-ci
-    parameters:
-     - ta-parameters-manifest
-     - ta-parameters-build-tools
-     - ta-parameters-rpmbuilder
-
-- parameter:
-    name: ta-parameters-ci-ta/rpmbuilder
-    parameters:
-     - ta-parameters-manifest
-     - ta-parameters-build-tools
-     - string:
-        default: ta/yarf
-        description: ''
-        name: SCM_PROJECT_TO_BUILD
-        trim: 'false'
-     - string:
-        default: refs/heads/master
-        description: ''
-        name: SCM_PROJECT_TO_BUILD_REFSPEC
-        trim: 'false'
+      - string:
+          name: SCM_REFSPEC_MANIFEST
+          default: refs/heads/master
+          description: ""
+          trim: "false"
+      - string:
+          name: SCM_REFSPEC_BUILD_TOOLS
+          default: refs/heads/master
+          description: ""
+          trim: "false"
+      - string:
+          name: SCM_REFSPEC_RPMBUILDER
+          default: refs/heads/master
+          description: ""
+          trim: "false"
+      - string:
+          name: SCM_PROJECT_TO_BUILD
+          default: ta/yarf
+          description: ""
+          trim: "false"
+      - string:
+          name: SCM_PROJECT_TO_BUILD_REFSPEC
+          default: refs/heads/master
+          description: ""
+          trim: "false"
 
 #######
 # SCM #
     name: ta-lf-infra-gerrit-scm
     scm:
       - git:
-          credentials-id: '{jenkins-ssh-credential}'
-          url: '{git-url}'
-          refspec: '{refspec}'
+          credentials-id: "{jenkins-ssh-credential}"
+          url: "{git-url}"
+          refspec: "{refspec}"
           branches:
-            - 'refs/heads/{branch}'
+            - "refs/heads/{branch}"
           skip-tag: true
           wipe-workspace: true
           submodule:
-            recursive: '{submodule-recursive}'
-            timeout: '{submodule-timeout}'
-          choosing-strategy: '{choosing-strategy}'
-          basedir: '{basedir}'
+            recursive: "{submodule-recursive}"
+            timeout: "{submodule-timeout}"
+          choosing-strategy: "{choosing-strategy}"
+          basedir: "{basedir}"
 
 - scm:
     name: ta-lf-infra-gerrit-scm-merge
     scm:
       - ta-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}'
-          refspec: '{refspec}'
-          branch: '{branch}'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
-          basedir: '{basedir}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}"
+          refspec: "{refspec}"
+          branch: "{branch}"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
+          basedir: "{basedir}"
           choosing-strategy: default
 
 - scm:
     name: ta-lf-infra-gerrit-scm-verify
     scm:
       - ta-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}'
-          refspec: '{refspec}'
-          branch: '{branch}'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
-          basedir: '{basedir}'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}"
+          refspec: "{refspec}"
+          branch: "{branch}"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
+          basedir: "{basedir}"
           choosing-strategy: gerrit
 
 ###########
 - builder:
     name: lf-display-node-uuid
     builders:
-        - shell: |2-
+      # yamllint disable rule:line-length
+      - shell: |2-
             echo "---> Node UUID:"
             curl -s http://169.254.169.254/openstack/latest/meta_data.json | python -c 'import sys, json; data = json.load(sys.stdin); print(data["uuid"])' || true
+      # yamllint enable rule:line-length
 
 - builder:
     name: ta-builder-tox
     builders:
-        - shell: |2-
-            #!/bin/bash -ex
-            source ~/lf-env.sh
+      - shell: |2-
+          #!/bin/bash -ex
+          source ~/lf-env.sh
 
-            lf-activate-venv tox
-            tox --version
-            for f in $(find $GERRIT_PROJECT -name tox.ini); do
-                pushd $(dirname $f)
-                tox
-                popd
-            done
+          lf-activate-venv tox
+          tox --version
+          for f in $(find $GERRIT_PROJECT -name tox.ini); do
+              pushd $(dirname $f)
+              tox
+              popd
+          done
 
 - builder:
     name: ta-builder-rpm
     builders:
-        - shell: |2-
-            #!/bin/bash -ex
-            #  Skip RPM build in case no *.spec file is found within the {project-to-build}
-            if [ -n "$(find {project-to-build} -name '*.spec')" ]
-            then
-                if apt --version 2>1 >/dev/null; then
-                    # We need a specific version of mock (1.4.14) and devtools
-                    # not available in Ubuntu/Debian repos, so fetch them from RHEL mirrors
-                    if [ "$(mock --version 2>/dev/null)" != '1.4.14' ]; then
-                        sudo groupadd mock || true
-                        sudo usermod -aG mock $USER
-                        sudo apt update
-                        # Explicitly install mock dependencies
-                        sudo apt install -y createrepo alien systemd-container python-pip \
-                                            python-decoratortools yum-utils usermode pigz
-                        wget http://vault.centos.org/centos/7.6.1810/os/x86_64/Packages/rpmdevtools-8.3-5.el7.noarch.rpm \
-                             https://kojipkgs.fedoraproject.org/packages/mock/1.4.14/2.el7/noarch/mock-1.4.14-2.el7.noarch.rpm
-                        sudo alien -d *.rpm
-                        sudo dpkg -i *.deb
-                        rm -rf *.rpm *.deb
-                        # RHEL tools hardcode the full path for certain distro tools
-                        sudo ln -sf /bin/tar /usr/bin/gtar
-                        sudo ln -sf /bin/machinectl /bin/df /usr/bin/
-                        # Some mock dependencies are only available via pip
-                        sudo pip install distro pyroute2
-                    fi
-                else
-                    sudo yum install -y createrepo
-                fi
-                ta/build-tools/build_rpms.sh \
-                 -m ta/manifest \
-                 -r ta/rpmbuilder \
-                 -w work \
-                 {project-to-build}
-                find work/
-            fi
+      - shell: |2-
+          #!/bin/bash -ex
+          #  Skip RPM build in case no *.spec file is found within the {project-to-build}
+          if [ -n "$(find {project-to-build} -name '*.spec')" ]; then
+              if apt --version >/dev/null 2>&1; then
+                  # We need a specific version of mock (1.4.14) and devtools
+                  # not available in Ubuntu/Debian repos, so fetch them from RHEL mirrors
+                  if [ "$(mock --version 2>/dev/null)" != '1.4.14' ]; then
+                      sudo groupadd mock || true
+                      sudo usermod -aG mock $USER
+                      sudo apt update
+                      # Explicitly install mock dependencies
+                      sudo apt install -y createrepo alien systemd-container python-pip \
+                                          python-peak.util.decorators yum-utils usermode pigz
+                      wget http://vault.centos.org/centos/7.6.1810/os/x86_64/Packages/rpmdevtools-8.3-5.el7.noarch.rpm \
+                           https://kojipkgs.fedoraproject.org/packages/mock/1.4.14/2.el7/noarch/mock-1.4.14-2.el7.noarch.rpm
+                      sudo alien -d *.rpm
+                      sudo dpkg --force-overwrite -i *.deb
+                      rm -rf *.rpm *.deb
+                      # RHEL tools hardcode the full path for certain distro tools
+                      sudo ln -sf /bin/tar /usr/bin/gtar
+                      sudo ln -sf /bin/machinectl /bin/df /usr/bin/
+                      # Some mock dependencies are only available via pip
+                      sudo pip install distro pyroute2 lxml urllib3
+                  fi
+              else
+                  sudo yum install -y createrepo
+              fi
+              ta/build-tools/build_rpms.sh \
+               -m ta/manifest \
+               -r ta/rpmbuilder \
+               -w work \
+               {project-to-build}
+              find work/
+          fi
 
 - builder:
     name: ta-builder-scm
     builders:
-        - shell: |2-
-            #!/bin/bash -ex
-            rm -rf {project}
-            git clone {git-url}/{project} {project}
-            pushd {project}
-            if echo {ref} | grep -q "refs/"; then
-                git fetch origin {ref}
-                git checkout FETCH_HEAD
-            else
-                git checkout {ref}
-            fi
-            popd
+      - shell: |2-
+          #!/bin/bash -ex
+          rm -rf {project}
+          git clone {git-url}/{project} {project}
+          pushd {project}
+          if echo {ref} | grep -q "refs/"; then
+              git fetch origin {ref}
+              git checkout FETCH_HEAD
+          else
+              git checkout {ref}
+          fi
+          popd
 
 - builder:
     name: ta-lf-infra-ship-rpms
       - lf-provide-maven-settings-cleanup
       - config-file-provider:
           files:
-            - file-id: 'ta-settings'
-              variable: 'SETTINGS_FILE'
+            - file-id: "ta-settings"
+              variable: "SETTINGS_FILE"
       - inject:
-          properties-content: 'ALT_NEXUS_URL=https://nexus3.akraino.org'
+          properties-content: "ALT_NEXUS_URL=https://nexus3.akraino.org"
       - lf-infra-create-netrc:
           server-id: rpm.snapshots
       - inject:
           properties-content: |
             ALT_NEXUS_URL=
             SERVER_ID=
-      - shell: !include-raw:
+      - shell: !include-raw-escape:
           # Ensure python-tools are installed in case job template does not
           # call the lf-infra-pre-build macro.
           - ../../global-jjb/shell/python-tools-install.sh
-      - shell: !include-raw:
+      - shell: !include-raw-escape:
           - ../shell/ta-rpm-deploy.sh
-      - shell: !include-raw:
+      - shell: !include-raw-escape:
           - ../../global-jjb/shell/logs-clear-credentials.sh
 
 - builder:
       - lf-provide-maven-settings-cleanup
       - config-file-provider:
           files:
-            - file-id: 'ta-settings'
-              variable: 'SETTINGS_FILE'
+            - file-id: "ta-settings"
+              variable: "SETTINGS_FILE"
       - lf-infra-create-netrc:
           server-id: images-snapshots
-      - shell: !include-raw:
+      - shell: !include-raw-escape:
           # Ensure python-tools are installed in case job template does not
           # call the lf-infra-pre-build macro.
           - ../../global-jjb/shell/python-tools-install.sh
-      - shell: !include-raw:
+      - shell: !include-raw-escape:
           - ../shell/ta-iso-deploy.sh
-      - shell: !include-raw:
+      - shell: !include-raw-escape:
           - ../../global-jjb/shell/logs-clear-credentials.sh
 
 - builder:
     name: ta-builder-job-verify
     builders:
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: 'ta/manifest'
-              ref: '$SCM_REFSPEC_MANIFEST'
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: 'ta/build-tools'
-              ref: '$SCM_REFSPEC_BUILD_TOOLS'
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: 'ta/rpmbuilder'
-              ref: '$SCM_REFSPEC_RPMBUILDER'
-        - ta-builder-tox
-        - ta-builder-rpm:
-              project-to-build: '$GERRIT_PROJECT'
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "ta/manifest"
+          ref: "$SCM_REFSPEC_MANIFEST"
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "ta/build-tools"
+          ref: "$SCM_REFSPEC_BUILD_TOOLS"
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "ta/rpmbuilder"
+          ref: "$SCM_REFSPEC_RPMBUILDER"
+      - ta-builder-tox
+      - ta-builder-rpm:
+          project-to-build: "$GERRIT_PROJECT"
 
 - builder:
     name: ta-builder-job-verify-ta/rpmbuilder
     builders:
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: 'ta/manifest'
-              ref: '$SCM_REFSPEC_MANIFEST'
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: 'ta/build-tools'
-              ref: '$SCM_REFSPEC_BUILD_TOOLS'
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: '$SCM_PROJECT_TO_BUILD'
-              ref: '$SCM_PROJECT_TO_BUILD_REFSPEC'
-        - ta-builder-tox
-        - ta-builder-rpm:
-              # Just package some random project to verify "rpmbuilder" changes
-              project-to-build: '$SCM_PROJECT_TO_BUILD'
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "ta/manifest"
+          ref: "$SCM_REFSPEC_MANIFEST"
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "ta/build-tools"
+          ref: "$SCM_REFSPEC_BUILD_TOOLS"
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "$SCM_PROJECT_TO_BUILD"
+          ref: "$SCM_PROJECT_TO_BUILD_REFSPEC"
+      - ta-builder-tox
+      - ta-builder-rpm:
+          # Just package some random project to verify "rpmbuilder" changes
+          project-to-build: "$SCM_PROJECT_TO_BUILD"
 
 - builder:
     name: ta-builder-job-merge
     builders:
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: 'ta/manifest'
-              ref: '$SCM_REFSPEC_MANIFEST'
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: 'ta/build-tools'
-              ref: '$SCM_REFSPEC_BUILD_TOOLS'
-        - ta-builder-scm:
-              git-url: '{git-url}'
-              project: 'ta/rpmbuilder'
-              ref: '$SCM_REFSPEC_RPMBUILDER'
-        - ta-builder-rpm:
-              project-to-build: '$GERRIT_PROJECT'
-        - ta-lf-infra-ship-rpms
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "ta/manifest"
+          ref: "$SCM_REFSPEC_MANIFEST"
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "ta/build-tools"
+          ref: "$SCM_REFSPEC_BUILD_TOOLS"
+      - ta-builder-scm:
+          git-url: "{git-url}"
+          project: "ta/rpmbuilder"
+          ref: "$SCM_REFSPEC_RPMBUILDER"
+      - ta-builder-rpm:
+          project-to-build: "$GERRIT_PROJECT"
+      - ta-lf-infra-ship-rpms
 
 - builder:
     name: ta-builder-install-docker
     builders:
-      - shell: |2-
-          #!/bin/bash -ex
-          if apt --version 2>1 >/dev/null; then
-              sudo chmod +r /boot/vmlinuz*
-              if ! docker --version 2>1 >/dev/null; then
-                  sudo apt update
-                  sudo apt install -y apt-transport-https ca-certificates curl software-properties-common rename
-                  curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-                  sudo add-apt-repository -y "deb http://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
-                  sudo apt update
-                  sudo apt install -y docker-ce
-              fi
-          else
-              sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
-              sudo yum -y install docker-ce docker-ce-cli containerd.io
-          fi
-          sudo mkdir -p /etc/docker/
-          echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
-          sudo systemctl start docker
-          # Ugly hack to make docker usable for non-root
-          # (adding to the group would require re-login)
-          sudo chmod 777 /var/run/docker.sock
+      - shell: !include-raw-escape: ../shell/ta-install-docker.sh
 
 - builder:
     name: ta-builder-install-build-tools
     builders:
-      - shell: |2-
-          #!/bin/bash -ex
-          if apt --version 2>1 >/dev/null; then
-              if ! createrepo --version 2>1 >/dev/null; then
-                  sudo apt update
-                  sudo apt install -y createrepo libguestfs-tools jq
-              fi
-          else
-              sudo yum -y install createrepo libguestfs-tools-c jq
-          fi
-          sudo systemctl start libvirtd
-          systemctl status libvirtd
+      - shell: !include-raw-escape: ../shell/ta-install-build-tools.sh
 
 ###########
 # TRIGGER #
     name: ta-trigger-job-verify
     triggers:
       - gerrit:
-          server-name: '{gerrit-server-name}'
+          server-name: "{gerrit-server-name}"
           trigger-on:
             - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
-                exclude-no-code-change: 'false'
+                exclude-drafts: "false"
+                exclude-trivial-rebase: "false"
+                exclude-no-code-change: "false"
             - draft-published-event
             - comment-added-contains-event:
-                comment-contains-value: 'recheck'
+                comment-contains-value: "recheck"
             - comment-added-contains-event:
-                comment-contains-value: 'reverify'
+                comment-contains-value: "reverify"
           projects:
-            - project-compare-type: 'ANT'
-              project-pattern: '{project}'
+            - project-compare-type: "ANT"
+              project-pattern: "{project}"
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
+                - branch-compare-type: "ANT"
+                  branch-pattern: "**/{branch}"
           readable-message: true
           skip-vote:
-            successful: '{gerrit-skip-vote}'
-            failed: '{gerrit-skip-vote}'
-            unstable: '{gerrit-skip-vote}'
-            notbuilt: '{gerrit-skip-vote}'
+            successful: "{gerrit-skip-vote}"
+            failed: "{gerrit-skip-vote}"
+            unstable: "{gerrit-skip-vote}"
+            notbuilt: "{gerrit-skip-vote}"
 
 - trigger:
     name: ta-trigger-job-merge
     triggers:
       - gerrit:
-          server-name: '{gerrit-server-name}'
+          server-name: "{gerrit-server-name}"
           trigger-on:
             # Not sure if it would be better to use "change-merged" here and just clone the master
             # branch. With the current approach the SCM can be identical in verify and merge jobs.
             - ref-updated-event
             - comment-added-contains-event:
-                comment-contains-value: 'remerge'
+                comment-contains-value: "remerge"
           projects:
-            - project-compare-type: 'ANT'
-              project-pattern: '{project}'
+            - project-compare-type: "ANT"
+              project-pattern: "{project}"
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
+                - branch-compare-type: "ANT"
+                  branch-pattern: "**/{branch}"
           readable-message: true
 
 #############
 - publisher:
     name: ta-publisher-job-merge
     publishers:
+      - lf-infra-publish
       - ta-publisher-ci-build:
-          arch: '{arch}'
+          arch: "{arch}"
       - trigger-parameterized-builds:
-          - project: 'ta-ci-build-{arch}'
+          - project: "ta-ci-build-{arch}"
             condition: UNSTABLE_OR_BETTER
             trigger-with-no-params: true
 
index 4833947..351e02e 100644 (file)
@@ -1,7 +1,7 @@
 ---
 - job-template:
     id: akraino-project-stream-type-ta
-    name: '{project-name}-{stream}-{project-type}'
+    name: "{project-name}-{stream}-{project-type}"
     archive-artifacts: >
       work/**/*.spec
       work/**/*.repo
     stream: master
     project-type: freestyle
     submodule-recursive: true
-    node: '{build-node}'
+    node: "{build-node}"
     arch: amd64
     gerrit-skip-vote: false
+    default-refspec: refs/heads/master
 
     properties:
       - lf-infra-properties:
-          project: '{project}'
-          build-days-to-keep: '{build-days-to-keep}'
+          project: "{project}"
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+          lftools-version: "{lftools-version}"
 
-      - ta-parameters-ci
+      - ta-parameters:
+          scm-refspec-manifest: "{default-refspec}"
+          scm-refspec-build-tools: "{default-refspec}"
+          scm-refspec-rpmbuilder: "{default-refspec}"
 
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
+          default: "{archive-artifacts}"
           description: Artifacts to archive to the logs server.
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     scm:
       - ta-lf-infra-gerrit-scm-{project-type}:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
-          basedir: '$GERRIT_PROJECT'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
+          basedir: "$GERRIT_PROJECT"
 
     triggers:
       - ta-trigger-job-{project-type}:
-          gerrit-server-name: '{gerrit-server-name}'
-          gerrit-skip-vote: '{gerrit-skip-vote}'
-          project: '{project}'
-          branch: '{branch}'
+          gerrit-server-name: "{gerrit-server-name}"
+          gerrit-skip-vote: "{gerrit-skip-vote}"
+          project: "{project}"
+          branch: "{branch}"
 
     builders:
       - ta-builder-install-docker
       - ta-builder-job-{project-type}:
-          git-url: '{git-url}'
+          git-url: "{git-url}"
 
     publishers:
       - ta-publisher-job-{project-type}:
-          arch: '{arch}'
+          arch: "{arch}"
 
 - job-template:
     id: akraino-project-stream-type-ta-rpmbuilder
-    name: '{project-name}-{stream}-{project-type}'
+    name: "{project-name}-{stream}-{project-type}"
     archive-artifacts: >
       work/**/*.spec
       work/**/*.repo
     stream: master
     project-type: freestyle
     submodule-recursive: true
-    node: '{build-node}'
+    node: "{build-node}"
     gerrit-skip-vote: false
+    default-refspec: refs/heads/master
+    project-to-build: "ta/yarf"
 
     properties:
       - lf-infra-properties:
-          project: '{project}'
-          build-days-to-keep: '{build-days-to-keep}'
+          project: "{project}"
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+          lftools-version: "{lftools-version}"
 
-      - ta-parameters-ci-{project}
+      - ta-parameters:
+          scm-refspec-manifest: "{default-refspec}"
+          scm-refspec-build-tools: "{default-refspec}"
+          scm-project-to-build-refspec: "{default-refspec}"
+          scm-project-to-build: "{project-to-build}"
 
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
+          default: "{archive-artifacts}"
           description: Artifacts to archive to the logs server.
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     scm:
       - ta-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
-          choosing-strategy: 'gerrit'
-          basedir: '$GERRIT_PROJECT'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
+          choosing-strategy: "gerrit"
+          basedir: "$GERRIT_PROJECT"
 
     triggers:
       - ta-trigger-job-{project-type}:
-          gerrit-server-name: '{gerrit-server-name}'
-          gerrit-skip-vote: '{gerrit-skip-vote}'
-          project: '{project}'
-          branch: '{branch}'
+          gerrit-server-name: "{gerrit-server-name}"
+          gerrit-skip-vote: "{gerrit-skip-vote}"
+          project: "{project}"
+          branch: "{branch}"
 
     builders:
       - ta-builder-job-{project-type}-{project}:
-          git-url: '{git-url}'
+          git-url: "{git-url}"
 
     publishers:
       - lf-infra-publish
 
 - job-template:
     id: akraino-project-stream-type-ta-build
-    name: '{project-name}-{stream}-{project-type}'
+    name: "{project-name}-{stream}-{project-type}"
     archive-artifacts: >
       work/**/*.spec
       work/**/*.repo
     stream: master
     project-type: freestyle
     submodule-recursive: true
-    node: '{build-node}'
+    node: "{build-node}"
     gerrit-skip-vote: false
 
     properties:
       - lf-infra-properties:
-          project: '{project}'
-          build-days-to-keep: '{build-days-to-keep}'
+          project: "{project}"
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+          lftools-version: "{lftools-version}"
 
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
+          default: "{archive-artifacts}"
           description: Artifacts to archive to the logs server.
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     scm:
       - ta-lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
-          choosing-strategy: 'gerrit'
-          basedir: '$GERRIT_PROJECT'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
+          submodule-recursive: "{submodule-recursive}"
+          submodule-timeout: "{submodule-timeout}"
+          choosing-strategy: "gerrit"
+          basedir: "$GERRIT_PROJECT"
 
     triggers:
       - ta-trigger-job-{project-type}:
-          gerrit-server-name: '{gerrit-server-name}'
-          gerrit-skip-vote: '{gerrit-skip-vote}'
-          project: '{project}'
-          branch: '{branch}'
+          gerrit-server-name: "{gerrit-server-name}"
+          gerrit-skip-vote: "{gerrit-skip-vote}"
+          project: "{project}"
+          branch: "{branch}"
 
     builders:
       - ta-builder-tox
 
 - job-template:
     id: akraino-project-release-ta-build
-    name: '{name}'
+    name: "{name}"
     archive-artifacts: >
       work/**/*.spec
       work/**/*.repo
     stream: master
     project-type: freestyle
     submodule-recursive: true
-    node: '{build-node}'
+    node: "{build-node}"
+    default-refspec: refs/heads/master
 
     properties:
       - lf-infra-properties:
-          project: '{project}'
-          build-days-to-keep: '{build-days-to-keep}'
+          project: "{project}"
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-          lftools-version: '{lftools-version}'
+          project: "{project}"
+          stream: "{stream}"
+          branch: "{branch}"
+          lftools-version: "{lftools-version}"
 
-      - ta-parameters-manifest
-      - ta-parameters-build-tools
+      - ta-parameters:
+          scm-refspec-manifest: "{default-refspec}"
+          scm-refspec-build-tools: "{default-refspec}"
 
       - string:
           name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
+          default: "{archive-artifacts}"
           description: Artifacts to archive to the logs server.
 
     wrappers:
       - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     triggers:
       - gerrit:
-          server-name: '{gerrit-server-name}'
+          server-name: "{gerrit-server-name}"
           trigger-on:
             - ref-updated-event
           projects:
-            - project-compare-type: 'ANT'
-              project-pattern: 'ta/manifest'
+            - project-compare-type: "ANT"
+              project-pattern: "ta/manifest"
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-            - project-compare-type: 'ANT'
-              project-pattern: 'ta/build-tools'
+                - branch-compare-type: "ANT"
+                  branch-pattern: "**/{branch}"
+            - project-compare-type: "ANT"
+              project-pattern: "ta/build-tools"
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
+                - branch-compare-type: "ANT"
+                  branch-pattern: "**/{branch}"
 
     builders:
       - lf-display-node-uuid
       - ta-builder-scm:
-          git-url: '{git-url}'
-          project: 'ta/manifest'
-          ref: '$SCM_REFSPEC_MANIFEST'
+          git-url: "{git-url}"
+          project: "ta/manifest"
+          ref: "$SCM_REFSPEC_MANIFEST"
       - ta-builder-scm:
-          git-url: '{git-url}'
-          project: 'ta/build-tools'
-          ref: '$SCM_REFSPEC_BUILD_TOOLS'
+          git-url: "{git-url}"
+          project: "ta/build-tools"
+          ref: "$SCM_REFSPEC_BUILD_TOOLS"
       - ta-builder-install-docker
       - ta-builder-install-build-tools
       - shell: |2-
 
     publishers:
       - ta-publisher-ci-build:
-          arch: '{name}'
+          arch: "{name}"
index f697f9c..3b86010 100644 (file)
@@ -3,28 +3,28 @@
 # PARAMETERS #
 ##############
 - parameter:
-    name: 'seba_on_arm-defaults'
+    name: "seba_on_arm-defaults"
     parameters:
       - string:
           name: PON_TYPE
-          default: 'ponsim'
+          default: "ponsim"
 
 ########################
 # publisher macros
 ########################
 - publisher:
-    name: 'seba_on_arm-install-publisher'
+    name: "seba_on_arm-install-publisher"
     publishers:
       - email:
           recipients: armband@enea.com
       - lf-infra-publish
 
 - publisher:
-    name: 'seba_on_arm-test-publisher'
+    name: "seba_on_arm-test-publisher"
     publishers:
       - seba_on_arm-install-publisher
       - robot:
-          output-path: 'results'
-          report-html: '**/report.html'
-          log-html: '**/log.html'
-          output-xml: '**/output.xml'
+          output-path: "results"
+          report-html: "**/report.html"
+          log-html: "**/log.html"
+          output-xml: "**/output.xml"
index 2e245ea..91611a4 100644 (file)
@@ -1,60 +1,59 @@
 ---
 - job-template: &akraino-usecase-phase-rec
     id: akraino-usecase-phase-rec
-    name: 'rec-{slave_label}-{phase}-{usecase}-{job_frequency}-{stream}'
+    name: "rec-{slave_label}-{phase}-{usecase}-{job_frequency}-{stream}"
     concurrent: true
-    node: '{slave_label}'
+    node: "{slave_label}"
     # Support usecases that reside in a different project repo, e.g.
     # seba_on_arm usecase uses the 'iec' project git repo, even if this
     # job targets a different project, 'rec'.
-    usecase_project: 'iec'
+    usecase_project: "iec"
     properties:
       - throttle:
           enabled: true
           max-total: 4
           max-per-node: 1
-          option: 'project'
+          option: "project"
       - build-blocker:
           use-build-blocker: true
           blocking-jobs:
-            - '.*-{usecase}-.*'
-          block-level: 'NODE'
+            - ".*-{usecase}-.*"
+          block-level: "NODE"
 
     parameters:
       - lf-infra-parameters:
-          project: '{usecase_project}'
-          stream: '{stream}'
-          branch: '{branch}'
-      - '{project}-defaults'
-      - '{usecase}-defaults'
+          project: "{usecase_project}"
+          stream: "{stream}"
+          branch: "{branch}"
+      - "{project}-defaults"
+      - "{usecase}-defaults"
 
     scm:
       - lf-infra-gerrit-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: '{git-url}/{usecase_project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          git-url: "{git-url}/{usecase_project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
           submodule-recursive: false
-          submodule-timeout: '{submodule-timeout}'
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: true
           choosing-strategy: default
 
     builders:
-      - shell:
-          !include-raw-escape: ../shell/{usecase}.sh
+      - shell: !include-raw-escape: ../shell/{usecase}.sh
 
     publishers:
-      - '{usecase}-{phase}-publisher'
+      - "{usecase}-{phase}-publisher"
 
 - job-template:
     <<: *akraino-usecase-phase-rec
     id: akraino-usecase-phase-iec
-    name: 'iec-{iecType}-{phase}-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
+    name: "iec-{iecType}-{phase}-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}"
     parameters:
       - lf-infra-parameters:
-          project: '{usecase_project}'
-          stream: '{stream}'
-          branch: '{branch}'
-      - '{project}-defaults'
-      - '{installer}-{os}-defaults'
-      - '{usecase}-defaults'
+          project: "{usecase_project}"
+          stream: "{stream}"
+          branch: "{branch}"
+      - "{project}-defaults"
+      - "{installer}-{os}-defaults"
+      - "{usecase}-defaults"
index 193657f..ed2d9b1 100644 (file)
@@ -8,61 +8,49 @@
       - lab_params
       - string:
           name: LAB_SILO
-          default: ''
-          description: 'Folder in nexus where the logs are pushed.'
+          default: ""
+          description: "Folder in nexus where the logs are pushed."
       - string:
           name: SETTINGS_FILE
-          default: '/home/jenkins/settings.xml'
-          description: 'Path to credentials file'
+          default: "/home/jenkins/settings.xml"
+          description: "Path to credentials file"
 
 - parameter:
     name: lab_params
     parameters:
       - string:
           name: CLUSTER_MASTER_IP
-          default: ''
-          description: 'IP address to connect to the cluster master'
+          default: ""
+          description: "IP address to connect to the cluster master"
       - string:
           name: CLUSTER_SSH_USER
-          default: ''
-          description: 'SSH username to connect to the cluster master '
+          default: ""
+          description: "SSH username to connect to the cluster master "
       - string:
           name: CLUSTER_SSH_PASSWORD
-          default: ''
-          description: 'SSH password to connect to the cluster master'
+          default: ""
+          description: "SSH password to connect to the cluster master"
       - string:
           name: CLUSTER_SSH_KEY
-          default: ''
-          description: 'SSH key to connect to the cluster master'
+          default: ""
+          description: "SSH key to connect to the cluster master"
       - string:
           name: BLUEPRINT
-          default: ''
-          description: 'Blueprint used'
+          default: ""
+          description: "Blueprint used"
       - string:
           name: LAYER
-          default: ''
-          description: 'Layer'
+          default: ""
+          description: "Layer"
       - string:
           name: VERSION
-          default: ''
-          description: 'Version'
+          default: ""
+          description: "Version"
       - string:
           name: OPTIONAL
-          default: ''
-          description: 'If set to yes run optional tests'
+          default: ""
+          description: "If set to yes run optional tests"
       - string:
           name: PULL
-          default: 'false'
-          description: 'If set to yes pull docker images before run'
-
-############
-# SETTINGS #
-############
-# settings for jobs run in multijob phases
-- docker-build-job-settings: &docker-build-job-settings
-    name: docker_build_job_settings
-    current-parameters: true
-    git-revision: false
-    node-parameters: false
-    kill-phase-on: FAILURE
-    abort-all-jobs: false
+          default: "false"
+          description: "If set to yes pull docker images before run"
index c84e4c4..5efd2ac 100644 (file)
@@ -1,59 +1,74 @@
 ---
+############
+# SETTINGS #
+############
+# settings for jobs run in multijob phases
+- _docker-build-job-settings: &docker-build-job-settings
+    name: docker_build_job_settings
+    current-parameters: true
+    git-revision: false
+    node-parameters: false
+    kill-phase-on: FAILURE
+    abort-all-jobs: false
+
+#############
+# TEMPLATES #
+#############
 - job-template:
     id: akraino-validation-docker-multiarch
-    name: 'validation-{stream}-docker'
+    name: "validation-{stream}-docker"
     project-type: multijob
-    disabled: '{obj:disabled}'
-    node: 'centos7-builder-2c-1g'
+    disabled: "{obj:disabled}"
+    node: "centos7-builder-2c-1g"
     build-timeout: 90
 
     parameters:
       - lf-infra-parameters: &validation_lf_infra_parameters
-          project: '{project}'
-          branch: '{branch}'
-          stream: '{stream}'
+          project: "{project}"
+          branch: "{branch}"
+          stream: "{stream}"
 
     properties:
       - throttle:
           max-per-node: 1
-          option: 'project'
+          option: "project"
       - build-blocker:
           use-build-blocker: true
           blocking-jobs:
-            - 'validation-docker-.*'
-          block-level: 'NODE'
+            - "validation-docker-.*"
+          block-level: "NODE"
 
-    triggers: '{obj:triggers}'
+    triggers: "{obj:triggers}"
 
     builders:
       - multijob:
-          name: 'build validation images'
+          name: "build validation images"
           execution-type: PARALLEL
           projects:
-            - name: 'validation-docker-build-amd64-{stream}'
+            - name: "validation-docker-build-amd64-{stream}"
               <<: *docker-build-job-settings
-            - name: 'validation-docker-build-arm64-{stream}'
+            - name: "validation-docker-build-arm64-{stream}"
               <<: *docker-build-job-settings
       - multijob:
-          name: 'publish validation manifests'
+          name: "publish validation manifests"
           condition: SUCCESSFUL
           execution-type: PARALLEL
           projects:
-            - name: 'validation-docker-manifest-{stream}'
+            - name: "validation-docker-manifest-{stream}"
               <<: *docker-build-job-settings
 
     publishers:
+      - lf-infra-publish
       - email:
           recipients: >
             cristina.pauna@enea.com
             juha.kosonen@nokia.com
 
-
 - job-template:
     id: akraino-validation-docker-specific-arch
-    name: 'validation-docker-build-{arch_tag}-{stream}'
-    disabled: '{obj:disabled}'
-    node: '{slave_label}'
+    name: "validation-docker-build-{arch_tag}-{stream}"
+    disabled: "{obj:disabled}"
+    node: "{slave_label}"
     build-timeout: 75
 
     parameters:
       - build-blocker:
           use-build-blocker: true
           blocking-jobs:
-            - 'validation-docker-build-.*'
-          block-level: 'NODE'
+            - "validation-docker-build-.*"
+          block-level: "NODE"
     scm: &validation_scm
       # lf-infra-gerrit-scm hardcodes branch specifier to refs/heads; while
       # lf-infra-github-scm does not, allowing us to pass a fully custom '{branch}'
       - lf-infra-github-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$STREAM'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$STREAM"
           submodule-recursive: false
-          submodule-timeout: '{submodule-timeout}'
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: false
           choosing-strategy: default
 
     builders:
       - lf-infra-docker-login:
           global-settings-file: global-settings
-          settings-file: '{mvn-settings}'
+          settings-file: "{mvn-settings}"
       - shell: |
           #!/bin/bash -ex
           if [ "{branch}" != "{stream}" ]; then export TAG_VER=$STREAM; fi
           make -k -C docker push-all
           docker system prune -af
 
+    publishers:
+      - lf-infra-publish
+
 - job-template:
     id: akraino-validation-docker-manifest
-    name: 'validation-docker-manifest-{stream}'
-    node: 'ubuntu1604-docker-8c-8g'
+    name: "validation-docker-manifest-{stream}"
+    node: "ubuntu1804-docker-8c-8g"
     build-timeout: 15
 
     parameters:
       - lf-infra-parameters: *validation_lf_infra_parameters
 
-    disabled: '{obj:disabled}'
+    disabled: "{obj:disabled}"
 
     scm: *validation_scm
 
     builders:
       - lf-infra-docker-login:
           global-settings-file: global-settings
-          settings-file: '{mvn-settings}'
+          settings-file: "{mvn-settings}"
       - shell: |
           #!/bin/bash -ex
           if [ "{branch}" != "{stream}" ]; then export TAG_VER=$STREAM; fi
           for sd in docker/*/.; do make -k -C $sd .push_manifest; done
 
+    publishers:
+      - lf-infra-publish
+
 - job-template:
     id: akraino-validation-lab-daily
-    name: 'validation-{validation_lab}-daily-{stream}'
+    name: "validation-{validation_lab}-daily-{stream}"
     concurrent: true
-    node: '{build-node}'
+    node: "{build-node}"
     parameters:
-      - {'lab_params'}
+      - lab_params
     builders:
       - trigger-builds:
-          - project: 'bluval-daily-{stream}'
-            predefined-parameters:
-              LAB_SILO={validation_lab}
+          - project: "bluval-daily-{stream}"
+            predefined-parameters: LAB_SILO={validation_lab}
             same-node: true
             current-parameters: true
             block: true
 
+    publishers:
+      - lf-infra-publish
+
 - job-template:
     id: bluval-run-daily-tests
-    name: 'bluval-daily-{stream}'
+    name: "bluval-daily-{stream}"
     concurrent: true
-    node: '{build-node}'
+    node: "{build-node}"
+    lab-silo: ""
     parameters:
       - lf-infra-parameters: *validation_lf_infra_parameters
       - string:
           name: DEPLOY_SCENARIO
-          default: ''
-      - {'bluval-defaults'}
+          default: ""
+      - bluval-defaults:
+          lab-silo: "{lab-silo}"
 
     scm:
       - lf-infra-github-scm:
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          url: '{git-url}/{project}.git'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+          url: "{git-url}/{project}.git"
+          refspec: "$GERRIT_REFSPEC"
+          branch: "$GERRIT_BRANCH"
           submodule-recursive: false
-          submodule-timeout: '{submodule-timeout}'
+          submodule-timeout: "{submodule-timeout}"
           submodule-disable: true
           choosing-strategy: default
 
       - lf-infra-create-netrc:
           server-id: logs
       - shell: !include-raw-escape:
-        - ../shell/run_bluval.sh
+          - ../shell/run_bluval.sh
 
     publishers:
+      - lf-infra-publish
       - robot:
-          output-path: 'results'
-          report-html: '**/report.html'
-          log-html: '**/log.html'
-          output-xml: '**/output.xml'
+          output-path: "results"
+          report-html: "**/report.html"
+          log-html: "**/log.html"
+          output-xml: "**/output.xml"
       - logparser:
           use-project-rules: true
           parse-rules: "./bluval/rules.txt"
diff --git a/jjb/camunda_workflow/camunda_workflow-docker.yaml b/jjb/camunda_workflow/camunda_workflow-docker.yaml
deleted file mode 100644 (file)
index 5e1d5e6..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: camunda_workflow-docker
-    project-name: camunda_workflow
-    project: camunda_workflow
-    global-settings-file: global-settings
-    build-node: ubuntu1604-docker-8c-8g
-    stream: master
-    java-version: openjdk8
-    mvn-version: mvn35
-    mvn-opts: ''
-    mvn-params: '-f akraino'
-    mvn-settings: camunda_workflow-settings
-    build-timeout: 60
-    submodule-recursive: true
-    branch: master
-    jobs:
-      - 'akraino-project-stream-docker'
-      - 'akraino-project-stream-stage-docker'
diff --git a/jjb/camunda_workflow/camunda_workflow.yaml b/jjb/camunda_workflow/camunda_workflow.yaml
deleted file mode 100644 (file)
index 0be9fa7..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: camunda_workflow
-    project: camunda_workflow
-    project-name: camunda_workflow
-    mvn-settings: camunda_workflow-settings
-    mvn-params: '-f akraino'
-    nexus-iq-namespace: 'akraino-'
-    sonarcloud: true
-    sonarcloud-project-organization: '{sonarcloud_project_organization}'
-    sonarcloud-api-token: '{sonarcloud_api_token}'
-    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - '{project-name}-maven-jobs'
-      - gerrit-maven-sonar
-    views:
-      - project-view
diff --git a/jjb/camunda_workflow/info-camunda_workflow.yaml b/jjb/camunda_workflow/info-camunda_workflow.yaml
deleted file mode 100644 (file)
index 675cb75..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: camunda_workflow-info
-    project-name: camunda_workflow
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: camunda_workflow
-    branch: master
diff --git a/jjb/chomp/chomp.yaml b/jjb/chomp/chomp.yaml
deleted file mode 100644 (file)
index 2a10277..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- project:
-    name: chomp-project-view
-    project-name: chomp
-    views:
-      - project-view
diff --git a/jjb/chomp/info-chomp.yaml b/jjb/chomp/info-chomp.yaml
deleted file mode 100644 (file)
index a55c7b2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: chomp-info
-    project-name: chomp
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: chomp
-    branch: master
index a27fe15..254e064 100644 (file)
@@ -3,12 +3,16 @@
     name: ci-jobs
 
     jobs:
-      - '{project-name}-ci-jobs'
+      - gerrit-jenkins-cfg-verify
+      - gerrit-jenkins-sandbox-cleanup
+      - gerrit-jjb-deploy-job
+      - gerrit-jjb-merge
+      - gerrit-jjb-verify
 
     project: ci-management
     project-name: ci-management
     build-node: centos7-builder-2c-1g
-    jjb-version: 2.9.1
+    jjb-version: 5.0.2
 
     views:
       - project-view
index 97dbbf3..52ef3f5 100644 (file)
@@ -22,8 +22,7 @@
     templates: builder
     platforms:
       - centos-7
-      - ubuntu-16.04
-      - ubuntu-18.04
+      - centos-8
 
 - project:
     name: packer-docker-jobs
@@ -38,7 +37,6 @@
 
     templates: docker
     platforms:
-      - ubuntu-16.04
       - ubuntu-18.04
       - ubuntu-18.04-arm64
 
@@ -55,4 +53,4 @@
 
     platforms:
       - ubuntu-18.04
-    templates: helm
\ No newline at end of file
+    templates: helm
diff --git a/jjb/ci-management/static-slaves-ci-jobs.yaml b/jjb/ci-management/static-slaves-ci-jobs.yaml
deleted file mode 100644 (file)
index bb36b03..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
----
-- project:
-    name: static-slaves-ci-jobs
-
-    project: ci-management
-    project-name: ci-management
-    branch: master
-    stream: '{branch}'
-
-    build-node:
-      - aarch64_dev
-      - aarch64_build
-      - aarch64_baremetal
-      - aarch64_baremetal_dev
-
-    jobs:
-      - akraino-project-build-node-init
index c3b0e4b..c8f11bd 100644 (file)
@@ -1,6 +1,6 @@
 ---
 - view:
-    name: '00-Empty View'
+    name: "00-Empty View"
     description: >
       Empty job view. This is used as the default landing view to keep the
       Jenkins UI responding better while a) under high load and b) when there
@@ -9,11 +9,11 @@
     filter-executors: false
     filter-queue: false
     recurse: false
-    regex: ''
+    regex: ""
 
 - view:
     name: CLM
-    description: 'List of CLM jobs'
+    description: "List of CLM jobs"
     view-type: list
     filter-executors: false
     filter-queue: false
@@ -27,4 +27,4 @@
       - build-button
       - policy-violations
     recurse: false
-    regex: '.*-clm-.*'
+    regex: ".*-clm-.*"
diff --git a/jjb/connected-vehicle/info-connected-vehicle.yaml b/jjb/connected-vehicle/info-connected-vehicle.yaml
deleted file mode 100644 (file)
index 9542f10..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: connected-vehicle-info
-    project-name: connected-vehicle
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: connected-vehicle
-    branch: master
index 61381d2..a2bc8ee 100644 (file)
@@ -3,9 +3,9 @@
     name: global
 
     gerrit-server-name: Primary
-    git-url: 'ssh://akraino-jobbuilder@gerrit.akraino.org:29418'
+    git-url: "ssh://akraino-jobbuilder@gerrit.akraino.org:29418"
     jenkins-ssh-credential: jenkins-ssh
-    lftools-version: '<1.0.0'
+    lftools-version: "<1.0.0"
     submodule-timeout: 10
 
     # Nexus 2 for jars
     nexus-snapshot-repo: snapshots
     staging-profile-id: a7925c009cb5d
 
+    # openstack-cron notification defaults
+    failure-notification: "releng+akraino@linuxfoundation.org"
+    failure-notification-prefix: "[releng]"
+
     # Sonarcloud
     sonarcloud_project_organization: akraino-edge-stack
     sonarcloud_api_token: 6864256050596cb8f0cb689d599687f5de46f414
diff --git a/jjb/eliot/info-eliot.yaml b/jjb/eliot/info-eliot.yaml
deleted file mode 100644 (file)
index 2ac98c3..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: eliot-info
-    project-name: eliot
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: eliot
-    branch: master
diff --git a/jjb/evp/evp.yaml b/jjb/evp/evp.yaml
deleted file mode 100644 (file)
index c76f80e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- project:
-    name: evp-project-view
-    project-name: evp
-    views:
-      - project-view
diff --git a/jjb/evp/info-evp.yaml b/jjb/evp/info-evp.yaml
deleted file mode 100644 (file)
index 65665cb..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: evp-info
-    project-name: evp
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: evp
-    branch: master
diff --git a/jjb/icn/icn-daaas.yaml b/jjb/icn/icn-daaas.yaml
deleted file mode 100644 (file)
index 6bbcbd3..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
----
-#
-## Copyright (c) 2019 Intel Corporation
-##
-## Licensed under the Apache License, Version 2.0 (the "License"); you may
-## not use this file except in compliance with the License.
-##
-## You may obtain a copy of the License at
-##       http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-## WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-##
-#
-- project:
-    name: icn-daaas
-    project: 'icn/daaas'
-    project-name: icn-daaas
-    build-node: ubuntu1804-helm-8c-32g
-    stream:
-      - master:
-          branch: master
-    type:
-      - golang:
-          path: microservices
-          script: |-
-            #!/bin/bash
-            cd $WORKSPACE/microservices
-            make all
-      - helm:
-          path: deploy
-          script: |-
-            #!/bin/bash
-            cd $WORKSPACE/deploy
-            make all
-    jobs:
-      - "{project-name}-{stream}-{type}-verify"
-      - "{project-name}-{stream}-{type}-merge"
-    views:
-      - project-view
diff --git a/jjb/icn/info-icn.yaml b/jjb/icn/info-icn.yaml
deleted file mode 100644 (file)
index 8a81a52..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: icn-info
-    project-name: icn
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: icn
-    branch: master
index fbc8e1b..46f36e1 100644 (file)
@@ -3,17 +3,17 @@
     project: iec
     project-name: iec
     name: iec-tox-verify
-    tox-envs: 'coala'
+    tox-envs: "coala"
     stream:
       - master:
-          branch: '{stream}'
-          gs-pathname: ''
+          branch: "{stream}"
+          gs-pathname: ""
           disabled: false
     jobs:
-      - 'gerrit-tox-verify':
+      - "gerrit-tox-verify":
           parallel: false
           submodule-disable: true
     parameters:
       - lf-infra-tox-parameters:
-          tox-envs: '{tox-envs}'
+          tox-envs: "{tox-envs}"
     build-node: centos7-builder-2c-1g
index 5819d3c..7d8118d 100644 (file)
@@ -1,19 +1,19 @@
 ---
 - project:
-    name: 'iec'
-    project-name: 'iec'
-    project: '{project-name}'
+    name: "iec"
+    project-name: "iec"
+    project: "{project-name}"
     views:
       - common-view:
           view-name: iec
-          view-regex: '^{project-name}-(sonar|(tox|type1|type2)-(verify|fuel|compass)-.*)'
+          view-regex: "^{project-name}-(sonar|(tox|type1|type2)-(verify|fuel|compass)-.*)"
     # -------------------------------
     # BRANCH DEFINITIONS
     # -------------------------------
     stream:
       - master:
-          branch: '{stream}'
-          gs-pathname: ''
+          branch: "master"
+          gs-pathname: ""
           disabled: false
 
     # -------------------------------
     # OPERATING SYSTEM DEFINITIONS
     # -------------------------------
     os:
-      - ubuntu1604
       - ubuntu1804
       - centos7
-    #--------------------------------
+    # -------------------------------
     # IEC TYPE DEFINITINONS
     # type1 Mcbin embeded board
     # type2 Arm Server
     # -------------------------------
     deploy_type:
       - baremetal:
-          slave_label: 'aarch64_baremetal_dev'
-          scenario: 'k8-calico-iec-noha'
+          slave_label: "aarch64_baremetal_dev"
+          scenario: "k8-calico-iec-noha"
       - virtual:
-          slave_label: 'aarch64_dev'
-          scenario: 'k8-calico-iec-noha'
+          slave_label: "aarch64_dev"
+          scenario: "k8-calico-iec-noha"
 
     exclude:
       # Compass does not run against baremetal PODs yet
@@ -65,7 +64,7 @@
         os: centos7
       - installer: fuel
         deploy_type: baremetal
-        os: ubuntu1604
+        os: ubuntu1804
       # SEBA on virtual PODs should be excluded
       - deploy_type: virtual
         usecase: seba_on_arm
       - test
 
     jobs:
-      - akraino-iec-install
-      - akraino-iec-deploy
-      - akraino-iec-destroy
-      - akraino-usecase-phase-iec
+      - akraino-iec-install
+      - akraino-iec-deploy
+      - akraino-iec-destroy
+      - akraino-usecase-phase-iec
       - gerrit-sonar:
           sonar-project-file: ""
           build-node: centos7-builder-2c-1g
diff --git a/jjb/iec/info-iec.yaml b/jjb/iec/info-iec.yaml
deleted file mode 100644 (file)
index 9046591..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: iec-info
-    project-name: iec
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: iec
-    branch: master
diff --git a/jjb/kni/info-kni.yaml b/jjb/kni/info-kni.yaml
deleted file mode 100644 (file)
index f5192ec..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: kni-info
-    project-name: kni
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: kni
-    branch: master
index 83cd3c4..47169bc 100644 (file)
@@ -1,17 +1,16 @@
 ---
 - project:
     name: kni-installer
-    project: 'kni/installer'
+    project: "kni/installer"
     project-name: kni-installer
     stream: master
     branch: master
     jobs:
       - kni-installer-verify-installer
-      - kni-installer-verify-binary
 
 - project:
     name: kni-blueprint-pae
-    project: 'kni/blueprint-pae'
+    project: "kni/blueprint-pae"
     project-name: blueprint-pae
     stream: master
     branch: master
@@ -22,7 +21,7 @@
 
 - project:
     name: kni-blueprint-basic-3-masters
-    project: 'kni/blueprint-basic-3-masters'
+    project: "kni/blueprint-basic-3-masters"
     project-name: blueprint-basic-3-masters
     stream: master
     branch: master
       - kni-verify-deploy-aws
       - kni-verify-deploy-gcp
       - kni-verify-deploy-baremetal
+
+- project:
+    name: kni-blueprint-management-hub
+    project: "kni/blueprint-management-hub"
+    project-name: blueprint-management-hub
+    stream: master
+    branch: master
+    jobs:
+      - kni-verify-deploy-gcp-hub
+
+- project:
+    name: kni-blueprint-ie
+    project: "kni/blueprint-ie"
+    project-name: blueprint-ie
+    stream: master
+    branch: master
+    jobs:
+      - kni-verify-deploy-gcp-ie
diff --git a/jjb/mec-api-framework/info-mec-api-framework.yaml b/jjb/mec-api-framework/info-mec-api-framework.yaml
deleted file mode 100644 (file)
index d0feec8..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: mec-api-framework-info
-    project-name: mec-api-framework
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: mec-api-framework
-    branch: master
diff --git a/jjb/nc/info-nc.yaml b/jjb/nc/info-nc.yaml
deleted file mode 100644 (file)
index f5acd74..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: nc-info
-    project-name: nc
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: nc
-    branch: master
diff --git a/jjb/nc/nc-ovs-dpdk-unicycle.yaml b/jjb/nc/nc-ovs-dpdk-unicycle.yaml
deleted file mode 100644 (file)
index 85c6feb..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
----
-- project:
-    name: nc-ovs-dpdk-unicycle
-    project-name: nc-ovs-dpdk-unicycle
-    project: nc-ovs-dpdk-unicycle
-    build-node: centos7-builder-2c-1g
-    stream: master
-    mvn-settings: nc-ovs-dpdk-unicycle-settings
-    group-id: org.akraino.nc-ovs-dpdk-unicycle
-    refspec: refs/heads/master
-    branch: master
-    jobs:
-      - akraino-project-stream-release-config
-      - akraino-project-stream-stage-config
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
diff --git a/jjb/nc/nc.yaml b/jjb/nc/nc.yaml
deleted file mode 100644 (file)
index 2fb254e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- project:
-    name: nc-project-view
-    project-name: nc
-    views:
-      - project-view
diff --git a/jjb/ovs-dpdk-airship/info-ovs-dpdk-airship.yaml b/jjb/ovs-dpdk-airship/info-ovs-dpdk-airship.yaml
deleted file mode 100644 (file)
index 9757c49..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: ovs-dpdk-airship-info
-    project-name: ovs-dpdk-airship
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: ovs-dpdk-airship
-    branch: master
diff --git a/jjb/pcei/pcei.yaml b/jjb/pcei/pcei.yaml
deleted file mode 100644 (file)
index 2ac4138..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
----
-- project:
-    name: pcei-project-view
-    project-name: pcei
-    views:
-      - project-view
-
-- project:
-    name: pcei-info
-    project: pcei
-    project-name: pcei
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
diff --git a/jjb/portal/info-portal.yaml b/jjb/portal/info-portal.yaml
deleted file mode 100644 (file)
index 9d04cd9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: portal-info
-    project-name: portal
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: portal
-    branch: master
diff --git a/jjb/portal/portal.yaml b/jjb/portal/portal.yaml
deleted file mode 100644 (file)
index ae86b09..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- project:
-    name: portal-project-view
-    project-name: portal
-    views:
-      - project-view
diff --git a/jjb/portal_user_interface/info-portal_user_interface.yaml b/jjb/portal_user_interface/info-portal_user_interface.yaml
deleted file mode 100644 (file)
index a34ae1e..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: portal_user_interface-info
-    project-name: portal_user_interface
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: portal_user_interface
-    branch: master
diff --git a/jjb/portal_user_interface/portal-onapsdk-docker.yaml b/jjb/portal_user_interface/portal-onapsdk-docker.yaml
deleted file mode 100644 (file)
index bdadcf5..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#
-# Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    project-name: portal_user_interface-portal-onapsdk
-    project: 'portal_user_interface/portal-onapsdk'
-    name: portal_user_interface-portal-onapsdk-docker
-    global-settings-file: global-settings
-    build-node: ubuntu1604-docker-8c-8g
-    stream: master
-    java-version: openjdk8
-    mvn-version: mvn35
-    mvn-opts: ''
-    mvn-params: ''
-    mvn-settings: portal_user_interface-settings
-    build-timeout: 60
-    submodule-recursive: true
-    branch: master
-    jobs:
-      - 'akraino-project-stream-docker'
-      - 'akraino-project-stream-stage-docker'
diff --git a/jjb/portal_user_interface/portal-onapsdk.yaml b/jjb/portal_user_interface/portal-onapsdk.yaml
deleted file mode 100644 (file)
index 6be5b6d..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
----
-#
-# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    project: 'portal_user_interface/portal-onapsdk'
-    project-name: portal_user_interface-portal-onapsdk
-    name: portal_user_interface-portal-onapsdk
-    build-node: centos7-builder-2c-1g
-    mvn-settings: portal_user_interface-settings
-    mvn-params: ''
-    nexus-iq-namespace: 'akraino-'
-    sonarcloud: true
-    sonarcloud-project-organization: '{sonarcloud_project_organization}'
-    sonarcloud-api-token: '{sonarcloud_api_token}'
-    sonarcloud-project-key: '{sonarcloud_project_organization}_portal_user_interface'
-    stream: master
-    jobs:
-      - 'gerrit-tox-verify':
-          parallel: false
-          submodule-disable: true
-          stream:
-            - master:
-                branch: '{stream}'
-                gs-pathname: ''
-                disabled: false
-      - '{project-name}-maven-jobs'
-      - gerrit-maven-sonar
-    views:
-      - project-view
diff --git a/jjb/portal_user_interface/portal_user_interface-docker.yaml b/jjb/portal_user_interface/portal_user_interface-docker.yaml
deleted file mode 100644 (file)
index 38536a6..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: portal_user_interface-docker
-    project-name: portal_user_interface
-    project: portal_user_interface
-    global-settings-file: global-settings
-    build-node: ubuntu1604-docker-8c-8g
-    stream: master
-    java-version: openjdk8
-    mvn-version: mvn35
-    mvn-opts: ''
-    mvn-params: '-f AECPortalMgmt'
-    mvn-settings: portal_user_interface-settings
-    build-timeout: 60
-    submodule-recursive: true
-    branch: master
-    jobs:
-      - 'akraino-project-stream-docker'
-      - 'akraino-project-stream-stage-docker'
diff --git a/jjb/portal_user_interface/portal_user_interface.yaml b/jjb/portal_user_interface/portal_user_interface.yaml
deleted file mode 100644 (file)
index 76aa2b4..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: portal_user_interface
-    project: portal_user_interface
-    project-name: portal_user_interface
-    mvn-settings: portal_user_interface-settings
-    mvn-params: '-f AECPortalMgmt'
-    nexus-iq-namespace: 'akraino-'
-    sonarcloud: true
-    sonarcloud-project-organization: '{sonarcloud_project_organization}'
-    sonarcloud-api-token: '{sonarcloud_api_token}'
-    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - '{project-name}-maven-jobs'
-      - gerrit-maven-sonar
-    views:
-      - project-view
diff --git a/jjb/postgres_db_schema/info-postgres_db_schema.yaml b/jjb/postgres_db_schema/info-postgres_db_schema.yaml
deleted file mode 100644 (file)
index 9d0bc74..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: postgres_db_schema-info
-    project-name: postgres_db_schema
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: postgres_db_schema
-    branch: master
diff --git a/jjb/postgres_db_schema/postgres_db_schema.yaml b/jjb/postgres_db_schema/postgres_db_schema.yaml
deleted file mode 100644 (file)
index d5ec9b8..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: postgres_db_schema-docker
-    project-name: postgres_db_schema
-    project: postgres_db_schema
-    global-settings-file: global-settings
-    build-node: ubuntu1604-docker-8c-8g
-    stream: master
-    java-version: openjdk8
-    mvn-version: mvn35
-    mvn-opts: ''
-    mvn-params: ''
-    mvn-settings: postgres_db_schema-settings
-    build-timeout: 60
-    submodule-recursive: true
-    branch: master
-    jobs:
-      - 'akraino-project-stream-docker'
-      - 'akraino-project-stream-stage-docker'
-    views:
-      - project-view
diff --git a/jjb/rec/info-rec.yaml b/jjb/rec/info-rec.yaml
deleted file mode 100644 (file)
index b6ddb55..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: rec-info
-    project-name: rec
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: rec
-    branch: master
diff --git a/jjb/rec/rec.yaml b/jjb/rec/rec.yaml
deleted file mode 100644 (file)
index c41d57f..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
----
-- project:
-    name: 'rec'
-    project-name: 'rec'
-    project: '{project-name}'
-    views:
-      - project-view
-    # -------------------------------
-    # BRANCH DEFINITIONS
-    # -------------------------------
-    stream:
-      - master:
-          branch: '{stream}'
-          disabled: false
-
-    # -------------------------------
-    # USECASE DEFINITIONS
-    # -------------------------------
-    usecase:
-      - seba_on_arm
-
-    phase:
-      - install
-      - test
-
-    # -------------------------------
-    # POD DEFINITIONS
-    # -------------------------------
-    slave_label:
-      - aarch64_baremetal
-
-    job_frequency:
-      - weekly
-
-    jobs:
-      - akraino-rec-deploy
-      - akraino-rec-install-rec
-      - akraino-usecase-phase-rec
diff --git a/jjb/redfish/info-redfish.yaml b/jjb/redfish/info-redfish.yaml
deleted file mode 100644 (file)
index acd0306..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: redfish-info
-    project-name: redfish
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: redfish
-    branch: master
diff --git a/jjb/redfish/redfish-docker.yaml b/jjb/redfish/redfish-docker.yaml
deleted file mode 100644 (file)
index fa25a4e..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: redfish-docker
-    project-name: redfish
-    project: redfish
-    global-settings-file: global-settings
-    build-node: ubuntu1604-docker-8c-8g
-    stream: master
-    java-version: openjdk8
-    mvn-version: mvn35
-    mvn-opts: ''
-    mvn-params: ''
-    mvn-settings: redfish-settings
-    build-timeout: 60
-    submodule-recursive: true
-    branch: master
-    jobs:
-      - 'akraino-project-stream-docker'
-      - 'akraino-project-stream-stage-docker'
diff --git a/jjb/redfish/redfish.yaml b/jjb/redfish/redfish.yaml
deleted file mode 100644 (file)
index 5d1e880..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: redfish
-    project-name: redfish
-    project: redfish
-    build-node: centos7-builder-2c-1g
-    stream: master
-    mvn-settings: redfish-settings
-    group-id: org.akraino.redfish
-    refspec: refs/heads/master
-    branch: master
-    jobs:
-      - akraino-project-stream-release-config
-      - akraino-project-stream-stage-config
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
diff --git a/jjb/regional_controller/api-server-docker.yaml b/jjb/regional_controller/api-server-docker.yaml
deleted file mode 100644 (file)
index db6e2f3..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#
-# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: regional_controller-api-server-docker
-    project: 'regional_controller/api-server'
-    project-name: regional_controller-api-server
-    global-settings-file: global-settings
-    build-node: ubuntu1604-docker-8c-8g
-    stream: master
-    java-version: openjdk8
-    mvn-version: mvn35
-    mvn-opts: ''
-    mvn-params: ''
-    mvn-settings: regional_controller-settings
-    build-timeout: 60
-    submodule-recursive: true
-    branch: master
-    jobs:
-      - 'akraino-project-stream-docker'
-      - 'akraino-project-stream-stage-docker'
diff --git a/jjb/regional_controller/api-server.yaml b/jjb/regional_controller/api-server.yaml
deleted file mode 100644 (file)
index 0b94da7..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#
-# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: regional_controller-api-server
-    project: 'regional_controller/api-server'
-    project-name: regional_controller-api-server
-    mvn-settings: regional_controller-settings
-    mvn-params: ''
-    nexus-iq-namespace: 'akraino-'
-    sonarcloud: true
-    sonarcloud-project-organization: '{sonarcloud_project_organization}'
-    sonarcloud-api-token: '{sonarcloud_api_token}'
-    sonarcloud-project-key: '{sonarcloud_project_organization}_regional_controller'
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - '{project-name}-maven-jobs'
-      - gerrit-maven-sonar
-    views:
-      - project-view
diff --git a/jjb/regional_controller/info-regional_controller.yaml b/jjb/regional_controller/info-regional_controller.yaml
deleted file mode 100644 (file)
index 5752ef2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: regional_controller-info
-    project-name: regional_controller
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: regional_controller
-    branch: master
diff --git a/jjb/regional_controller/regional_controller.yaml b/jjb/regional_controller/regional_controller.yaml
deleted file mode 100644 (file)
index 0af64fe..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: regional_controller
-    project-name: regional_controller
-    project: regional_controller
-    build-node: centos7-builder-2c-1g
-    stream: master
-    mvn-settings: regional_controller-settings
-    group-id: org.akraino.regional_controller
-    refspec: refs/heads/master
-    branch: master
-    jobs:
-      - akraino-project-stream-release-config
-      - akraino-project-stream-stage-config
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
diff --git a/jjb/remote-server-os-bootstrap/info-remote-server-os-bootstrap.yaml b/jjb/remote-server-os-bootstrap/info-remote-server-os-bootstrap.yaml
deleted file mode 100644 (file)
index 03b2903..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: remote-server-os-bootstrap-info
-    project-name: remote-server-os-bootstrap
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: remote-server-os-bootstrap
-    branch: master
diff --git a/jjb/repo-beta/info-repo-beta.yaml b/jjb/repo-beta/info-repo-beta.yaml
deleted file mode 100644 (file)
index d83f54f..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: repo-beta-info
-    project-name: repo-beta
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: repo-beta
-    branch: master
diff --git a/jjb/sample_vnf/info-sample_vnf.yaml b/jjb/sample_vnf/info-sample_vnf.yaml
deleted file mode 100644 (file)
index d9fb428..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: sample_vnf-info
-    project-name: sample_vnf
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: sample_vnf
-    branch: master
diff --git a/jjb/sample_vnf/sample_vnf.yaml b/jjb/sample_vnf/sample_vnf.yaml
deleted file mode 100644 (file)
index 0a1c6f2..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: sample_vnf
-    project-name: sample_vnf
-    project: sample_vnf
-    build-node: centos7-builder-2c-1g
-    stream: master
-    mvn-settings: sample_vnf-settings
-    group-id: org.akraino.sample_vnf
-    refspec: refs/heads/master
-    branch: master
-    jobs:
-      - akraino-project-stream-release-config
-      - akraino-project-stream-stage-config
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
diff --git a/jjb/serverless/info-serverless.yaml b/jjb/serverless/info-serverless.yaml
deleted file mode 100644 (file)
index 732d0b2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: serverless-info
-    project-name: serverless
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: serverless
-    branch: master
diff --git a/jjb/shell/build_kni_binary.sh b/jjb/shell/build_kni_binary.sh
deleted file mode 100644 (file)
index 36e78b3..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-export PATH=$PATH:/usr/local/go/bin
-KNI_PATH='go/src/gerrit.akraino.org/kni/'
-
-set -e -u -x -o pipefail
-
-echo '---> Starting kni installer generation'
-
-mkdir -p $HOME/${KNI_PATH}/installer
-export GOPATH=$HOME/go
-
-# move clone to gopath
-cp -R ${WORKSPACE}/* $HOME/${KNI_PATH}/installer/
-
-# first build kni installer
-pushd $HOME/${KNI_PATH}/installer
-make build
-
-# then build the binary
-make binary
-STATUS=$?
-popd
-
-exit $STATUS
diff --git a/jjb/shell/ta-install-build-tools.sh b/jjb/shell/ta-install-build-tools.sh
new file mode 100644 (file)
index 0000000..80500c3
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash -ex
+if apt --version 2>1 >/dev/null; then
+    if ! createrepo --version 2>1 >/dev/null; then
+        sudo apt update
+        sudo apt install -y createrepo libguestfs-tools jq libvirt-daemon-system
+    fi
+else
+    sudo yum -y install createrepo libguestfs-tools-c jq
+fi
+sudo systemctl start libvirtd
+systemctl status libvirtd
diff --git a/jjb/shell/ta-install-docker.sh b/jjb/shell/ta-install-docker.sh
new file mode 100644 (file)
index 0000000..c75536e
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/bash -ex
+if apt --version 2>1 >/dev/null; then
+    sudo chmod +r /boot/vmlinuz*
+    if ! docker --version 2>1 >/dev/null; then
+        sudo apt update
+        sudo apt install -y apt-transport-https ca-certificates curl software-properties-common rename
+        curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
+        sudo add-apt-repository -y "deb http://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
+        sudo apt update
+        sudo apt install -y docker-ce
+    fi
+else
+    sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
+    sudo yum -y install docker-ce docker-ce-cli containerd.io
+fi
+sudo mkdir -p /etc/docker/
+echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
+sudo systemctl start docker
+# Ugly hack to make docker usable for non-root
+# (adding to the group would require re-login)
+sudo chmod 777 /var/run/docker.sock
index e40eeba..d3b1cec 100644 (file)
@@ -31,7 +31,8 @@ mkdir -p "$upload_dir2"
 
 platform_arch=$(uname -m)
 if [ "${platform_arch}" != 'x86_64' ]; then
-    # On non-x86 architecture, rename the artifacts appropiately
+    # On non-x86 architecture, rename the artifacts appropriately
+    sudo apt install -y rename # "rename" disappeared in Ubuntu 18.04
     pushd "$WORKSPACE/work/results/images/"
     rename "s/\./.${platform_arch}./" *.*
     sed -i "s/\./.${platform_arch}./" *."${platform_arch}".iso.*
diff --git a/jjb/starlingx/info-starlingx.yaml b/jjb/starlingx/info-starlingx.yaml
deleted file mode 100644 (file)
index 072d4ec..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: starlingx-info
-    project-name: starlingx
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: starlingx
-    branch: master
diff --git a/jjb/starlingx/starlingx.yaml b/jjb/starlingx/starlingx.yaml
deleted file mode 100644 (file)
index 731aa84..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
----
-- project:
-    name: starlingx-project-view
-    project-name: starlingx
-    project: starlingx
-    stream:
-      - master:
-          branch: master
-    build-node: centos7-dev-16c-48g
-    jobs:
-      - akraino-project-stream-verify
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
diff --git a/jjb/ta/access-management.yaml b/jjb/ta/access-management.yaml
deleted file mode 100644 (file)
index b543c11..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-access-management-amd64
-    project: ta/access-management
-    project-name: ta-access-management-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-access-management-arm64
-    project: ta/access-management
-    project-name: ta-access-management-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/ansible-role-ntp.yaml b/jjb/ta/ansible-role-ntp.yaml
deleted file mode 100644 (file)
index 4e67432..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-ansible-role-ntp-amd64
-    project: ta/ansible-role-ntp
-    project-name: ta-ansible-role-ntp-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-ansible-role-ntp-arm64
-    project: ta/ansible-role-ntp
-    project-name: ta-ansible-role-ntp-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
index 09e3865..f596d92 100644 (file)
@@ -1,9 +1,10 @@
+---
 - project:
     name: ta-build-tools-amd64
     project: ta/build-tools
     project-name: ta-build-tools-amd64
     project-type:
-        - verify
+      - verify
     build-node: centos7-builder-2c-1g
     stream: master
     jobs:
@@ -14,7 +15,7 @@
     project: ta/build-tools
     project-name: ta-build-tools-arm64
     project-type:
-        - verify
+      - verify
     build-node: aarch64_build
     stream: master
     jobs:
diff --git a/jjb/ta/caas-cpupooler.yaml b/jjb/ta/caas-cpupooler.yaml
deleted file mode 100644 (file)
index b493392..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-cpupooler-amd64
-    project: ta/caas-cpupooler
-    project-name: ta-caas-cpupooler-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-8g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-cpupooler-arm64
-    project: ta/caas-cpupooler
-    project-name: ta-caas-cpupooler-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-danm.yaml b/jjb/ta/caas-danm.yaml
deleted file mode 100644 (file)
index e0fbdc9..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-danm-amd64
-    project: ta/caas-danm
-    project-name: ta-caas-danm-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-8g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-danm-arm64
-    project: ta/caas-danm
-    project-name: ta-caas-danm-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-etcd.yaml b/jjb/ta/caas-etcd.yaml
deleted file mode 100644 (file)
index 8184ee3..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-etcd-amd64
-    project: ta/caas-etcd
-    project-name: ta-caas-etcd-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-8g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-etcd-arm64
-    project: ta/caas-etcd
-    project-name: ta-caas-etcd-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-helm.yaml b/jjb/ta/caas-helm.yaml
deleted file mode 100644 (file)
index 50080c2..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-helm-amd64
-    project: ta/caas-helm
-    project-name: ta-caas-helm-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-8c-8g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-helm-arm64
-    project: ta/caas-helm
-    project-name: ta-caas-helm-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-install.yaml b/jjb/ta/caas-install.yaml
deleted file mode 100644 (file)
index 72fa44c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-install-amd64
-    project: ta/caas-install
-    project-name: ta-caas-install-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-install-arm64
-    project: ta/caas-install
-    project-name: ta-caas-install-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-kubedns.yaml b/jjb/ta/caas-kubedns.yaml
deleted file mode 100644 (file)
index 824a9c3..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-kubedns-amd64
-    project: ta/caas-kubedns
-    project-name: ta-caas-kubedns-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-8g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-kubedns-arm64
-    project: ta/caas-kubedns
-    project-name: ta-caas-kubedns-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
index 1924654..f728240 100644 (file)
@@ -1,10 +1,11 @@
+---
 - project:
     name: ta-caas-kubernetes-amd64
     project: ta/caas-kubernetes
     project-name: ta-caas-kubernetes-amd64
     project-type:
-        - merge
-        - verify
+      - merge
+      - verify
     build-node: centos7-builder-8c-8g
     stream: master
     jobs:
@@ -15,8 +16,8 @@
     project: ta/caas-kubernetes
     project-name: ta-caas-kubernetes-arm64
     project-type:
-        - merge
-        - verify
+      - merge
+      - verify
     build-node: aarch64_build
     arch: arm64
     stream: master
diff --git a/jjb/ta/caas-lcm.yaml b/jjb/ta/caas-lcm.yaml
deleted file mode 100644 (file)
index 5f48f1f..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-lcm-amd64
-    project: ta/caas-lcm
-    project-name: ta-caas-lcm-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-lcm-arm64
-    project: ta/caas-lcm
-    project-name: ta-caas-lcm-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-logging.yaml b/jjb/ta/caas-logging.yaml
deleted file mode 100644 (file)
index 6c63e96..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-logging-amd64
-    project: ta/caas-logging
-    project-name: ta-caas-logging-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-logging-arm64
-    project: ta/caas-logging
-    project-name: ta-caas-logging-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-metrics.yaml b/jjb/ta/caas-metrics.yaml
deleted file mode 100644 (file)
index 556d2a9..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-metrics-amd64
-    project: ta/caas-metrics
-    project-name: ta-caas-metrics-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-8c-16g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-metrics-arm64
-    project: ta/caas-metrics
-    project-name: ta-caas-metrics-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-registry.yaml b/jjb/ta/caas-registry.yaml
deleted file mode 100644 (file)
index 8aea44f..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-registry-amd64
-    project: ta/caas-registry
-    project-name: ta-caas-registry-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-8g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-registry-arm64
-    project: ta/caas-registry
-    project-name: ta-caas-registry-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-security.yaml b/jjb/ta/caas-security.yaml
deleted file mode 100644 (file)
index eae6b3b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-security-amd64
-    project: ta/caas-security
-    project-name: ta-caas-security-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-security-arm64
-    project: ta/caas-security
-    project-name: ta-caas-security-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/caas-storage.yaml b/jjb/ta/caas-storage.yaml
deleted file mode 100644 (file)
index ed50a87..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-caas-storage-amd64
-    project: ta/caas-storage
-    project-name: ta-caas-storage-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-8g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-caas-storage-arm64
-    project: ta/caas-storage
-    project-name: ta-caas-storage-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/ci-build.yaml b/jjb/ta/ci-build.yaml
deleted file mode 100644 (file)
index 83a79a2..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-- project:
-    name: ta-ci-build-amd64
-    project: none
-    project-name: none
-    build-node: centos7-builder-8c-32g
-    stream: master
-    build-timeout: 120
-    jobs:
-      - akraino-project-release-ta-build
-
-- project:
-    name: ta-ci-build-arm64
-    project: none
-    project-name: none
-    build-node: aarch64_build
-    stream: master
-    build-timeout: 180
-    jobs:
-      - akraino-project-release-ta-build
diff --git a/jjb/ta/cloudtaf.yaml b/jjb/ta/cloudtaf.yaml
deleted file mode 100644 (file)
index bfc81bb..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-- project:
-    name: ta-cloudtaf-amd64
-    project: ta/cloudtaf
-    project-name: ta-cloudtaf-amd64
-    project-type:
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-cloudtaf-arm64
-    project: ta/cloudtaf
-    project-name: ta-cloudtaf-arm64
-    project-type:
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/cm-plugins.yaml b/jjb/ta/cm-plugins.yaml
deleted file mode 100644 (file)
index 8962783..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-cm-plugins-amd64
-    project: ta/cm-plugins
-    project-name: ta-cm-plugins-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-cm-plugins-arm64
-    project: ta/cm-plugins
-    project-name: ta-cm-plugins-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/config-manager.yaml b/jjb/ta/config-manager.yaml
deleted file mode 100644 (file)
index b47e103..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-config-manager-amd64
-    project: ta/config-manager
-    project-name: ta-config-manager-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-config-manager-arm64
-    project: ta/config-manager
-    project-name: ta-config-manager-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/distributed-state-server.yaml b/jjb/ta/distributed-state-server.yaml
deleted file mode 100644 (file)
index 747ed47..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-distributed-state-server-amd64
-    project: ta/distributed-state-server
-    project-name: ta-distributed-state-server-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-distributed-state-server-arm64
-    project: ta/distributed-state-server
-    project-name: ta-distributed-state-server-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/hostcli.yaml b/jjb/ta/hostcli.yaml
deleted file mode 100644 (file)
index 6085957..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-hostcli-amd64
-    project: ta/hostcli
-    project-name: ta-hostcli-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-hostcli-arm64
-    project: ta/hostcli
-    project-name: ta-hostcli-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/hw-detector.yaml b/jjb/ta/hw-detector.yaml
deleted file mode 100644 (file)
index 5f99dba..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-hw-detector-amd64
-    project: ta/hw-detector
-    project-name: ta-hw-detector-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-hw-detector-arm64
-    project: ta/hw-detector
-    project-name: ta-hw-detector-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/image-provision.yaml b/jjb/ta/image-provision.yaml
deleted file mode 100644 (file)
index 778bb01..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-image-provision-amd64
-    project: ta/image-provision
-    project-name: ta-image-provision-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-image-provision-arm64
-    project: ta/image-provision
-    project-name: ta-image-provision-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/info-ta.yaml b/jjb/ta/info-ta.yaml
deleted file mode 100644 (file)
index b72d743..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: ta-info
-    project-name: ta
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: ta
-    branch: master
index 00b6826..a78fa9f 100644 (file)
@@ -1,10 +1,11 @@
+---
 - project:
     name: ta-infra-ansible-amd64
     project: ta/infra-ansible
     project-name: ta-infra-ansible-amd64
     project-type:
-        - merge
-        - verify
+      - merge
+      - verify
     build-node: centos7-builder-2c-1g
     stream: master
     jobs:
@@ -15,8 +16,8 @@
     project: ta/infra-ansible
     project-name: ta-infra-ansible-arm64
     project-type:
-        - merge
-        - verify
+      - merge
+      - verify
     build-node: aarch64_build
     arch: arm64
     stream: master
diff --git a/jjb/ta/ipa-deployer.yaml b/jjb/ta/ipa-deployer.yaml
deleted file mode 100644 (file)
index 388a10f..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-ipa-deployer-amd64
-    project: ta/ipa-deployer
-    project-name: ta-ipa-deployer-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-ipa-deployer-arm64
-    project: ta/ipa-deployer
-    project-name: ta-ipa-deployer-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/ironic-virtmedia-driver.yaml b/jjb/ta/ironic-virtmedia-driver.yaml
deleted file mode 100644 (file)
index 9181af6..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-ironic-virtmedia-driver-amd64
-    project: ta/ironic-virtmedia-driver
-    project-name: ta-ironic-virtmedia-driver-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-ironic-virtmedia-driver-arm64
-    project: ta/ironic-virtmedia-driver
-    project-name: ta-ironic-virtmedia-driver-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/ironic.yaml b/jjb/ta/ironic.yaml
deleted file mode 100644 (file)
index da05368..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-ironic-amd64
-    project: ta/ironic
-    project-name: ta-ironic-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-8c-8g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-ironic-arm64
-    project: ta/ironic
-    project-name: ta-ironic-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/ironicclient.yaml b/jjb/ta/ironicclient.yaml
deleted file mode 100644 (file)
index 367974d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-ironicclient-amd64
-    project: ta/ironicclient
-    project-name: ta-ironicclient-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-ironicclient-arm64
-    project: ta/ironicclient
-    project-name: ta-ironicclient-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/lockcli.yaml b/jjb/ta/lockcli.yaml
deleted file mode 100644 (file)
index a4ea841..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-lockcli-amd64
-    project: ta/lockcli
-    project-name: ta-lockcli-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-lockcli-arm64
-    project: ta/lockcli
-    project-name: ta-lockcli-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
index d1a807f..422d6a5 100644 (file)
@@ -1,9 +1,10 @@
+---
 - project:
     name: ta-manifest-amd64
     project: ta/manifest
     project-name: ta-manifest-amd64
     project-type:
-        - verify
+      - verify
     build-node: centos7-builder-2c-1g
     stream: master
     jobs:
@@ -14,7 +15,7 @@
     project: ta/manifest
     project-name: ta-manifest-arm64
     project-type:
-        - verify
+      - verify
     build-node: aarch64_build
     stream: master
     jobs:
diff --git a/jjb/ta/monitoring.yaml b/jjb/ta/monitoring.yaml
deleted file mode 100644 (file)
index 7751553..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-monitoring-amd64
-    project: ta/monitoring
-    project-name: ta-monitoring-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-monitoring-arm64
-    project: ta/monitoring
-    project-name: ta-monitoring-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-galera_client.yaml b/jjb/ta/openstack-ansible-galera_client.yaml
deleted file mode 100644 (file)
index 9e3eb30..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-galera_client-amd64
-    project: ta/openstack-ansible-galera_client
-    project-name: ta-openstack-ansible-galera_client-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-galera_client-arm64
-    project: ta/openstack-ansible-galera_client
-    project-name: ta-openstack-ansible-galera_client-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-galera_server.yaml b/jjb/ta/openstack-ansible-galera_server.yaml
deleted file mode 100644 (file)
index f0bb7b2..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-galera_server-amd64
-    project: ta/openstack-ansible-galera_server
-    project-name: ta-openstack-ansible-galera_server-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-galera_server-arm64
-    project: ta/openstack-ansible-galera_server
-    project-name: ta-openstack-ansible-galera_server-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-haproxy_server.yaml b/jjb/ta/openstack-ansible-haproxy_server.yaml
deleted file mode 100644 (file)
index 2598384..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-haproxy_server-amd64
-    project: ta/openstack-ansible-haproxy_server
-    project-name: ta-openstack-ansible-haproxy_server-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-haproxy_server-arm64
-    project: ta/openstack-ansible-haproxy_server
-    project-name: ta-openstack-ansible-haproxy_server-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-memcached_server.yaml b/jjb/ta/openstack-ansible-memcached_server.yaml
deleted file mode 100644 (file)
index 9168c52..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-memcached_server-amd64
-    project: ta/openstack-ansible-memcached_server
-    project-name: ta-openstack-ansible-memcached_server-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-memcached_server-arm64
-    project: ta/openstack-ansible-memcached_server
-    project-name: ta-openstack-ansible-memcached_server-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-openstack_openrc.yaml b/jjb/ta/openstack-ansible-openstack_openrc.yaml
deleted file mode 100644 (file)
index bb3562b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-openstack_openrc-amd64
-    project: ta/openstack-ansible-openstack_openrc
-    project-name: ta-openstack-ansible-openstack_openrc-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-openstack_openrc-arm64
-    project: ta/openstack-ansible-openstack_openrc
-    project-name: ta-openstack-ansible-openstack_openrc-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-os_ironic.yaml b/jjb/ta/openstack-ansible-os_ironic.yaml
deleted file mode 100644 (file)
index 7cc48f4..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-os_ironic-amd64
-    project: ta/openstack-ansible-os_ironic
-    project-name: ta-openstack-ansible-os_ironic-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-os_ironic-arm64
-    project: ta/openstack-ansible-os_ironic
-    project-name: ta-openstack-ansible-os_ironic-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-os_keystone.yaml b/jjb/ta/openstack-ansible-os_keystone.yaml
deleted file mode 100644 (file)
index 566a2a6..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-os_keystone-amd64
-    project: ta/openstack-ansible-os_keystone
-    project-name: ta-openstack-ansible-os_keystone-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-os_keystone-arm64
-    project: ta/openstack-ansible-os_keystone
-    project-name: ta-openstack-ansible-os_keystone-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-plugins.yaml b/jjb/ta/openstack-ansible-plugins.yaml
deleted file mode 100644 (file)
index 5aafa3d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-plugins-amd64
-    project: ta/openstack-ansible-plugins
-    project-name: ta-openstack-ansible-plugins-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-plugins-arm64
-    project: ta/openstack-ansible-plugins
-    project-name: ta-openstack-ansible-plugins-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-rabbitmq_server.yaml b/jjb/ta/openstack-ansible-rabbitmq_server.yaml
deleted file mode 100644 (file)
index 36a963b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-rabbitmq_server-amd64
-    project: ta/openstack-ansible-rabbitmq_server
-    project-name: ta-openstack-ansible-rabbitmq_server-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-rabbitmq_server-arm64
-    project: ta/openstack-ansible-rabbitmq_server
-    project-name: ta-openstack-ansible-rabbitmq_server-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible-rsyslog_client.yaml b/jjb/ta/openstack-ansible-rsyslog_client.yaml
deleted file mode 100644 (file)
index c4016cd..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-rsyslog_client-amd64
-    project: ta/openstack-ansible-rsyslog_client
-    project-name: ta-openstack-ansible-rsyslog_client-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-rsyslog_client-arm64
-    project: ta/openstack-ansible-rsyslog_client
-    project-name: ta-openstack-ansible-rsyslog_client-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/openstack-ansible.yaml b/jjb/ta/openstack-ansible.yaml
deleted file mode 100644 (file)
index 837069c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-openstack-ansible-amd64
-    project: ta/openstack-ansible
-    project-name: ta-openstack-ansible-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-openstack-ansible-arm64
-    project: ta/openstack-ansible
-    project-name: ta-openstack-ansible-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/os-net-config.yaml b/jjb/ta/os-net-config.yaml
deleted file mode 100644 (file)
index 2cdd66c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-os-net-config-amd64
-    project: ta/os-net-config
-    project-name: ta-os-net-config-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-os-net-config-arm64
-    project: ta/os-net-config
-    project-name: ta-os-net-config-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/python-ilorest-library.yaml b/jjb/ta/python-ilorest-library.yaml
deleted file mode 100644 (file)
index 094f32c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-python-ilorest-library-amd64
-    project: ta/python-ilorest-library
-    project-name: ta-python-ilorest-library-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-python-ilorest-library-arm64
-    project: ta/python-ilorest-library
-    project-name: ta-python-ilorest-library-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/python-peewee.yaml b/jjb/ta/python-peewee.yaml
deleted file mode 100644 (file)
index 853f960..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-python-peewee-amd64
-    project: ta/python-peewee
-    project-name: ta-python-peewee-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-python-peewee-arm64
-    project: ta/python-peewee
-    project-name: ta-python-peewee-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/remote-installer.yaml b/jjb/ta/remote-installer.yaml
deleted file mode 100644 (file)
index 1f343c2..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
----
-- project:
-    name: ta-remote-installer
-    project: ta/remote-installer
-    project-name: ta-remote-installer
-    global-settings-file: global-settings
-    build-node: ubuntu1604-docker-8c-8g
-    stream: master
-    java-version: openjdk8
-    mvn-version: mvn35
-    mvn-opts: ''
-    mvn-params: ''
-    mvn-settings: ta-settings
-    build-timeout: 60
-    branch: master
-    submodule-recursive: true
-    jobs:
-      - 'akraino-project-stream-docker'
-      - 'akraino-project-stream-stage-docker'
-
diff --git a/jjb/ta/rpmbuilder.yaml b/jjb/ta/rpmbuilder.yaml
deleted file mode 100644 (file)
index 5584f97..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-- project:
-    name: ta-rpmbuilder-amd64
-    project: ta/rpmbuilder
-    project-name: ta-rpmbuilder-amd64
-    project-type:
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta-rpmbuilder
-
-- project:
-    name: ta-rpmbuilder-arm64
-    project: ta/rpmbuilder
-    project-name: ta-rpmbuilder-arm64
-    project-type:
-        - verify
-    build-node: aarch64_build
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta-rpmbuilder
diff --git a/jjb/ta/start-menu.yaml b/jjb/ta/start-menu.yaml
deleted file mode 100644 (file)
index e964eb5..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-start-menu-amd64
-    project: ta/start-menu
-    project-name: ta-start-menu-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-start-menu-arm64
-    project: ta/start-menu
-    project-name: ta-start-menu-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/storage.yaml b/jjb/ta/storage.yaml
deleted file mode 100644 (file)
index 1876c9d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-storage-amd64
-    project: ta/storage
-    project-name: ta-storage-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-storage-arm64
-    project: ta/storage
-    project-name: ta-storage-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/ta/yarf.yaml b/jjb/ta/yarf.yaml
deleted file mode 100644 (file)
index cb6c7be..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-- project:
-    name: ta-yarf-amd64
-    project: ta/yarf
-    project-name: ta-yarf-amd64
-    project-type:
-        - merge
-        - verify
-    build-node: centos7-builder-2c-1g
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
-
-- project:
-    name: ta-yarf-arm64
-    project: ta/yarf
-    project-name: ta-yarf-arm64
-    project-type:
-        - merge
-        - verify
-    build-node: aarch64_build
-    arch: arm64
-    stream: master
-    jobs:
-      - akraino-project-stream-type-ta
diff --git a/jjb/tc/info-tc.yaml b/jjb/tc/info-tc.yaml
deleted file mode 100644 (file)
index 7e07c4b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: tc-info
-    project-name: tc
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: tc
-    branch: master
diff --git a/jjb/tc/tc.yaml b/jjb/tc/tc.yaml
deleted file mode 100644 (file)
index 355731c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- project:
-    name: tc-project-view
-    project-name: tc
-    views:
-      - project-view
diff --git a/jjb/test_automation/info-test_automation.yaml b/jjb/test_automation/info-test_automation.yaml
deleted file mode 100644 (file)
index bc8b29b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: test_automation-info
-    project-name: test_automation
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: test_automation
-    branch: master
diff --git a/jjb/test_automation/test_automation.yaml b/jjb/test_automation/test_automation.yaml
deleted file mode 100644 (file)
index 4af601b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: test_automation
-    project-name: test_automation
-    project: test_automation
-    build-node: centos7-builder-2c-1g
-    stream: master
-    mvn-settings: test_automation-settings
-    group-id: org.akraino.test_automation
-    refspec: refs/heads/master
-    branch: master
-    jobs:
-      - akraino-project-stream-release-config
-      - akraino-project-stream-stage-config
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
diff --git a/jjb/umec/info-umec.yaml b/jjb/umec/info-umec.yaml
deleted file mode 100644 (file)
index 190bdee..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: umec-info
-    project-name: umec
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: umec
-    branch: master
diff --git a/jjb/umec/umec.yaml b/jjb/umec/umec.yaml
deleted file mode 100644 (file)
index af3d21c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- project:
-    name: umec-project-view
-    project-name: umec
-    views:
-      - project-view
index df9897f..5b16a47 100644 (file)
@@ -19,7 +19,7 @@
     name: bluval
     project-name: validation
     project: validation
-    build-node: '{build-node}'
+    build-node: centos7-builder-2c-1g
     group-id: org.akraino.validation
     refspec: refs/heads/master
     branch: master
@@ -30,8 +30,8 @@
       - rec
     stream:
       - master:
-          branch: '{stream}'
-          gs-pathname: ''
+          branch: "{stream}"
+          gs-pathname: ""
           disabled: false
     jobs:
       - bluval-run-daily-tests
diff --git a/jjb/validation/info-validation.yaml b/jjb/validation/info-validation.yaml
deleted file mode 100644 (file)
index 132229d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: validation-info
-    project-name: validation
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: validation
-    branch: master
index c31838b..bf3abd2 100644 (file)
     name: lab
     project-name: validation
     project: validation
-    build-node: '{build-node}'
+    build-node: centos7-builder-2c-1g
     stream:
       - master:
-          branch: '{stream}'
-          gs-pathname: ''
+          branch: "{stream}"
+          gs-pathname: ""
           disabled: false
     validation_lab:
       - enea
diff --git a/jjb/validation/validation-docker.yaml b/jjb/validation/validation-docker.yaml
deleted file mode 100644 (file)
index 539ed75..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-- project:
-
-    name: validation-docker
-    project: validation
-    mvn-settings: validation-settings
-    stream:
-      - master:
-          branch: '{stream}'
-          disabled: false
-          triggers:
-            # Build nigtly at 12:10 AM
-            - timed: '10 0 * * *'
-      - 3.0.0:
-          branch: 'master'
-          disabled: false
-          triggers:
-            - gerrit:
-                server-name: '{gerrit-server-name}'
-                trigger-on:
-                  - change-merged-event
-                  - comment-added-contains-event:
-                      comment-contains-value: remerge$
-                projects:
-                  - project-compare-type: ANT
-                    project-pattern: 'ci-management'
-                    branches:
-                      - branch-compare-type: ANT
-                        branch-pattern: '**/master'
-                    file-paths:
-                      - compare-type: REG_EXP
-                        pattern: 'jjb/validation/validation-docker.yaml'
-
-    arch_tag:
-      - 'amd64':
-          slave_label: 'ubuntu1604-docker-8c-8g'
-      - 'arm64':
-          slave_label: 'aarch64_build'
-
-    jobs:
-      - akraino-validation-docker-multiarch
-      - akraino-validation-docker-specific-arch
-      - akraino-validation-docker-manifest
index 2d72cc8..d4a0010 100644 (file)
@@ -5,11 +5,11 @@
     name: validation-tox-verify
     stream:
       - master:
-          branch: '{stream}'
-          gs-pathname: ''
+          branch: "{stream}"
+          gs-pathname: ""
           disabled: false
     jobs:
-      - 'gerrit-tox-verify':
+      - "gerrit-tox-verify":
           parallel: false
           submodule-disable: true
     build-node: centos7-builder-2c-1g
index f19f01f..3d17a69 100644 (file)
@@ -30,4 +30,4 @@
       - akraino-project-stream-stage-config
     views:
       - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
+    cron: "@weekly" # push fresh snapshot weekly
diff --git a/jjb/yaml_builds/info-yaml_builds.yaml b/jjb/yaml_builds/info-yaml_builds.yaml
deleted file mode 100644 (file)
index 0f106b9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: yaml_builds-info
-    project-name: yaml_builds
-    build-node: centos7-builder-2c-1g
-    jobs:
-      - gerrit-info-yaml-verify
-    project: yaml_builds
-    branch: master
diff --git a/jjb/yaml_builds/yaml_builds.yaml b/jjb/yaml_builds/yaml_builds.yaml
deleted file mode 100644 (file)
index 9dbad86..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-#
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-#
-# You may obtain a copy of the License at
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-- project:
-    name: yaml_builds
-    project-name: yaml_builds
-    project: yaml_builds
-    build-node: centos7-builder-2c-1g
-    stream: master
-    mvn-settings: yaml_builds-settings
-    group-id: org.akraino.yaml_builds
-    refspec: refs/heads/master
-    branch: master
-    jobs:
-      - akraino-project-stream-release-config
-      - akraino-project-stream-stage-config
-    views:
-      - project-view
-    cron: 'H H * * 0'  # push fresh snapshot weekly
index 57648e1..15aba27 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 57648e1600c3c2457900ad4872f26d8f5cd679c7
+Subproject commit 15aba27a45f98edb33890daa3712c6a4371b2947
index 57bd951..2059b30 100644 (file)
@@ -36,7 +36,7 @@
         url: https://storage.googleapis.com/kubernetes-release/release/v{{kubectl_version}}/bin/linux/amd64/kubectl
         dest: /usr/local/bin/kubectl
         mode: 0775
-      become: yes
+      become: true
 
     - name: "Install Helm {{helm_version}}"
       block:
             src: /tmp/helm-v{{helm_version}}-linux-amd64.tar.gz
             dest: /tmp
             remote_src: true
-          become: yes
+          become: true
         - name: "Move helm to /usr/local/bin and set as executable"
           command: "mv /tmp/linux-amd64/helm /usr/local/bin/helm"
-          become: yes
+          become: true
         - name: "Check helm."
           command: "which helm"
         - name: "Check kubectl."
index 020bb0a..3518e73 100644 (file)
@@ -6,7 +6,6 @@
     "cloud_network": null,
     "cloud_user_data": null,
     "cloud_region": "ca-ymq-1",
-    "cloud_availability_zone": "ca-ymq-2",
     "vm_use_block_storage": "true",
     "vm_volume_size": "30",
     "vm_image_disk_format": "",
diff --git a/packer/vars/ubuntu-18.04-arm64.json b/packer/vars/ubuntu-18.04-arm64.json
deleted file mode 100644 (file)
index 791bfb3..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-{
-  "arch": "arm64",
-  "base_image": "Ubuntu 18.04 LTS (arm64) [2018-04-29]",
-  "cloud_user_data": "common-packer/provision/ubuntu-user_data.sh",
-  "distro": "Ubuntu 18.04",
-  "flavor": "v2-standard-1",
-  "source_ami_filter_name": "*ubuntu*16.04*",
-  "source_ami_filter_owner": "099720109477",
-  "ssh_user": "ubuntu",
-  "vm_use_block_storage": "true"
-}
diff --git a/tox.ini b/tox.ini
index e33d587..5dad540 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,16 +1,52 @@
 [tox]
 minversion = 1.6
-envlist = coala
+envlist = pre-commit
 skipsdist = true
 
-[testenv:coala]
+[testenv:jenkins-jobs]
+deps =
+    jenkins-job-builder=={env:JJB_VERSION:5.0.2}
+commands =
+    jenkins-jobs {posargs:--help}
+
+
+[testenv:pre-commit-install]
 basepython = python3
+deps = pre-commit
+commands =
+    pre-commit install
+    pre-commit install --hook-type commit-msg
+
+[testenv:pre-commit-uninstall]
+basepython = python3
+deps = pre-commit
+commands =
+    pre-commit uninstall
+    pre-commit uninstall --hook-type commit-msg
+
+[testenv:pre-commit]
+description = Precommit checks for black, gitlint, etc.
+allowlist_externals =
+    /bin/sh
 deps =
-    coala==0.11
-    coala-bears==0.11
-    nodeenv~=1.3.0
+    pre-commit
+passenv = HOME
 commands =
-    nodeenv -p
-    npm install --global write-good
-    python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
-    coala --non-interactive
+    pre-commit run --all-files --show-diff-on-failure
+    /bin/sh -c 'if ! git config --get user.name > /dev/null; then \
+        git config --global --add user.name "CI"; \
+        touch .git/REMOVE_USERNAME; fi'
+    /bin/sh -c 'if ! git config --get user.email > /dev/null; then \
+        git config --global --add user.email "ci@example.org"; \
+        touch .git/REMOVE_USEREMAIL; fi'
+    /bin/sh -c "if [ -f .git/COMMIT_EDITMSG ]; then \
+        cp .git/COMMIT_EDITMSG .git/COMMIT_MSGTOX; else \
+        git log HEAD -n1 --pretty=%B > .git/COMMIT_MSGTOX; fi"
+    pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_MSGTOX
+    /bin/sh -c "rm -f .git/COMMIT_MSGTOX"
+    /bin/sh -c "if [ -f .git/REMOVE_USERNAME ]; then \
+        git config --global --unset user.name; \
+        rm -f .git/REMOVE_USERNAME; fi"
+    /bin/sh -c "if [ -f .git/REMOVE_USEREMAIL ]; then \
+        git config --global --unset user.email; \
+        rm -f .git/REMOVE_USEREMAIL; fi"