diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-05-11 17:16:52 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-05-11 17:18:15 +0200 |
commit | 35b092c2288abd49aa66515bd9c9e7c876d5b97f (patch) | |
tree | a310379402a688df5507f08ed580cf60ef61f084 | |
parent | 4b29397af50068f381324bb7b48875850ecfb6c3 (diff) |
Start using foreman scripts from OPNFV repo
JIRA: OCTO-47
Change-Id: Idf255058df3613dc9510088d992c699fc39d29fc
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-rw-r--r-- | jjb/genesis/genesis-foreman.yml | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/jjb/genesis/genesis-foreman.yml b/jjb/genesis/genesis-foreman.yml index 7fbcc263c..b87806e4d 100644 --- a/jjb/genesis/genesis-foreman.yml +++ b/jjb/genesis/genesis-foreman.yml @@ -213,13 +213,11 @@ artifactNumToKeep: -1 parameters: - - string: - name: BUILD_DIRECTORY - default: $WORKSPACE/build_output + parameters: - string: name: GIT_BASE - default: https://github.com/trozet/bgs_vagrant.git - description: "This is a temporary location to clone the needed scripts. Will be replaced with OPNFV Git URL." + default: https://gerrit.opnfv.org/gerrit/genesis + description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW." - string: name: GERRIT_BRANCH default: origin/master @@ -228,6 +226,14 @@ name: GERRIT_REFSPEC default: refs/heads/master description: "Refspec to retrieve." + - string: + name: GS_URL + default: 'artifacts.opnfv.org/genesis/fuel' + description: "URL to Google Storage." + - string: + name: BUILD_DIRECTORY + default: $WORKSPACE/build_output + description: "Directory where the build artifact will be located upon the completion of the build." scm: - git: @@ -237,10 +243,6 @@ - $GERRIT_BRANCH refspec: $GERRIT_REFSPEC - wrappers: - - ssh-agent-credentials: - user: '{ssh-credentials}' - builders: - 'foreman-deploy' @@ -400,16 +402,8 @@ cd $WORKSPACE - # fix PATH - export PATH=/usr/sbin:$PATH - echo $PATH - - # messy workaround - git clone https://gist.github.com/4f2eb87d8c9937ee19f0.git lf_settings - ls -al $WORKSPACE/lf_settings - # cleanup first - sudo $WORKSPACE/clean.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml + sudo $WORKSPACE/foreman/ci/clean.sh -base_config $WORKSPACE/foreman/ci/inventory/lf_pod2_ksgen_settings.yml # and then initiate deployment - sudo $WORKSPACE/deploy.sh -base_config $WORKSPACE/lf_settings/lf_pod2_ksgen_settings.yml + sudo $WORKSPACE/foreman/ci/deploy.sh -base_config $WORKSPACE/foreman/ci/inventory/lf_pod2_ksgen_settings.yml |