Merge "additional decapod pipelines"
diff --git a/designate/server/backend/bind.yml b/designate/server/backend/bind.yml
index c057eb7..5836f24 100644
--- a/designate/server/backend/bind.yml
+++ b/designate/server/backend/bind.yml
@@ -1,3 +1,5 @@
+classes:
+- service.bind.server.single
parameters:
_param:
designate_bind9_rndc_algorithm: hmac-sha512
diff --git a/docker/swarm/manager.yml b/docker/swarm/manager.yml
index 25a7fbe..4bbc22b 100644
--- a/docker/swarm/manager.yml
+++ b/docker/swarm/manager.yml
@@ -9,3 +9,4 @@
advertise_addr: ${_param:single_address}
master:
host: ${_param:cluster_node01_address}
+ port: 2377
diff --git a/docker/swarm/stack/influxdb.yml b/docker/swarm/stack/influxdb.yml
index e753d18..f9b1f58 100644
--- a/docker/swarm/stack/influxdb.yml
+++ b/docker/swarm/stack/influxdb.yml
@@ -5,7 +5,7 @@
parameters:
_param:
docker_influxdb_replicas: 1
- docker_influxdb_data_dir: /srv/volumes/influxdb
+ docker_influxdb_dir: /srv/volumes/influxdb
docker:
client:
stack:
@@ -19,11 +19,12 @@
environment:
INFLUXDB_CONFIG_PATH: /etc/influxdb/influxdb.conf
INFLUXDB_DATA_DIR: /var/lib/influxdb/data
- INFLUXDB_DATA_WAL_DIR: /var/lib/influxdb/wal
+ INFLUXDB_META_DIR: /var/lib/influxdb/meta
+ INFLUXDB_DATA_WAL_DIR: /tmp/wal
image: ${_param:docker_influxdb_image}
ports:
- 15016:8086
volumes:
- ${influxdb:server:prefix_dir}/etc/influxdb:/etc/influxdb
- - ${_param:docker_influxdb_data_dir}:/var/lib/influxdb/data
- - ${influxdb:server:data:wal_dir}:/var/lib/influxdb/wal
+ - ${_param:docker_influxdb_dir}:/var/lib/influxdb
+ - ${influxdb:server:data:wal_dir}:/tmp/wal
diff --git a/docker/swarm/stack/jenkins/master.yml b/docker/swarm/stack/jenkins/master.yml
index 54b0093..bc01e92 100644
--- a/docker/swarm/stack/jenkins/master.yml
+++ b/docker/swarm/stack/jenkins/master.yml
@@ -1,6 +1,8 @@
parameters:
_param:
- docker_image_jenkins: tcpcloud/jenkins:2.63
+ docker_image_jenkins: tcpcloud/jenkins:2.71
+ jenkins_master_extra_opts: ""
+ jenkins_master_executors_num: 4
docker:
client:
stack:
@@ -8,8 +10,8 @@
service:
master:
environment:
- JAVA_OPTS: "-Djenkins.install.runSetupWizard=false -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1 -Dhudson.footerURL=https://www.mirantis.com"
- JENKINS_NUM_EXECUTORS: 4
+ JAVA_OPTS: " -server -XX:+AlwaysPreTouch -Xloggc:$JENKINS_HOME/gc-%t.log -XX:NumberOfGCLogFiles=5 -XX:+UseGCLogFileRotation -XX:GCLogFileSize=20m -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintReferenceGC -XX:+PrintAdaptiveSizePolicy -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1 -Djenkins.install.runSetupWizard=false -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1 -Dhudson.footerURL=https://www.mirantis.com ${_param:jenkins_master_extra_opts}"
+ JENKINS_NUM_EXECUTORS: ${_param:jenkins_master_executors_num}
deploy:
restart_policy:
condition: any
diff --git a/haproxy/proxy/listen/kubernetes/apiserver.yml b/haproxy/proxy/listen/kubernetes/apiserver.yml
index b35d1be..8dfcb35 100644
--- a/haproxy/proxy/listen/kubernetes/apiserver.yml
+++ b/haproxy/proxy/listen/kubernetes/apiserver.yml
@@ -12,15 +12,15 @@
servers:
- name: ${_param:cluster_node01_hostname}
host: ${_param:cluster_node01_address}
- port: 443
+ port: 6443
params: check
- name: ${_param:cluster_node02_hostname}
host: ${_param:cluster_node02_address}
- port: 443
+ port: 6443
params: check
- name: ${_param:cluster_node03_hostname}
host: ${_param:cluster_node03_address}
- port: 443
+ port: 6443
params: check
timeout:
server: 10m
diff --git a/jenkins/client/job/debian/packages/salt.yml b/jenkins/client/job/debian/packages/salt.yml
index 6ccb432..31b8e2a 100644
--- a/jenkins/client/job/debian/packages/salt.yml
+++ b/jenkins/client/job/debian/packages/salt.yml
@@ -213,6 +213,8 @@
dist: xenial
- name: avinetworks
dist: xenial
+ - name: barbican
+ dist: xenial
- name: baremetal-simulator
dist: xenial
- name: backupninja
diff --git a/jenkins/client/job/deploy/lab/mk/cleanup.yml b/jenkins/client/job/deploy/lab/cleanup.yml
similarity index 100%
rename from jenkins/client/job/deploy/lab/mk/cleanup.yml
rename to jenkins/client/job/deploy/lab/cleanup.yml
diff --git a/jenkins/client/job/deploy/lab/component/aaa.yml b/jenkins/client/job/deploy/lab/component/aaa.yml
new file mode 100644
index 0000000..61d0b60
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/component/aaa.yml
@@ -0,0 +1,10 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ - stack_name: aaa_ha_freeipa
+ stack_type: heat
+ stack_install: core,aaa
+ stack_test: ""
+ job_timer: ""
diff --git a/jenkins/client/job/deploy/lab/component/ceph.yml b/jenkins/client/job/deploy/lab/component/ceph.yml
new file mode 100644
index 0000000..0d84374
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/component/ceph.yml
@@ -0,0 +1,10 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ - stack_name: ceph_ha
+ stack_type: heat
+ stack_install: core,ceph
+ stack_test: "ceph"
+ job_timer: ""
diff --git a/jenkins/client/job/deploy/lab/component/drivetrain.yml b/jenkins/client/job/deploy/lab/component/drivetrain.yml
new file mode 100644
index 0000000..e9e00e7
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/component/drivetrain.yml
@@ -0,0 +1,15 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ - stack_name: drivetrain_ha
+ stack_type: heat
+ stack_install: core
+ stack_test: ""
+ job_timer: ""
+ - stack_name: drivetrain_ha_clusters
+ stack_type: heat
+ stack_install: core
+ stack_test: ""
+ job_timer: ""
diff --git a/jenkins/client/job/deploy/lab/component/kubernetes.yml b/jenkins/client/job/deploy/lab/component/kubernetes.yml
new file mode 100644
index 0000000..9e80c64
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/component/kubernetes.yml
@@ -0,0 +1,30 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ - stack_name: k8s_aio_calico
+ stack_type: heat
+ stack_install: core,k8s,calico
+ stack_test: ""
+ job_timer: ""
+ - stack_name: k8s_aio_contrail
+ stack_type: heat
+ stack_install: core,k8s,contrail
+ stack_test: ""
+ job_timer: ""
+ - stack_name: k8s_ha_calico
+ stack_type: aws
+ stack_install: core,k8s,calico
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
+ - stack_name: k8s_ha_calico
+ stack_type: heat
+ stack_install: core,k8s,calico
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
+ - stack_name: k8s_ha_contrail
+ stack_type: heat
+ stack_install: core,k8s,contrail
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
diff --git a/jenkins/client/job/deploy/lab/component/openstack.yml b/jenkins/client/job/deploy/lab/component/openstack.yml
new file mode 100644
index 0000000..33c03f3
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/component/openstack.yml
@@ -0,0 +1,24 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ - stack_name: os_aio_contrail
+ stack_type: heat
+ stack_install: core,openstack,contrail
+ stack_test: ""
+ job_timer: ""
+ - stack_name: os_aio_ovs
+ stack_type: heat
+ stack_install: core,openstack,ovs
+ job_timer: ""
+ - stack_name: os_ha_contrail
+ stack_type: heat
+ stack_install: core,openstack,contrail
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
+ - stack_name: os_ha_ovs
+ stack_type: heat
+ stack_install: core,openstack,ovs
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
diff --git a/jenkins/client/job/deploy/lab/component/stacklight.yml b/jenkins/client/job/deploy/lab/component/stacklight.yml
new file mode 100644
index 0000000..2802e13
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/component/stacklight.yml
@@ -0,0 +1,20 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ - stack_name: stacklight_k8s_calico
+ stack_type: heat
+ stack_install: core,k8s,calico,stacklight
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
+ - stack_name: stacklight_os_contrail
+ stack_type: heat
+ stack_install: core,openstack,contrail,stacklight
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
+ - stack_name: stacklight_os_ovs
+ stack_type: heat
+ stack_install: core,openstack,ovs,stacklight
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
diff --git a/jenkins/client/job/deploy/lab/mk/init.yml b/jenkins/client/job/deploy/lab/deploy.yml
similarity index 77%
rename from jenkins/client/job/deploy/lab/mk/init.yml
rename to jenkins/client/job/deploy/lab/deploy.yml
index 996400e..5d87340 100644
--- a/jenkins/client/job/deploy/lab/mk/init.yml
+++ b/jenkins/client/job/deploy/lab/deploy.yml
@@ -1,39 +1,60 @@
parameters:
_param:
- jenkins_deploy_lab_mk_jobs: []
+ jenkins_deploy_jobs: []
jenkins:
client:
job_template:
- deploy_heat_template:
- name: deploy-{{stack_type}}-{{lab}}
- jobs: ${_param:jenkins_deploy_lab_mk_jobs}
+ deploy_template:
+ name: deploy-{{stack_type}}-{{stack_name}}
+ jobs: ${_param:jenkins_deploy_jobs}
template:
type: workflow-scm
discard:
build:
keep_num: 20
concurrent: true
- display_name: "Deploy - {{lab}} {{stack_type}} lab"
+ display_name: "Deploy - {{stack_name}} {{stack_type}}"
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
credentials: "gerrit"
- script: lab-pipeline.groovy
+ script: cloud-deploy-pipeline.groovy
trigger:
timer:
- spec: "{{timer}}"
+ spec: "{{job_timer}}"
param:
- # deployments and test settings
+ # general parameters
+ ASK_ON_ERROR:
+ type: boolean
+ default: 'false'
+
+ # deployments
+ STACK_NAME:
+ type: string
+ description: Heat stack name. Will be generated if missing.
STACK_TYPE:
type: string
default: "{{stack_type}}"
STACK_INSTALL:
type: string
- default: "{{install}}"
+ default: "{{stack_install}}"
STACK_TEST:
type: string
- default: "{{test}}"
+ default: "{{stack_test}}"
+ STACK_REUSE:
+ type: boolean
+ default: 'false'
+ STACK_DELETE:
+ type: boolean
+ default: 'true'
+ description: "Don't enable it if you need to use the lab after"
+ STACK_COMPUTE_COUNT:
+ type: string
+ default: '2'
+ STACK_TEMPLATE:
+ type: string
+ default: "{{stack_name}}"
STACK_TEMPLATE_URL:
type: string
default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
@@ -43,22 +64,33 @@
STACK_TEMPLATE_BRANCH:
type: string
default: "master"
- STACK_NAME:
- type: string
- description: Heat stack name. Will be generated if missing.
- STACK_TEMPLATE:
- type: string
- default: "{{lab}}"
- STACK_DELETE:
- type: boolean
- default: 'true'
- description: "Don't enable it if you need to use the lab after"
- STACK_REUSE:
- type: boolean
- default: 'false'
STACK_CLEANUP_JOB:
type: string
default: 'deploy-stack-cleanup'
+
+ # salt
+ SALT_MASTER_CREDENTIALS:
+ type: string
+ default: "salt-qa-credentials"
+ SALT_MASTER_URL:
+ type: string
+ default: ""
+ SALT_OVERRIDES:
+ type: text
+ default: ""
+ description: "YAML with overrides for Salt deployment"
+
+ # aws api
+ AWS_STACK_REGION:
+ type: string
+ default: "us-west-2"
+ AWS_API_CREDENTIALS:
+ type: string
+ default: "aws-credentials"
+ AWS_SSH_KEY:
+ type: string
+ default: "jenkins-mk"
+
# heat
HEAT_STACK_ENVIRONMENT:
type: string
@@ -70,14 +102,6 @@
type: string
default: "public"
- # salt master
- SALT_MASTER_CREDENTIALS:
- type: string
- default: "salt-qa-credentials"
- SALT_MASTER_URL:
- type: string
- default: ""
-
# openstack api
OPENSTACK_API_URL:
type: string
@@ -88,26 +112,24 @@
OPENSTACK_API_PROJECT:
type: string
default: "mcp-mk"
- OPENSTACK_API_CLIENT:
- type: string
- default: ""
- OPENSTACK_API_VERSION:
- type: string
- default: "3"
OPENSTACK_API_PROJECT_DOMAIN:
type: string
default: "default"
OPENSTACK_API_PROJECT_ID:
type: string
default: ""
- OPENSTACK_USER_DOMAIN:
- type: string
- default: "default"
OPENSTACK_API_USER_DOMAIN:
type: string
default: "default"
- # k8s setttings
+ OPENSTACK_API_CLIENT:
+ type: string
+ default: ""
+ OPENSTACK_API_VERSION:
+ type: string
+ default: "3"
+
+ # test
TEST_K8S_API_SERVER:
type: string
default: "http://127.0.0.1:8080"
@@ -115,10 +137,9 @@
type: string
default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
- # Tempest settings
TEST_TEMPEST_IMAGE:
type: string
- description: "Tempest image link"
+ description: "Tempest docker image"
default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
TEST_TEMPEST_TARGET:
type: string
@@ -133,7 +154,3 @@
description: "Run tests matched to pattern only"
default: ""
- ASK_ON_ERROR:
- type: boolean
- default: 'false'
-
diff --git a/jenkins/client/job/deploy/lab/init.yml b/jenkins/client/job/deploy/lab/init.yml
index 6b0d5ab..881e425 100644
--- a/jenkins/client/job/deploy/lab/init.yml
+++ b/jenkins/client/job/deploy/lab/init.yml
@@ -1,11 +1,16 @@
classes:
- - system.jenkins.client.job.deploy.lab.mk.physical
- - system.jenkins.client.job.deploy.lab.mk.virtual
- - system.jenkins.client.job.deploy.lab.mk.cleanup
- - system.jenkins.client.job.deploy.lab.mk.cloud
- system.jenkins.client.job.deploy.lab.cicd
- system.jenkins.client.job.deploy.lab.test-cicd
- system.jenkins.client.job.deploy.lab.demo
+ - system.jenkins.client.job.deploy.lab.cleanup
+ - system.jenkins.client.job.deploy.lab.release.mcp05
+ - system.jenkins.client.job.deploy.lab.release.mcp10
+ - system.jenkins.client.job.deploy.lab.release.mcp11
+ - system.jenkins.client.job.deploy.lab.component.aaa
+ - system.jenkins.client.job.deploy.lab.component.ceph
+ - system.jenkins.client.job.deploy.lab.component.kubernetes
+ - system.jenkins.client.job.deploy.lab.component.openstack
+ - system.jenkins.client.job.deploy.lab.component.stacklight
parameters:
jenkins:
diff --git a/jenkins/client/job/deploy/lab/mk/cloud.yml b/jenkins/client/job/deploy/lab/mk/cloud.yml
deleted file mode 100644
index 81e2121..0000000
--- a/jenkins/client/job/deploy/lab/mk/cloud.yml
+++ /dev/null
@@ -1,227 +0,0 @@
-parameters:
- _param:
- jenkins_cloud_deploy_pipelines:
- # Identity AAA
- - stack_name: aaa_ha_freeipa
- stack_type: heat
- stack_install: core,aaa
- stack_test: ""
- job_timer: ""
- extra_formulas: ""
- - stack_name: k8s_ha_calico
- stack_type: aws
- stack_install: core,k8s,calico
- stack_test: ""
- job_timer: "H H * * *"
- - stack_name: ceph_ha
- stack_type: heat
- stack_install: core,ceph
- stack_test: "ceph"
- job_timer: ""
-# - stack_name: drivetrain_ha
-# stack_type: heat
-# stack_install: core
-# stack_test: ""
-# job_timer: ""
-# - stack_name: drivetrain_ha_clusters
-# stack_type: heat
-# stack_install: core
-# stack_test: ""
-# job_timer: ""
- - stack_name: k8s_aio_calico
- stack_type: heat
- stack_install: core,k8s,calico
- stack_test: ""
- job_timer: ""
- - stack_name: k8s_aio_contrail
- stack_type: heat
- stack_install: core,k8s,contrail
- stack_test: ""
- job_timer: ""
- - stack_name: k8s_ha_calico
- stack_type: heat
- stack_install: core,k8s,calico
- stack_test: ""
- job_timer: "H H(0-6) * * *"
- - stack_name: k8s_ha_contrail
- stack_type: heat
- stack_install: core,k8s,contrail
- stack_test: ""
- job_timer: "H H(0-6) * * *"
- - stack_name: os_aio_contrail
- stack_type: heat
- stack_install: core,openstack,contrail
- stack_test: ""
- job_timer: ""
- - stack_name: os_aio_ovs
- stack_type: heat
- stack_install: core,openstack,ovs
- job_timer: ""
- - stack_name: os_ha_contrail
- stack_type: heat
- stack_install: core,openstack,contrail
- stack_test: ""
- job_timer: "H H(0-6) * * *"
- - stack_name: os_ha_ovs
- stack_type: heat
- stack_install: core,openstack,ovs
- stack_test: ""
- job_timer: "H H(0-6) * * *"
- - stack_name: stacklight_k8s_calico
- stack_type: heat
- stack_install: core,k8s,calico,stacklight
- stack_test: ""
- job_timer: "H H(0-6) * * *"
- - stack_name: stacklight_os_contrail
- stack_type: heat
- stack_install: core,openstack,contrail,stacklight
- stack_test: ""
- job_timer: "H H(0-6) * * *"
- - stack_name: stacklight_os_ovs
- stack_type: heat
- stack_install: core,openstack,ovs,stacklight
- stack_test: ""
- job_timer: "H H(0-6) * * *"
- jenkins:
- client:
- job_template:
- cloud_deploy_heat_template:
- name: deploy-{{stack_type}}-{{stack_name}}
- jobs: ${_param:jenkins_cloud_deploy_pipelines}
- template:
- type: workflow-scm
- discard:
- build:
- keep_num: 20
- concurrent: true
- display_name: "Deploy - {{stack_name}} {{stack_type}}"
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- credentials: "gerrit"
- script: cloud-deploy-pipeline.groovy
- trigger:
- timer:
- spec: "{{job_timer}}"
- param:
- # general parameters
- ASK_ON_ERROR:
- type: boolean
- default: 'false'
-
- # deployments
- STACK_NAME:
- type: string
- description: Heat stack name. Will be generated if missing.
- STACK_TEMPLATE:
- type: string
- default: "{{stack_name}}"
- STACK_TYPE:
- type: string
- default: "{{stack_type}}"
- STACK_INSTALL:
- type: string
- default: "{{stack_install}}"
- STACK_TEST:
- type: string
- default: "{{stack_test}}"
- STACK_DELETE:
- type: boolean
- default: 'true'
- description: "Don't enable it if you need to use the lab after"
- STACK_REUSE:
- type: boolean
- default: 'false'
- STACK_COMPUTE_COUNT:
- type: string
- default: '2'
-
- STACK_TEMPLATE_URL:
- type: string
- default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
- STACK_TEMPLATE_CREDENTIALS:
- type: string
- default: "gerrit"
- STACK_TEMPLATE_BRANCH:
- type: string
- default: "master"
- STACK_CLEANUP_JOB:
- type: string
- default: 'deploy-stack-cleanup'
-
- # salt master
- SALT_MASTER_CREDENTIALS:
- type: string
- default: "salt-qa-credentials"
- SALT_MASTER_URL:
- type: string
- default: ""
- SALT_OVERRIDES:
- type: text
- default: ""
-
- # aws api
- AWS_STACK_REGION:
- type: string
- default: "us-west-2"
- AWS_API_CREDENTIALS:
- type: string
- default: "aws-credentials"
- AWS_SSH_KEY:
- type: string
- default: "jenkins-mk"
-
-
- # openstack api
- OPENSTACK_API_URL:
- type: string
- default: "https://cloud-cz.bud.mirantis.net:5000"
- OPENSTACK_API_CREDENTIALS:
- type: string
- default: "openstack-devcloud-credentials"
- OPENSTACK_API_PROJECT:
- type: string
- default: "mcp-mk"
- OPENSTACK_API_CLIENT:
- type: string
- default: ""
- OPENSTACK_API_VERSION:
- type: string
- default: "3"
- OPENSTACK_API_PROJECT_DOMAIN:
- type: string
- default: "default"
- OPENSTACK_API_USER_DOMAIN_ID:
- type: string
- default: "default"
- OPENSTACK_API_PROJECT_ID:
- type: string
- default: ""
- OPENSTACK_API_USER_DOMAIN:
- type: string
- default: "default"
-
- # heat
- HEAT_STACK_ENVIRONMENT:
- type: string
- default: "devcloud"
- HEAT_STACK_ZONE:
- type: string
- default: "mcp-mk"
- HEAT_STACK_PUBLIC_NET:
- type: string
- default: "public"
-
- # k8s setttings
- TEST_K8S_API_SERVER:
- type: string
- default: "http://127.0.0.1:8080"
- TEST_K8S_CONFORMANCE_IMAGE:
- type: string
- default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
-
- # openstack settings
- TEST_TEMPEST_IMAGE:
- type: string
- default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
-
diff --git a/jenkins/client/job/deploy/lab/mk/physical.yml b/jenkins/client/job/deploy/lab/mk/physical.yml
deleted file mode 100644
index 8e6d498..0000000
--- a/jenkins/client/job/deploy/lab/mk/physical.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-classes:
- - system.jenkins.client.job.deploy.lab.mk
-parameters:
- _param:
- jenkins_deploy_lab_mk_jobs:
- - lab: mcp10_contrail
- install: core,kvm,openstack,contrail
- stack_type: physical
- test: openstack
- timer: ""
- - lab: mcp10_opencontrail_nfv
- install: core,kvm,openstack,nfv
- stack_type: physical
- test: openstack
- timer: ""
- - lab: mcp10_dvr
- install: core,kvm,openstack,dvr
- stack_type: physical
- test: openstack
- timer: ""
- - lab: mcp10_non_dvr
- install: core,kvm,openstack
- stack_type: physical
- test: openstack
- timer: ""
diff --git a/jenkins/client/job/deploy/lab/mk/virtual.yml b/jenkins/client/job/deploy/lab/mk/virtual.yml
deleted file mode 100644
index 31b035f..0000000
--- a/jenkins/client/job/deploy/lab/mk/virtual.yml
+++ /dev/null
@@ -1,125 +0,0 @@
-classes:
- - system.jenkins.client.job.deploy.lab.mk
-parameters:
- _param:
- jenkins_deploy_lab_mk_jobs:
- # mk20
- - lab: virtual_mk20_advanced
- install: core,openstack
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- - lab: virtual_mk20_basic
- install: core,openstack
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- # mk22
- - lab: virtual_mk22_advanced
- install: core,openstack
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- - lab: virtual_mk22_basic
- install: core,openstack
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- # mcp05
- - lab: virtual_mcp05_dvr
- install: core,openstack,dvr
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- - lab: virtual_mcp05_ovs
- install: core,openstack,ovs
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- # mcp10
- - lab: virtual_mcp10_contrail
- install: core,openstack,contrail
- stack_type: heat
- test: ""
- timer: "H H(0-6) * * *"
- extra_formulas: ""
- - lab: virtual_mcp10_dvr
- install: core,openstack,dvr
- stack_type: heat
- test: ""
- timer: "H H(0-6) * * *"
- extra_formulas: ""
- - lab: virtual_mcp10_ovs
- install: core,openstack,ovs
- stack_type: heat
- test: ""
- timer: "H H(0-6) * * *"
- extra_formulas: ""
- # mcp11
- - lab: virtual_mcp11_contrail
- install: core,openstack,contrail
- stack_type: heat
- test: ""
- extra_formulas: ""
- timer: ""
- - lab: virtual_mcp11_dvr
- install: core,openstack,dvr
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- - lab: virtual_mcp11_ovs
- install: core,openstack,ovs
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- - lab: virtual_mcp11_ironic_small
- install: core,openstack
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- - lab: virtual_mcp11_aio
- install: core,openstack
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
- - lab: virtual_mcp11_k8s_calico
- install: core,k8s,calico
- stack_type: heat
- test: k8s
- timer: "H H(0-6) * * *"
- extra_formulas: ""
- - lab: virtual_mcp11_k8s_contrail
- install: core,k8s,contrail
- stack_type: heat
- test: k8s
- timer: "H H(0-6) * * *"
- extra_formulas: ""
- - lab: virtual_mcp11_contrail_nfv
- install: core,openstack,contrail
- stack_type: heat
- test: ""
- timer: "H H(0-6) * * *"
- extra_formulas: ""
- - lab: virtual_mcp11_ovs_dpdk
- install: core,openstack,ovs
- stack_type: heat
- test: ""
- timer: "H H(0-6) * * *"
- extra_formulas: ""
- # Identity AAA
- - lab: virtual_aaa_freeipa
- install: core,aaa
- stack_type: heat
- test: ""
- timer: ""
- extra_formulas: ""
diff --git a/jenkins/client/job/deploy/lab/release/mcp05.yml b/jenkins/client/job/deploy/lab/release/mcp05.yml
new file mode 100644
index 0000000..3dbc25f
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/release/mcp05.yml
@@ -0,0 +1,15 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ - stack_name: virtual_mcp05_dvr
+ stack_install: core,openstack,dvr
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ - stack_name: virtual_mcp05_ovs
+ stack_install: core,openstack,ovs
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
diff --git a/jenkins/client/job/deploy/lab/release/mcp10.yml b/jenkins/client/job/deploy/lab/release/mcp10.yml
new file mode 100644
index 0000000..e8905ac
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/release/mcp10.yml
@@ -0,0 +1,43 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ # physical
+ - stack_name: mcp10_contrail
+ stack_install: core,kvm,openstack,contrail
+ stack_type: physical
+ stack_test: openstack
+ job_timer: ""
+ - stack_name: mcp10_opencontrail_nfv
+ stack_install: core,kvm,openstack,nfv
+ stack_type: physical
+ stack_test: openstack
+ job_timer: ""
+ - stack_name: mcp10_dvr
+ stack_install: core,kvm,openstack,dvr
+ stack_type: physical
+ stack_test: openstack
+ job_timer: ""
+ - stack_name: mcp10_non_dvr
+ stack_install: core,kvm,openstack
+ stack_type: physical
+ stack_test: openstack
+ job_timer: ""
+
+ # virtual
+ - stack_name: virtual_mcp10_contrail
+ stack_install: core,openstack,contrail
+ stack_type: heat
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
+ - stack_name: virtual_mcp10_dvr
+ stack_install: core,openstack,dvr
+ stack_type: heat
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
+ - stack_name: virtual_mcp10_ovs
+ stack_install: core,openstack,ovs
+ stack_type: heat
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
diff --git a/jenkins/client/job/deploy/lab/release/mcp11.yml b/jenkins/client/job/deploy/lab/release/mcp11.yml
new file mode 100644
index 0000000..98c8a5c
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/release/mcp11.yml
@@ -0,0 +1,50 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ - stack_name: virtual_mcp11_contrail
+ stack_install: core,openstack,contrail
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ - stack_name: virtual_mcp11_dvr
+ stack_install: core,openstack,dvr
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ - stack_name: virtual_mcp11_ovs
+ stack_install: core,openstack,ovs
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ - stack_name: virtual_mcp11_ironic_small
+ stack_install: core,openstack
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ - stack_name: virtual_mcp11_aio
+ stack_install: core,openstack
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ - stack_name: virtual_mcp11_k8s_calico
+ stack_install: core,k8s,calico
+ stack_type: heat
+ stack_test: k8s
+ job_timer: "H H(0-6) * * *"
+ - stack_name: virtual_mcp11_k8s_contrail
+ stack_install: core,k8s,contrail
+ stack_type: heat
+ stack_test: k8s
+ job_timer: "H H(0-6) * * *"
+ - stack_name: virtual_mcp11_contrail_nfv
+ stack_install: core,openstack,contrail
+ stack_type: heat
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
+ - stack_name: virtual_mcp11_ovs_dpdk
+ stack_install: core,openstack,ovs
+ stack_type: heat
+ stack_test: ""
+ job_timer: "H H(0-6) * * *"
diff --git a/jenkins/client/job/deploy/lab/release/mk.yml b/jenkins/client/job/deploy/lab/release/mk.yml
new file mode 100644
index 0000000..4fce1c5
--- /dev/null
+++ b/jenkins/client/job/deploy/lab/release/mk.yml
@@ -0,0 +1,27 @@
+classes:
+ - system.jenkins.client.job.deploy.lab.deploy
+parameters:
+ _param:
+ jenkins_deploy_jobs:
+ # mk20
+ - stack_name: virtual_mk20_advanced
+ stack_install: core,openstack
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ - stack_name: virtual_mk20_basic
+ stack_install: core,openstack
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ # mk22
+ - stack_name: virtual_mk22_advanced
+ stack_install: core,openstack
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
+ - stack_name: virtual_mk22_basic
+ stack_install: core,openstack
+ stack_type: heat
+ stack_test: ""
+ job_timer: ""
diff --git a/jenkins/client/job/deploy/openstack.yml b/jenkins/client/job/deploy/openstack.yml
index c2eb71b..f316ab4 100644
--- a/jenkins/client/job/deploy/openstack.yml
+++ b/jenkins/client/job/deploy/openstack.yml
@@ -14,7 +14,7 @@
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
credentials: "gerrit"
- script: lab-pipeline.groovy
+ script: cloud-deploy-pipeline.groovy
param:
# deployments and test settings
STACK_TYPE:
@@ -53,4 +53,4 @@
TARGET_SERVERS:
type: string
default: ""
- description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]."
\ No newline at end of file
+ description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]."
diff --git a/jenkins/client/job/docker/init.yml b/jenkins/client/job/docker/init.yml
index 1da507c..99e230b 100644
--- a/jenkins/client/job/docker/init.yml
+++ b/jenkins/client/job/docker/init.yml
@@ -23,12 +23,8 @@
tags: "2.32"
dockerfile: "Dockerfile"
- name: jenkins
- branch: "2.52"
- tags: "2.52 latest"
- dockerfile: "Dockerfile"
- - name: jenkins
- branch: "2.70"
- tags: "2.70 latest"
+ branch: "2.71"
+ tags: "2.71 latest"
dockerfile: "Dockerfile"
- name: phpldapadmin
branch: "master"
diff --git a/jenkins/client/job/docker/oss/init.yml b/jenkins/client/job/docker/oss/init.yml
index 1157bd3..386ea75 100644
--- a/jenkins/client/job/docker/oss/init.yml
+++ b/jenkins/client/job/docker/oss/init.yml
@@ -3,4 +3,9 @@
- system.jenkins.client.job.docker.oss.devops-portal
- system.jenkins.client.job.docker.oss.janitor-monkey-codebase
- system.jenkins.client.job.docker.oss.janitor-monkey-docker
+ - system.jenkins.client.job.docker.oss.pushkin-docker
+ - system.jenkins.client.job.docker.oss.pushkin-codebase
+ - system.jenkins.client.job.docker.oss.pushkin-codebase-ext
- system.jenkins.client.job.docker.oss.rundeck
+ - system.jenkins.client.job.docker.oss.security-monkey-docker
+ - system.jenkins.client.job.docker.oss.security-monkey-codebase-openstack
diff --git a/jenkins/client/job/docker/oss/pushkin-codebase-ext.yml b/jenkins/client/job/docker/oss/pushkin-codebase-ext.yml
new file mode 100644
index 0000000..1a5b5b6
--- /dev/null
+++ b/jenkins/client/job/docker/oss/pushkin-codebase-ext.yml
@@ -0,0 +1,73 @@
+parameters:
+ jenkins:
+ client:
+ job:
+ docker-build-images-pushkin-codebase-ext:
+ name: docker-build-images-pushkin-codebase-ext
+ discard:
+ build:
+ keep_num: 25
+ artifact:
+ keep_num: 25
+ type: workflow-scm
+ concurrent: true
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/oss/jenkins/pipelines"
+ credentials: "gerrit"
+ script: docker-build-image-pipeline.groovy
+ trigger:
+ gerrit:
+ project:
+ "oss/pushkin-extensions":
+ branches:
+ - master
+ skip_vote:
+ - successful
+ - failed
+ - unstable
+ - not_built
+ event:
+ patchset:
+ - created:
+ excludeDrafts: false
+ excludeNoCodeChange: false
+ change:
+ - merged
+ comment:
+ - addedContains:
+ commentAddedCommentContains: 'rebuild'
+ param:
+ IMAGE_NAME:
+ type: string
+ default: "pushkin"
+ IMAGE_TAGS:
+ type: string
+ default: ""
+ CREDENTIALS_ID:
+ type: string
+ default: "gerrit"
+ DOCKER_REGISTRY:
+ type: string
+ default: "docker-dev-virtual.docker.mirantis.net"
+ PROJECT_NAMESPACE:
+ type: string
+ default: "oss"
+ DOCKERFILE_PATH:
+ type: string
+ default: "Dockerfile"
+ CONTEXT_PATH:
+ type: string
+ default: "."
+ CUSTOM_GERRIT_PROJECT:
+ type: string
+ default: oss/docker-pushkin
+ CUSTOM_GERRIT_BRANCH:
+ type: string
+ default: master
+ CI_BUILD_ARG_PUSHKIN_EXT_REPO:
+ type: string
+ default: ""
+ CI_BUILD_ARG_PUSHKIN_EXT_REF:
+ type: string
+ default: ""
diff --git a/jenkins/client/job/docker/oss/pushkin-codebase.yml b/jenkins/client/job/docker/oss/pushkin-codebase.yml
new file mode 100644
index 0000000..f40bde3
--- /dev/null
+++ b/jenkins/client/job/docker/oss/pushkin-codebase.yml
@@ -0,0 +1,73 @@
+parameters:
+ jenkins:
+ client:
+ job:
+ docker-build-images-pushkin-codebase:
+ name: docker-build-images-pushkin-codebase
+ discard:
+ build:
+ keep_num: 25
+ artifact:
+ keep_num: 25
+ type: workflow-scm
+ concurrent: true
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/oss/jenkins/pipelines"
+ credentials: "gerrit"
+ script: docker-build-image-pipeline.groovy
+ trigger:
+ gerrit:
+ project:
+ "oss/pushkin":
+ branches:
+ - devel
+ skip_vote:
+ - successful
+ - failed
+ - unstable
+ - not_built
+ event:
+ patchset:
+ - created:
+ excludeDrafts: false
+ excludeNoCodeChange: false
+ change:
+ - merged
+ comment:
+ - addedContains:
+ commentAddedCommentContains: 'rebuild'
+ param:
+ IMAGE_NAME:
+ type: string
+ default: "pushkin"
+ IMAGE_TAGS:
+ type: string
+ default: ""
+ CREDENTIALS_ID:
+ type: string
+ default: "gerrit"
+ DOCKER_REGISTRY:
+ type: string
+ default: "docker-dev-virtual.docker.mirantis.net"
+ PROJECT_NAMESPACE:
+ type: string
+ default: "oss"
+ DOCKERFILE_PATH:
+ type: string
+ default: "Dockerfile"
+ CONTEXT_PATH:
+ type: string
+ default: "."
+ CUSTOM_GERRIT_PROJECT:
+ type: string
+ default: oss/docker-pushkin
+ CUSTOM_GERRIT_BRANCH:
+ type: string
+ default: master
+ CI_BUILD_ARG_PUSHKIN_REPO:
+ type: string
+ default: ""
+ CI_BUILD_ARG_PUSHKIN_REF:
+ type: string
+ default: ""
diff --git a/jenkins/client/job/docker/oss/pushkin-docker.yml b/jenkins/client/job/docker/oss/pushkin-docker.yml
new file mode 100644
index 0000000..d71e701
--- /dev/null
+++ b/jenkins/client/job/docker/oss/pushkin-docker.yml
@@ -0,0 +1,73 @@
+parameters:
+ jenkins:
+ client:
+ job:
+ docker-build-images-pushkin-docker:
+ name: docker-build-images-pushkin-docker
+ discard:
+ build:
+ keep_num: 25
+ artifact:
+ keep_num: 25
+ type: workflow-scm
+ concurrent: true
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/oss/jenkins/pipelines"
+ credentials: "gerrit"
+ script: docker-build-image-pipeline.groovy
+ trigger:
+ gerrit:
+ project:
+ "oss/docker-pushkin":
+ branches:
+ - master
+ skip_vote:
+ - successful
+ - failed
+ - unstable
+ - not_built
+ event:
+ patchset:
+ - created:
+ excludeDrafts: false
+ excludeNoCodeChange: false
+ change:
+ - merged
+ comment:
+ - addedContains:
+ commentAddedCommentContains: 'rebuild'
+ param:
+ IMAGE_NAME:
+ type: string
+ default: "pushkin"
+ IMAGE_TAGS:
+ type: string
+ default: ""
+ CREDENTIALS_ID:
+ type: string
+ default: "gerrit"
+ DOCKER_REGISTRY:
+ type: string
+ default: "docker-dev-virtual.docker.mirantis.net"
+ PROJECT_NAMESPACE:
+ type: string
+ default: "oss"
+ DOCKERFILE_PATH:
+ type: string
+ default: "Dockerfile"
+ CONTEXT_PATH:
+ type: string
+ default: "."
+ CI_BUILD_ARG_PUSHKIN_REPO:
+ type: string
+ default: ""
+ CI_BUILD_ARG_PUSHKIN_REF:
+ type: string
+ default: ""
+ CI_BUILD_ARG_PUSHKIN_EXT_REPO:
+ type: string
+ default: ""
+ CI_BUILD_ARG_PUSHKIN_EXT_REF:
+ type: string
+ default: ""
\ No newline at end of file
diff --git a/jenkins/client/job/docker/oss/security-monkey-codebase-openstack.yml b/jenkins/client/job/docker/oss/security-monkey-codebase-openstack.yml
new file mode 100644
index 0000000..a135df8
--- /dev/null
+++ b/jenkins/client/job/docker/oss/security-monkey-codebase-openstack.yml
@@ -0,0 +1,73 @@
+parameters:
+ jenkins:
+ client:
+ job:
+ docker-build-images-security-monkey-codebase-openstack:
+ name: docker-build-images-security-monkey-codebase-openstack
+ discard:
+ build:
+ keep_num: 25
+ artifact:
+ keep_num: 25
+ type: workflow-scm
+ concurrent: true
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/oss/jenkins/pipelines"
+ credentials: "gerrit"
+ script: docker-build-image-security-monkey-pipeline.groovy
+ trigger:
+ gerrit:
+ project:
+ "oss/security-monkey-openstack":
+ branches:
+ - master
+ skip_vote:
+ - successful
+ - failed
+ - unstable
+ - not_built
+ event:
+ patchset:
+ - created:
+ excludeDrafts: false
+ excludeNoCodeChange: false
+ change:
+ - merged
+ comment:
+ - addedContains:
+ commentAddedCommentContains: 'rebuild'
+ param:
+ IMAGE_NAME:
+ type: string
+ default: "security-monkey"
+ IMAGE_TAGS:
+ type: string
+ default: ""
+ CREDENTIALS_ID:
+ type: string
+ default: "gerrit"
+ DOCKER_REGISTRY:
+ type: string
+ default: "docker-dev-virtual.docker.mirantis.net"
+ PROJECT_NAMESPACE:
+ type: string
+ default: "oss"
+ DOCKERFILE_PATH:
+ type: string
+ default: "security-monkey/Dockerfile"
+ CONTEXT_PATH:
+ type: string
+ default: "."
+ CUSTOM_GERRIT_PROJECT:
+ type: string
+ default: oss/docker-security-monkey
+ CUSTOM_GERRIT_BRANCH:
+ type: string
+ default: master
+ CI_BUILD_ARG_SECURITY_MONKEY_OPENSTACK_REPO:
+ type: string
+ default: ""
+ CI_BUILD_ARG_SECURITY_MONKEY_OPENSTACK_REF:
+ type: string
+ default: ""
diff --git a/jenkins/client/job/docker/oss/security-monkey-docker.yml b/jenkins/client/job/docker/oss/security-monkey-docker.yml
new file mode 100644
index 0000000..7724f80
--- /dev/null
+++ b/jenkins/client/job/docker/oss/security-monkey-docker.yml
@@ -0,0 +1,73 @@
+parameters:
+ jenkins:
+ client:
+ job:
+ docker-build-images-security-monkey-docker:
+ name: docker-build-images-security-monkey-docker
+ discard:
+ build:
+ keep_num: 25
+ artifact:
+ keep_num: 25
+ type: workflow-scm
+ concurrent: true
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/oss/jenkins/pipelines"
+ credentials: "gerrit"
+ script: docker-build-image-security-monkey-pipeline.groovy
+ trigger:
+ gerrit:
+ project:
+ "oss/docker-security-monkey":
+ branches:
+ - master
+ skip_vote:
+ - successful
+ - failed
+ - unstable
+ - not_built
+ event:
+ patchset:
+ - created:
+ excludeDrafts: false
+ excludeNoCodeChange: false
+ change:
+ - merged
+ comment:
+ - addedContains:
+ commentAddedCommentContains: 'rebuild'
+ param:
+ IMAGE_NAME:
+ type: string
+ default: "security-monkey"
+ IMAGE_TAGS:
+ type: string
+ default: ""
+ CREDENTIALS_ID:
+ type: string
+ default: "gerrit"
+ DOCKER_REGISTRY:
+ type: string
+ default: "docker-dev-virtual.docker.mirantis.net"
+ PROJECT_NAMESPACE:
+ type: string
+ default: "oss"
+ DOCKERFILE_PATH:
+ type: string
+ default: "security-monkey/Dockerfile"
+ CONTEXT_PATH:
+ type: string
+ default: "."
+ CI_BUILD_ARG_SECURITY_MONKEY_REPO:
+ type: string
+ default: ""
+ CI_BUILD_ARG_SECURITY_MONKEY_REF:
+ type: string
+ default: ""
+ CI_BUILD_ARG_SECURITY_MONKEY_OPENSTACK_REPO:
+ type: string
+ default: ""
+ CI_BUILD_ARG_SECURITY_MONKEY_OPENSTACK_REF:
+ type: string
+ default: ""
\ No newline at end of file
diff --git a/jenkins/client/job/fake_test.yml b/jenkins/client/job/fake_test.yml
new file mode 100644
index 0000000..079651c
--- /dev/null
+++ b/jenkins/client/job/fake_test.yml
@@ -0,0 +1,37 @@
+parameters:
+ jenkins:
+ client:
+ job:
+ gerrit-fake-test:
+ name: gerrit-fake-test
+ discard:
+ build:
+ keep_num: 25
+ artifact:
+ keep_num: 25
+ type: workflow-scm
+ concurrent: true
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
+ credentials: "gerrit"
+ script: fake-test-pipeline.groovy
+ trigger:
+ gerrit:
+ project:
+ "salt-formulas/salt-formulas":
+ branches:
+ - master
+ event:
+ patchset:
+ - created:
+ excludeDrafts: false
+ excludeTrivialRebase: false
+ excludeNoCodeChange: false
+ comment:
+ - addedContains:
+ commentAddedCommentContains: '(recheck|reverify)'
+ param:
+ CREDENTIALS_ID:
+ type: string
+ default: "gerrit"
diff --git a/jenkins/client/job/gating.yml b/jenkins/client/job/gating.yml
index d0f2149..6886b06 100644
--- a/jenkins/client/job/gating.yml
+++ b/jenkins/client/job/gating.yml
@@ -38,6 +38,7 @@
quiet_period: 60
trigger:
gerrit:
+ silent_start_mode: true
project:
'{{regex}}':
compare_type: REG_EXP
diff --git a/jenkins/client/job/image/ubuntu.yml b/jenkins/client/job/image/ubuntu.yml
index 350d2d7..c5b43d6 100644
--- a/jenkins/client/job/image/ubuntu.yml
+++ b/jenkins/client/job/image/ubuntu.yml
@@ -45,7 +45,7 @@
default: ""
UPLOAD_URL:
type: string
- default: "http://jenkins:eyoocaiG3ADireK3Eef8gae1roh5oox0@10.10.100.85:8088/"
+ default: "${_param:jenkins_packer_upload_url}"
SKIP_UPLOAD:
type: boolean
default: "false"
diff --git a/jenkins/client/job/salt-formulas/git-mirrors/2way.yml b/jenkins/client/job/salt-formulas/git-mirrors/2way.yml
index 01c3baf..331eb59 100644
--- a/jenkins/client/job/salt-formulas/git-mirrors/2way.yml
+++ b/jenkins/client/job/salt-formulas/git-mirrors/2way.yml
@@ -17,9 +17,11 @@
branches: ${_param:salt_formulas_branches}
- name: artifactory
branches: ${_param:salt_formulas_branches}
+ - name: avinetworks
+ branches: ${_param:salt_formulas_branches}
- name: backupninja
branches: ${_param:salt_formulas_branches}
- - name: avinetworks
+ - name: barbican
branches: ${_param:salt_formulas_branches}
- name: billometer
branches: ${_param:salt_formulas_branches}
@@ -85,6 +87,8 @@
branches: ${_param:salt_formulas_extra_branches}
- name: heka
branches: ${_param:salt_formulas_branches}
+ - name: helm
+ branches: ${_param:salt_formulas_branches}
- name: horizon
branches: ${_param:salt_formulas_extra_branches}
- name: influxdb
diff --git a/jenkins/client/job/salt-models/tests.yml b/jenkins/client/job/salt-models/tests.yml
index 8c04aba..4b6c006 100644
--- a/jenkins/client/job/salt-models/tests.yml
+++ b/jenkins/client/job/salt-models/tests.yml
@@ -41,7 +41,7 @@
default: "gerrit"
PARALLEL_NODE_GROUP_SIZE:
type: string
- default: "5"
+ default: "2"
# Salt master setup extra formulas
EXTRA_FORMULAS:
type: string
@@ -61,6 +61,9 @@
CONFIG_NODE_NAME_PATTERN:
type: string
default: "{{config_node_name}}"
+ MAX_CPU_PER_JOB:
+ type: string
+ default: "2"
test_system_reclass:
name: test-salt-model-{{name}}
template:
@@ -168,4 +171,7 @@
default: ""
SYSTEM_GIT_REF:
type: string
- default: ""
\ No newline at end of file
+ default: ""
+ MAX_CPU_PER_JOB:
+ type: string
+ default: "2"
diff --git a/jenkins/client/job/test_pipelines.yml b/jenkins/client/job/test_pipelines.yml
index 5d58f20..d0f0a6e 100644
--- a/jenkins/client/job/test_pipelines.yml
+++ b/jenkins/client/job/test_pipelines.yml
@@ -1,50 +1,56 @@
parameters:
jenkins:
client:
- job:
- test-mk-mk-pipelines:
- name: test-mk-mk-pipelines
- discard:
- build:
- keep_num: 25
- artifact:
- keep_num: 25
- type: workflow-scm
- concurrent: true
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- credentials: "gerrit"
- script: test-groovy-pipeline.groovy
- trigger:
- gerrit:
- project:
- "mk/mk-pipelines":
- branches:
- - master
- event:
- patchset:
- - created:
- excludeDrafts: false
- excludeTrivialRebase: false
- excludeNoCodeChange: false
- comment:
- - addedContains:
- commentAddedCommentContains: '(recheck|reverify)'
- param:
- CREDENTIALS_ID:
- type: string
- default: "gerrit"
- GRADLE_IMAGE:
- type: string
- default: "niaquinto/gradle"
- GRADLE_CMD:
- type: string
- default: "check"
- DEFAULT_GIT_URL:
+ job_template:
+ test-pipelines:
+ name: test-{{name}}
+ jobs:
+ - name: mk-mk-pipelines
+ repo: mk/mk-pipelines
+ - name: oss-jenkins-pipelines
+ repo: oss/jenkins/pipelines
+ template:
+ discard:
+ build:
+ keep_num: 25
+ artifact:
+ keep_num: 25
+ type: workflow-scm
+ concurrent: true
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
+ credentials: "gerrit"
+ script: test-groovy-pipeline.groovy
+ trigger:
+ gerrit:
+ project:
+ "{{repo}}":
+ branches:
+ - master
+ event:
+ patchset:
+ - created:
+ excludeDrafts: false
+ excludeTrivialRebase: false
+ excludeNoCodeChange: false
+ comment:
+ - addedContains:
+ commentAddedCommentContains: '(recheck|reverify)'
+ param:
+ CREDENTIALS_ID:
type: string
- description: "Run against alternate system reclass"
- default: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- DEFAULT_GIT_REF:
+ default: "gerrit"
+ GRADLE_IMAGE:
type: string
- default: master
+ default: "niaquinto/gradle"
+ GRADLE_CMD:
+ type: string
+ default: "check"
+ DEFAULT_GIT_URL:
+ type: string
+ description: "Run against alternate system reclass"
+ default: "${_param:jenkins_gerrit_url}/{{repo}}"
+ DEFAULT_GIT_REF:
+ type: string
+ default: master
diff --git a/keystone/client/service/octavia.yml b/keystone/client/service/octavia.yml
index 4e14217..0382345 100644
--- a/keystone/client/service/octavia.yml
+++ b/keystone/client/service/octavia.yml
@@ -36,3 +36,4 @@
host: ${_param:keystone_service_host}
port: 5000
region_name: ${_param:openstack_region}
+ use_keystoneauth: true
diff --git a/kubernetes/pool/cluster.yml b/kubernetes/pool/cluster.yml
index 05aa1bc..0f961a3 100644
--- a/kubernetes/pool/cluster.yml
+++ b/kubernetes/pool/cluster.yml
@@ -18,3 +18,7 @@
engine: calico
prometheus:
enabled: true
+ docker:
+ host:
+ options:
+ iptables: false
diff --git a/kubernetes/pool/single.yml b/kubernetes/pool/single.yml
index 9be2164..00f22b8 100644
--- a/kubernetes/pool/single.yml
+++ b/kubernetes/pool/single.yml
@@ -16,3 +16,7 @@
container: false
network:
engine: calico
+ docker:
+ host:
+ options:
+ iptables: false
diff --git a/opencontrail/client/resource/k8s_api.yml b/opencontrail/client/resource/k8s_api.yml
index 79d6f0d..3c6102b 100644
--- a/opencontrail/client/resource/k8s_api.yml
+++ b/opencontrail/client/resource/k8s_api.yml
@@ -4,6 +4,6 @@
linklocal_service:
k8s_api:
lls_ip: ${_param:kubernetes_internal_api_address}
- lls_port: 443
+ lls_port: 6443
ipf_addresses: ${_param:kubernetes_control_address}
ipf_port: 443
diff --git a/opencontrail/compute/dpdk.yml b/opencontrail/compute/dpdk.yml
index b0d8e0c..049fae0 100644
--- a/opencontrail/compute/dpdk.yml
+++ b/opencontrail/compute/dpdk.yml
@@ -17,7 +17,7 @@
system:
package:
liburcu4:
- version: 0.9.1-3+tcp1
+ version: 0.9.1-3
network:
interface:
vhost0:
diff --git a/openssh/server/team/members/mkarpin.yml b/openssh/server/team/members/mkarpin.yml
new file mode 100644
index 0000000..32cc689
--- /dev/null
+++ b/openssh/server/team/members/mkarpin.yml
@@ -0,0 +1,20 @@
+parameters:
+ linux:
+ system:
+ user:
+ mkarpin:
+ enabled: true
+ name: mkarpin
+ sudo: true
+ full_name: Mykyta Karpin
+ home: /home/mkarpin
+ email: mkarpin@mirantis.com
+ openssh:
+ server:
+ enabled: true
+ user:
+ mkarpin:
+ enabled: true
+ public_keys:
+ - key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCcO+qMO4z5O75JmeoyHQKNjq72psAMO2lebEMl5MbgVs7BAOT3PChamRId3xhwX2X5R0vS1ZSgRm0XC4br2OpJ9DsBhOBbPRK/EyjAm5aTBW8eZZ69NDFam/hLJ6Xq+jZDdlBT8iK7CPxTJD+0wz1KqpIgYlUNkix5EEj2wfUAfw3j6lGiEVQ0Cpbejey9sYlUSitKcYs/EAX5byBBqkFCLL4/D77fLOIuWfDzAAStUR/wbOJnWNiIScifu4EUdcSdHra9RoQaRgo31ALq+BeYVpvqnyHTOw9t2q04sZVDN4anhUMAFh0n1CkbY/2HWpX/RYWt1bV6XtDeoCpsC5Ar nkarpin@nkarpin-pc
+ user: ${linux:system:user:mkarpin}
\ No newline at end of file
diff --git a/openssh/server/team/members/psvimbersky.yml b/openssh/server/team/members/psvimbersky.yml
new file mode 100644
index 0000000..2fc10b1
--- /dev/null
+++ b/openssh/server/team/members/psvimbersky.yml
@@ -0,0 +1,20 @@
+parameters:
+ linux:
+ system:
+ user:
+ psvimbersky:
+ enabled: true
+ name: psvimbersky
+ sudo: true
+ full_name: Pavel Svimbersky
+ home: /home/psvimbersky
+ email: psvimbersky@mirantis.com
+ openssh:
+ server:
+ enabled: true
+ user:
+ psvimbersky:
+ enabled: true
+ public_keys:
+ - key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCnsI2H2xgNFttWvGaIa7UdXtgAnlGMpin1/sBufx/bYkDMU2r0xGDjIBbUNWc4/OSKhpDyJiwxT5qiln07uFDBw0PtHUlJYHpJgS9xE6PERZPEiyQqrmbUVdqX9bIimweMH8kJIXjKgut+pc+GLUs5SyUlkjlHbKuYoYo52jAx+ldAslKK0P/aA1msjzGpoDRSvFChew7FHs9sH0GTgX865DoqCzqulNjHiGUrziBxwEAdUVjNDfxFHROm6kgdFU7ipgNQTHB7NvEI/VfZFlcuZ9IWZQhLQiw1jSxs4zAxOYJWrELPUqhPYE5yB5Y9j8iP4b0xIKhwoWkxQxdYuaLB
+ user: ${linux:system:user:psvimbersky}
diff --git a/openssh/server/team/members/rsatek.yml b/openssh/server/team/members/rsatek.yml
index 7968ee7..7b99a7c 100644
--- a/openssh/server/team/members/rsatek.yml
+++ b/openssh/server/team/members/rsatek.yml
@@ -17,4 +17,4 @@
enabled: true
public_keys:
- key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC63DK9CdBB2WNHcbgzReBlcVY7YDvVKBJI4P5O8N3lg/T+01ROL99/6k8drFYFJjdeXJaMkCg7UM17yIyouDijBHB9G9AM7jkefBZrGDF7QaWJeGvpxB9W3BQnhotCeuP363CNBup+oUfPwXVnkE5iGuLJAGS8SENpVZpZsF0gXAUuVtvl5D8h1wIqQtFveJSV6qJkjVIudZYJfOMDBfiyS5nEwKmboP5jFtrm3e64HpxDhm2J5irNtzw3hOO8cq2ssnZ0ZAHFf2FfnPAzZ2L0Z1MpZcEPdzBonsdO8/cfxdbov9hW4iLmpJF80KxgPyHU0R304uyfnsfkC164l0Rx rsatek@Rudolfs-MacBook-Pro.local
- user: ${linux:system:user:rsatek}
+ user: ${linux:system:user:rsatek}
diff --git a/openssh/server/team/oscore_devops.yml b/openssh/server/team/oscore_devops.yml
index 2ba780a..0ee5dde 100644
--- a/openssh/server/team/oscore_devops.yml
+++ b/openssh/server/team/oscore_devops.yml
@@ -3,3 +3,4 @@
- system.openssh.server.team.members.vsaienko
- system.openssh.server.team.members.vnogin
- system.openssh.server.team.members.ashestakov
+- system.openssh.server.team.members.mkarpin
diff --git a/openssh/server/team/tcpcloud.yml b/openssh/server/team/tcpcloud.yml
index 6b5205b..ac6e107 100644
--- a/openssh/server/team/tcpcloud.yml
+++ b/openssh/server/team/tcpcloud.yml
@@ -19,6 +19,7 @@
- system.openssh.server.team.members.smatov
- system.openssh.server.team.members.tkukral
- system.openssh.server.team.members.vmikes
+- system.openssh.server.team.members.psvimbersky
parameters:
linux:
diff --git a/sensu/server/cluster.yml b/sensu/server/cluster.yml
index 28eb78b..5c8fe85 100644
--- a/sensu/server/cluster.yml
+++ b/sensu/server/cluster.yml
@@ -11,6 +11,15 @@
rabbitmq_cold_password: password
rabbitmq_monitor_password: password
sensu_message_queue_host: ${_param:cluster_vip_address}
+ cluster_redis_port: 6379
+ sensu:
+ server:
+ bind:
+ address: ${_param:single_address}
+ database:
+ engine: redis
+ host: ${_param:cluster_vip_address}
+ port: ${_param:cluster_redis_port}
rabbitmq:
cluster:
name: 'monitoring'