diff options
author | Kaspars Skels <kaspars.skels@att.com> | 2019-09-19 15:09:40 -0500 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-09-20 21:27:38 +0200 |
commit | 9ee2a90a37708254f9089c0d809f1e11164da8fd (patch) | |
tree | 66fd0f358ae0115622684636abc0fee08967dc26 | |
parent | 6ccbd752d0adff4f62d22586b237857fe86fc58a (diff) |
Add JJB for Airship installer
This adds builder and job for simple Airship installer
Change-Id: I0b911d6aa62df14fd18dc9f45ed6d80cbf3dc2ac
Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
-rw-r--r-- | jjb/airship/airship.yaml | 58 |
1 files changed, 51 insertions, 7 deletions
diff --git a/jjb/airship/airship.yaml b/jjb/airship/airship.yaml index d577b20b9..8c1210b39 100644 --- a/jjb/airship/airship.yaml +++ b/jjb/airship/airship.yaml @@ -19,13 +19,6 @@ name: slave default: '{slave}' -- parameter: - name: airship-branch - parameters: - - string: - name: branch - default: '{branch}' - - airship-containers: &airship-containers name: 'airship-containers' repo: '{repo}' @@ -99,6 +92,50 @@ fi docker rmi $image || true +- builder: + name: airship-deploy + builders: + - shell: | + set +x + tools/deploy deploy_site + +- scm: + name: airship-scm + scm: + - git: + url: https://gerrit.opnfv.org/gerrit/airship + refspec: '+refs/changes/*:refs/changes/*' + branches: + - '{ref}' + +- parameter: + name: airship-branch + parameters: + - string: + name: branch + default: '{branch}' + +- job-template: + name: 'airship-deploy-{tag}' + parameters: + - airship-slave: + slave: '{slave}' + - airship-branch: + branch: '{branch}' + scm: + - airship-scm: + ref: $branch + builders: + - airship-deploy + +- project: + name: 'airship-deploy' + tag: + - latest: + branch: master + slave: intel-pod17 + jobs: + - 'airship-deploy-{tag}' - job-template: name: 'airship-{repo}-{container}-{tag}-pull' @@ -281,6 +318,8 @@ parameters: - airship-slave: slave: '{slave}' + - airship-branch: + branch: 'master' properties: - build-blocker: use-build-blocker: true @@ -289,6 +328,11 @@ - '^airship-{tag}-(daily|check|gate)$' builders: - multijob: + name: deploy + projects: + - name: 'airship-deploy-latest' + <<: *airship-jobs + - multijob: name: remove former images projects: - name: 'airship-opnfv-functest-healthcheck-{tag}-rmi' |