- offline:
disabled: false
execution-mode: offline-deployment
- pdf: 'file:///opt/engine/offline/git/hwconfig/pods'
- idf: 'file:///opt/engine/offline/git/hwconfig/pods'
distro:
- ubuntu1804
name: DEPLOY_SCENARIO
default: 'k8-calico-nofeature'
description: 'Scenario to deploy and test'
- - string:
- name: PDF
- default: '{pdf}/${{NODE_NAME}}-pdf.yml'
- description: 'PDF file to use for deployment'
- - string:
- name: IDF
- default: '{idf}/${{NODE_NAME}}-idf.yml'
- description: 'IDF file to use for deployment'
- string:
name: VERBOSITY
default: 'true'
description: 'Verbosity setting for the engine - true or false - default is false'
+ - string:
+ name: ARTIFACTS_TO_UPLOAD
+ default: "k8s-installer-ubuntu1804.bsx offline-package.tgz"
+ description: 'Artifacts to upload'
+ - string:
+ name: ARTIFACT_TO_DOWNLOAD
+ default: "k8s-installer-ubuntu1804.bsx"
+ description: 'Artifact to download'
- string:
name: NORDIX_ARM_PUBLIC_IP
default: '91.106.198.25'
default: 'nordix-kubernetes'
description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
- string:
- name: NORDIX_ARTIFACT_URL
- default: "$NORDIX_ARM_HTTPS_URL/$NORDIX_ARM_REPO/installer/oss/change/$GERRIT_CHANGE_NUMBER/k8s-installer-ubuntu1804.bsx"
- description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
+ name: CI_LOOP
+ default: 'periodic'
+ description: 'CI loop type'
- label:
name: SLAVE_LABEL
default: 'engine-build-ubuntu1804'
wipe-workspace: true
builders:
- - 'engine-wait-pkg-mgr-macro'
- - 'engine-generate-ssh-keypair-macro'
- - 'engine-generate-job-metadata-macro'
+ - 'wait-pkg-mgr-macro'
+ - 'generate-ssh-keypair-macro'
+ - 'generate-job-metadata-macro'
- multijob:
- name: packaging
+ name: package
condition: SUCCESSFUL
execution-type: PARALLEL
projects:
current-parameters: true
git-revision: true
node-parameters: true
- property-file: "$WORKSPACE/job.properties"
+ property-file: "$WORKSPACE/build.properties"
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
current-parameters: false
git-revision: false
node-parameters: false
- property-file: "$WORKSPACE/job.properties"
+ property-file: "$WORKSPACE/build.properties"
+ predefined-parameters: |
+ NORDIX_ARM_PUBLIC_IP=$NORDIX_ARM_PUBLIC_IP
+ ARTIFACT_TO_DOWNLOAD=$ARTIFACT_TO_DOWNLOAD
+ VERBOSITY=$VERBOSITY
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
current-parameters: false
git-revision: false
node-parameters: false
- property-file: "$WORKSPACE/job.properties"
+ property-file: "$WORKSPACE/build.properties"
+ predefined-parameters: |
+ NORDIX_ARM_PUBLIC_IP=$NORDIX_ARM_PUBLIC_IP
+ ARTIFACT_TO_DOWNLOAD=$ARTIFACT_TO_DOWNLOAD
+ VERBOSITY=$VERBOSITY
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
condition: SUCCESSFUL
execution-type: PARALLEL
projects:
- - name: 'kubernetes-periodic-promote-package-{distro}'
+ - name: 'kubernetes-periodic-promote-{distro}'
current-parameters: true
git-revision: true
node-parameters: true
- property-file: "$WORKSPACE/job.properties"
+ property-file: "$WORKSPACE/build.properties"
kill-phase-on: FAILURE
abort-all-job: true
#!/bin/bash
env
-# - 'engine-wait-pkg-mgr-macro'
-# - 'engine-generate-ssh-keypair-macro'
-# - 'engine-packaging-macro'
-# - 'engine-upload-artifact-macro'
+# - 'wait-pkg-mgr-macro'
+# - 'generate-ssh-keypair-macro'
+# - 'package-macro'
+# - 'upload-artifact-macro'