SDFAB-1018 Rename tost-onos repo and jenkins jobs to sdfabric-onos

Change-Id: I8d72cae34f3853c7b24d0c250d2e6e0c33d6c86e
diff --git a/jjb/pipeline/tost-onos-publish.groovy b/jjb/pipeline/sdfabric-onos-publish.groovy
similarity index 99%
rename from jjb/pipeline/tost-onos-publish.groovy
rename to jjb/pipeline/sdfabric-onos-publish.groovy
index 7ffee6a..b8be931 100644
--- a/jjb/pipeline/tost-onos-publish.groovy
+++ b/jjb/pipeline/sdfabric-onos-publish.groovy
@@ -14,7 +14,7 @@
 
 def dockerRegistry = params.dockerRegistry ? "${params.dockerRegistry}/" : ""
 
-/* tost-onos-publish pipeline.*/
+/* sdfabric-onos-publish pipeline.*/
 pipeline {
 
   /* executor is determined by JJB */
diff --git a/jjb/repos/tost-onos.yaml b/jjb/repos/sdfabric-onos.yaml
similarity index 86%
rename from jjb/repos/tost-onos.yaml
rename to jjb/repos/sdfabric-onos.yaml
index 79ea07f..3dcdbab 100644
--- a/jjb/repos/tost-onos.yaml
+++ b/jjb/repos/sdfabric-onos.yaml
@@ -1,22 +1,22 @@
 ---
-# jobs for 'tost-onos' repo
+# jobs for 'sdfabric-onos' repo
 
 - project:
-    name: tost-onos
+    name: sdfabric-onos
     project: '{name}'
 
     jobs:
-      - 'verify-tost-onos-jobs':
+      - 'verify-sdfabric-onos-jobs':
           branch-regexp: '{supported-branches-regexp}'
 
-      - 'publish-tost-onos-jobs':
+      - 'publish-sdfabric-onos-jobs':
           branch-regexp: '{supported-branches-regexp}'
 
-      - 'release-tost-onos-jobs':
+      - 'release-sdfabric-onos-jobs':
           branch-regexp: '{supported-branches-regexp}'
 
 - job-group:
-    name: 'verify-tost-onos-jobs'
+    name: 'verify-sdfabric-onos-jobs'
 
     jobs:
       - 'verify-licensed'
@@ -24,7 +24,7 @@
       # abandoned the SemVer format
       - 'tag-check':
           disable-job: true
-          dependency-jobs: 'license-check_tost-onos'
+          dependency-jobs: 'license-check_sdfabric-onos'
       # Job based on the SemVer DOCKER_TAG
       - 'private-make-test':
           disable-job: true
@@ -51,7 +51,7 @@
           all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$'
 
 - job-group:
-    name: 'publish-tost-onos-jobs'
+    name: 'publish-sdfabric-onos-jobs'
 
     jobs:
       # Tag check is currently disabled because we have temporarily
@@ -64,10 +64,10 @@
           docker-repo: 'opennetworking/sdfabric-onos'
           maintainers: 'charles@opennetworking.org, pier@opennetworking.org'
           build-timeout: 30
-          dependency-jobs: 'version-tag_tost-onos'
+          dependency-jobs: 'version-tag_sdfabric-onos'
       # Post-merge and nightly triggered - on merge build only for changes
       # in files different from Makefile.vars.stable
-      - 'tost-onos-docker-publish':
+      - 'sdfabric-onos-docker-publish':
           target: 'master'
           name-extension: '-{target}'
           extraEnvironmentVars: 'DOCKER_TAG={target}'
@@ -77,7 +77,7 @@
           buildDate: ''
           all-files-regexp: '^((?!Makefile.vars.stable|\/COMMIT_MSG).)*$'
       # Weekly triggered
-      - 'weekly-tost-onos-docker-publish':
+      - 'weekly-sdfabric-onos-docker-publish':
           target: 'master'
           name-extension: '-{target}'
           extraEnvironmentVars: 'DOCKER_TAG={target}'
@@ -87,7 +87,7 @@
           timed: 'H 0 * * 5'
       # Post-merge only - on merge build only for changes in files
       # different from Makefile.vars.master
-      - 'tost-onos-docker-publish':
+      - 'sdfabric-onos-docker-publish':
           target: 'stable'
           name-extension: '-{target}'
           extraEnvironmentVars: 'DOCKER_TAG={target}'
@@ -98,7 +98,7 @@
           all-files-regexp: '^((?!Makefile.vars.master|\/COMMIT_MSG).)*$'
 
 - job-group:
-    name: 'release-tost-onos-jobs'
+    name: 'release-sdfabric-onos-jobs'
     # To be used only with trellis-t3 and trellis-control
     jobs:
       - 'artifact-release'
diff --git a/jjb/templates/tost-onos-jobs.yaml b/jjb/templates/sdfabric-onos-jobs.yaml
similarity index 88%
rename from jjb/templates/tost-onos-jobs.yaml
rename to jjb/templates/sdfabric-onos-jobs.yaml
index 525952a..e242a0c 100644
--- a/jjb/templates/tost-onos-jobs.yaml
+++ b/jjb/templates/sdfabric-onos-jobs.yaml
@@ -1,11 +1,11 @@
-# tost-onos docker image building + aether publishing tasks
+# sdfabric-onos docker image building + aether publishing tasks
 
 - job-template:
-    id: tost-onos-docker-publish
-    name: 'tost-onos-docker-publish{name-extension}'
+    id: sdfabric-onos-docker-publish
+    name: 'sdfabric-onos-docker-publish{name-extension}'
     disabled: '{disable-job}'
     description: |
-      Created by {id} job-template from ci-management/jjb/tost-onos-jobs.yaml, script pipeline/tost-onos-publish.groovy<br/>
+      Created by {id} job-template from ci-management/jjb/sdfabric-onos-jobs.yaml, script pipeline/sdfabric-onos-publish.groovy<br/>
       Runs docker-build with the following env. variables - '{extraEnvironmentVars}' and then publish the image on {docker-registry}/{docker-repo}. <br/>
       Triggered also at {timed}. <br/>
 
@@ -52,7 +52,7 @@
 
       - string:
           name: GERRIT_PROJECT
-          default: 'tost-onos'
+          default: 'sdfabric-onos'
           description: 'Name of the project in Gerrit'
 
       - string:
@@ -102,14 +102,14 @@
     sandbox: true
     buildDate: 'true'
 
-    dsl: !include-raw-escape: ../pipeline/tost-onos-publish.groovy
+    dsl: !include-raw-escape: ../pipeline/sdfabric-onos-publish.groovy
 
 - job-template:
-    id: weekly-tost-onos-docker-publish
-    name: 'weekly-tost-onos-docker-publish{name-extension}'
+    id: weekly-sdfabric-onos-docker-publish
+    name: 'weekly-sdfabric-onos-docker-publish{name-extension}'
     disabled: '{disable-job}'
     description: |
-      Created by {id} job-template from ci-management/jjb/tost-onos-jobs.yaml, script pipeline/tost-onos-publish.groovy<br/>
+      Created by {id} job-template from ci-management/jjb/sdfabric-onos-jobs.yaml, script pipeline/sdfabric-onos-publish.groovy<br/>
       Runs {timed} docker-build with the following env. variables - '{extraEnvironmentVars}' and then publish the image on {docker-registry}/{docker-repo}. <br/>
 
     triggers:
@@ -149,7 +149,7 @@
 
       - string:
           name: GERRIT_PROJECT
-          default: 'tost-onos'
+          default: 'sdfabric-onos'
           description: 'Name of the project in Gerrit'
 
       - string:
@@ -199,4 +199,4 @@
     sandbox: true
     buildDate: 'true'
 
-    dsl: !include-raw-escape: ../pipeline/tost-onos-publish.groovy
+    dsl: !include-raw-escape: ../pipeline/sdfabric-onos-publish.groovy