+++ /dev/null
-[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
--- /dev/null
+---
+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 }}
--- /dev/null
+# 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
--- /dev/null
+---
+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]
--- /dev/null
+---
+extends: default
+
+rules:
+ empty-lines:
+ max-end: 1
+ line-length:
+ max: 120
+ comments:
+ # prettier forces 1 space comment separator
+ min-spaces-from-content: 1
+++ /dev/null
-extends: default
-
-rules:
- empty-lines:
- max-end: 1
- line-length:
- max: 120
-Subproject commit a47a2c5d2839a34e22c67e9e1e6578efd5540ae2
+Subproject commit 5d336574e77fb349ace15356ef8ffb816d463544
-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
-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
-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
-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
-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
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
+++ /dev/null
-IMAGE_NAME=ZZCI - Ubuntu 16.04 - builder - x86_64 - 20181004-095408.110
-HARDWARE_ID=v2-highcpu-1
-VOLUME_SIZE=20
+++ /dev/null
-IMAGE_NAME=ZZCI - Ubuntu 16.04 - docker - x86_64 - 20190110-225527.869
-HARDWARE_ID=v2-highcpu-8
-VOLUME_SIZE=50
--- /dev/null
+IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - arm64 - 20220919-212209.052
+HARDWARE_ID=v3-standard-8
+LABELS=aarch64_build aarch64_dev
+++ /dev/null
-IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - x86_64 - 20190706-130528.514
-HARDWARE_ID=v2-standard-4
-VOLUME_SIZE=20
--- /dev/null
+IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - x86_64 - 20220916-133907.553
+HARDWARE_ID=v3-starter-8
+++ /dev/null
-IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - arm64 - 20190804-002512.777
-HARDWARE_ID=v2-standard-4
-VOLUME_SIZE=20
+++ /dev/null
-IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - arm64 - 20190804-002512.777
-HARDWARE_ID=v2-highcpu-8
-VOLUME_SIZE=20
-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
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
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
--- /dev/null
+---
+name: "ansible.cfg"
+comment: "ansible config file"
--- /dev/null
+[defaults]
+remote_tmp = ~/.ansible/tmp
--- /dev/null
+---
+name: "clouds-yaml"
+comment: "Cloud auth credentials file"
--- /dev/null
+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
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "clouds-yaml"
+ tokenKey: "CLOUDS"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "clouds-yaml"
+ tokenKey: "CLOUDS"
--- /dev/null
+---
+name: "dockerconfig"
+comment: "Docker config for akrainoci"
--- /dev/null
+{
+ "auths": {
+ "https://index.docker.io/v1/": {
+ "auth": "$AUTH"
+ }
+ }
+}
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "docker-auth-token"
+ tokenKey: "AUTH"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "docker-auth-token"
+ tokenKey: "AUTH"
--- /dev/null
+---
+name: "JJB Config"
+comment: "JJB Config for Jenkins Job Builder"
--- /dev/null
+[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
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "dummy"
+ tokenKey: "JOBBUILDER_PROD"
+ - credentialsId: "jobbuilder-sandbox"
+ tokenKey: "JOBBUILDER_SANDBOX"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "jobbuilder-prod"
+ tokenKey: "JOBBUILDER_PROD"
+ - credentialsId: "jobbuilder-sandbox"
+ tokenKey: "JOBBUILDER_SANDBOX"
--- /dev/null
+---
+name: "kni-aws-access-key-id"
+comment: "kni-aws-access-key-id"
--- /dev/null
+$KNI_AWS_USR
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "kni-aws-access"
+ tokenKey: "KNI_AWS"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "kni-aws-access"
+ tokenKey: "KNI_AWS"
--- /dev/null
+---
+name: "kni-aws-secret-access-key"
+comment: "kni-aws-secret-access-key"
--- /dev/null
+$KNI_AWS_PSW
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "kni-aws-access"
+ tokenKey: "KNI_AWS"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "kni-aws-access"
+ tokenKey: "KNI_AWS"
--- /dev/null
+---
+name: "kni-coreos-pull-secret"
+comment: "kni-coreos-pull-secret"
--- /dev/null
+{
+ "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"
+ }
+ }
+}
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "kni-coreos-creds"
+ tokenKey: "KNI_CLOUD"
+ - credentialsId: "kni-coreos-redhat-creds"
+ tokenKey: "KNI_REDHAT"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "kni-coreos-creds"
+ tokenKey: "KNI_CLOUD"
+ - credentialsId: "kni-coreos-redhat-creds"
+ tokenKey: "KNI_REDHAT"
--- /dev/null
+---
+name: "kni-ssh-pub-key"
+comment: "kni-ssh-pub-key"
--- /dev/null
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7CtJ12mLYsMBTO0JtQOWnTwkbvcFyial1X2gLbgUVThIIWJlRZGnAJTXNPtv+o5tnDW2/scidegqQbSWAqaLHTmkFfuOBCFdN9hLZxwncKZGaD44o0xhY3rie/WuVubNBy+gsOw8HLlymqoDqp4XVEYBFuQWQjH0NDg/UhWXiVNvcyQ+ANCdlM2fBmcTVo+BagvDooXIsdkdu3utMTgCldlFPBQgAs+g684y7zlXHwEC+j9KhF5ecSkRvcL8AM5ckBdWxBWr4yk53HYlET0VaFVmXEeozwIy7BBBCkY644cNhLXMiHNzvegUQh/6P9ppaGNh3O86U3ypFryVtEjDL
--- /dev/null
+---
+name: "lftoolsini"
+comment: "LFTOOLS config file"
--- /dev/null
+[nexus.akraino.org]
+username=$JENKINS_RELEASE_USR
+password=$JENKINS_RELEASE_PSW
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "dummy"
+ tokenKey: "JENKINS_RELEASE"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "jenkins-release"
+ tokenKey: "JENKINS_RELEASE"
--- /dev/null
+---
+name: "npmrc"
+comment: "npmrc config file"
--- /dev/null
+---
+name: "packer-cloud-env"
+comment: "Packer cloud environmnet config"
--- /dev/null
+{
+ "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": ""
+}
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "packer-cloud-credentials"
+ tokenKey: "PACKER_CLOUD"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "packer-cloud-credentials"
+ tokenKey: "PACKER_CLOUD"
--- /dev/null
+---
+name: "pipconf"
+comment: "Pip config file"
--- /dev/null
+---
+name: "SIGNING_PUBKEY"
+comment: "SIGNING_PUBKEY"
--- /dev/null
+-----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-----
--- /dev/null
+---
+name: "sigul-config"
+comment: "sigul-config"
--- /dev/null
+[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
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "sigul-config-credentials"
+ tokenKey: "SIGUL_CONFIG"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "sigul-config-credentials"
+ tokenKey: "SIGUL_CONFIG"
--- /dev/null
+---
+name: "sigul-password"
+comment: "sigul-password"
--- /dev/null
+$SIGUL_PASS
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "sigul-pass"
+ tokenKey: "SIGUL_PASS"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "sigul-pass"
+ tokenKey: "SIGUL_PASS"
--- /dev/null
+---
+name: "sigul-pki"
+comment: "sigul-pki"
--- /dev/null
+$SIGUL_PKI
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "sigul-pki"
+ tokenKey: "SIGUL_PKI"
--- /dev/null
+---
+customizedCredentialMappings:
+ - credentialsId: "sigul-pki"
+ tokenKey: "SIGUL_PKI"
--- /dev/null
+---
+name: "global-settings"
+comment: "Maven Global Settings file"
--- /dev/null
+<?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>
--- /dev/null
+---
+name: "5g-mec-cloud-gaming-settings"
+comment: "5g-mec-cloud-gaming-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "addon-onap-settings"
+comment: "addon-onap-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "addon-snappy-settings"
+comment: "addon-snappy-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "airshipinabottle_deploy-settings"
+comment: "airshipinabottle_deploy-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "apigateway-settings"
+comment: "apigateway-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "camunda_workflow-settings"
+comment: "camunda_workflow-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "images-snapshots-settings"
+comment: "images-snapshots-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+serverCredentialMappings:
+ - serverId: "images-snapshots"
+ credentialsId: images-snapshots
--- /dev/null
+---
+name: "jenkins-log-archives-settings"
+comment: "jenkins-log-archives-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+---
+serverCredentialMappings:
+ - serverId: "logs"
+ credentialsId: "logs"
--- /dev/null
+---
+serverCredentialMappings:
+ - serverId: "logs"
+ credentialsId: "logs"
--- /dev/null
+---
+name: "kni-settings"
+comment: "kni-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+serverCredentialMappings:
+ - serverId: "releases"
+ credentialsId: &cred "kni"
+ - serverId: "snapshots"
+ credentialsId: *cred
+ - serverId: "staging"
+ credentialsId: *cred
+ - serverId: "nexus.akraino.org"
+ credentialsId: *cred
--- /dev/null
+---
+name: "portal_user_interface-settings"
+comment: "portal_user_interface-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "postgres_db_schema-settings"
+comment: "postgres_db_schema-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "redfish-settings"
+comment: "redfish-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "regional_controller-settings"
+comment: "regional_controller-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "sample_vnf-settings"
+comment: "sample_vnf-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "ta-settings"
+comment: "ta-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "test_automation-settings"
+comment: "test_automation-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "validation-settings"
+comment: "validation-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "yaml_builds-settings"
+comment: "yaml_builds-settings"
--- /dev/null
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
--- /dev/null
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
--- /dev/null
+---
+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
--- /dev/null
+---
+name: "jenkins-init-script"
+comment: "jenkins-init-script"
--- /dev/null
+#!/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
--- /dev/null
+<?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>
--- /dev/null
+---
+serverCredentialMappings:
+ - serverId: "dummy"
+ credentialsId: "dummy"
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- project:
- name: aiedge-info
- project-name: aiedge
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: aiedge
- branch: master
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- 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
# 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
# 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 * * *"
---
- 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
# 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
# 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
+---
- 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}"
#
- 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
# 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"
---
- 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"
---
+# 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
---
- 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}"
# 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"
---
- 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"
- 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"
---
+############
+# 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"
+++ /dev/null
----
-#
-# 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'
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- project:
- name: chomp-project-view
- project-name: chomp
- views:
- - project-view
+++ /dev/null
----
-- project:
- name: chomp-info
- project-name: chomp
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: chomp
- branch: master
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
templates: builder
platforms:
- centos-7
- - ubuntu-16.04
- - ubuntu-18.04
+ - centos-8
- project:
name: packer-docker-jobs
templates: docker
platforms:
- - ubuntu-16.04
- ubuntu-18.04
- ubuntu-18.04-arm64
platforms:
- ubuntu-18.04
- templates: helm
\ No newline at end of file
+ templates: helm
+++ /dev/null
----
-- 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
---
- 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
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
- build-button
- policy-violations
recurse: false
- regex: '.*-clm-.*'
+ regex: ".*-clm-.*"
+++ /dev/null
----
-- 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
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
+++ /dev/null
----
-- project:
- name: eliot-info
- project-name: eliot
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: eliot
- branch: master
+++ /dev/null
----
-- project:
- name: evp-project-view
- project-name: evp
- views:
- - project-view
+++ /dev/null
----
-- project:
- name: evp-info
- project-name: evp
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: evp
- branch: master
+++ /dev/null
----
-#
-## 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
+++ /dev/null
----
-- project:
- name: icn-info
- project-name: icn
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: icn
- branch: master
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
---
- 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
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
+++ /dev/null
----
-- project:
- name: iec-info
- project-name: iec
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: iec
- branch: master
+++ /dev/null
----
-- project:
- name: kni-info
- project-name: kni
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: kni
- branch: master
---
- 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
- 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- project:
- name: nc-info
- project-name: nc
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: nc
- branch: master
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- project:
- name: nc-project-view
- project-name: nc
- views:
- - project-view
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- project:
- name: portal-info
- project-name: portal
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: portal
- branch: master
+++ /dev/null
----
-- project:
- name: portal-project-view
- project-name: portal
- views:
- - project-view
+++ /dev/null
----
-- 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
+++ /dev/null
----
-#
-# 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'
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-#
-# 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'
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- project:
- name: rec-info
- project-name: rec
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: rec
- branch: master
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- project:
- name: redfish-info
- project-name: redfish
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: redfish
- branch: master
+++ /dev/null
----
-#
-# 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'
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-#
-# 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'
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-- 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
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- project:
- name: serverless-info
- project-name: serverless
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: serverless
- branch: master
+++ /dev/null
-#!/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
--- /dev/null
+#!/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
--- /dev/null
+#!/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
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.*
+++ /dev/null
----
-- project:
- name: starlingx-info
- project-name: starlingx
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: starlingx
- branch: master
+++ /dev/null
----
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+---
- 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:
project: ta/build-tools
project-name: ta-build-tools-arm64
project-type:
- - verify
+ - verify
build-node: aarch64_build
stream: master
jobs:
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+---
- 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:
project: ta/caas-kubernetes
project-name: ta-caas-kubernetes-arm64
project-type:
- - merge
- - verify
+ - merge
+ - verify
build-node: aarch64_build
arch: arm64
stream: master
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
----
-- project:
- name: ta-info
- project-name: ta
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: ta
- branch: master
+---
- 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:
project: ta/infra-ansible
project-name: ta-infra-ansible-arm64
project-type:
- - merge
- - verify
+ - merge
+ - verify
build-node: aarch64_build
arch: arm64
stream: master
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+---
- 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:
project: ta/manifest
project-name: ta-manifest-arm64
project-type:
- - verify
+ - verify
build-node: aarch64_build
stream: master
jobs:
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
----
-- 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'
-
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
----
-- project:
- name: tc-info
- project-name: tc
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: tc
- branch: master
+++ /dev/null
----
-- project:
- name: tc-project-view
- project-name: tc
- views:
- - project-view
+++ /dev/null
----
-- 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
+++ /dev/null
----
-#
-# 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
+++ /dev/null
----
-- project:
- name: umec-info
- project-name: umec
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: umec
- branch: master
+++ /dev/null
----
-- project:
- name: umec-project-view
- project-name: umec
- views:
- - project-view
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
- rec
stream:
- master:
- branch: '{stream}'
- gs-pathname: ''
+ branch: "{stream}"
+ gs-pathname: ""
disabled: false
jobs:
- bluval-run-daily-tests
+++ /dev/null
----
-- project:
- name: validation-info
- project-name: validation
- build-node: centos7-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
- project: validation
- branch: master
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
+++ /dev/null
-- 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
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
- akraino-project-stream-stage-config
views:
- project-view
- cron: 'H H * * 0' # push fresh snapshot weekly
+ cron: "@weekly" # push fresh snapshot weekly
+++ /dev/null
----
-- 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
+++ /dev/null
----
-#
-# 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
-Subproject commit 57648e1600c3c2457900ad4872f26d8f5cd679c7
+Subproject commit 15aba27a45f98edb33890daa3712c6a4371b2947
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."
"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": "",
+++ /dev/null
-{
- "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"
-}
[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"