Move all *.sh and *.pp files to scripts directories

Change-Id: I15bd9e9da742ec3f99574316fa0ec82c2608f0ec
This commit is contained in:
Sergey Kraynev 2016-07-21 11:03:48 +03:00
parent 8fa3d4a4f7
commit 0812b03d57
8 changed files with 5 additions and 5 deletions

View File

@ -212,7 +212,7 @@ Methods:
- $linux: new(conf:Linux)
- $resource: new(sys:Resources)
- $script: $resource.string('create_gerrit_labels.sh')
- $script: $resource.string('scripts/create_gerrit_labels.sh')
- $linux.runCommand($.instance.agent, $script)
- $._environment.reporter.report($this, 'Label "Verified" is successfully created.')

View File

@ -94,7 +94,7 @@ Methods:
"%USERNAME%": $.jenkins.ldap.ldapRootUser
"%PASSWORD%": $.jenkins.ldap.ldapRootPass
"%JENKINS_HOST%": $jenkinsHost
- $script: $resource.string('get_api_token.sh').replace($replacements)
- $script: $resource.string('scripts/get_api_token.sh').replace($replacements)
- $apiKey: $linux.runCommand($.instance.agent, $script).stdout
- $credentialsId: $.jenkins.configureCredentials()

View File

@ -97,7 +97,7 @@ Methods:
Body:
- $resources: new(sys:Resources)
- $linux: new(conf:Linux)
- $script: $resources.string('switch_to_local_project_config.sh')
- $script: $resources.string('scripts/switch_to_local_project_config.sh')
- $._environment.reporter.report($this, '[Zuul] Switching to project-config from installed Gerrit...')
- $projectConfigURL: format(
'ssh://{0}@{1}:29418/open-paas/project-config',
@ -111,11 +111,11 @@ Methods:
Body:
- $resources: new(sys:Resources)
- $linux: new(conf:Linux)
- $script: $resources.string('update_layout.sh')
- $script: $resources.string('scripts/update_layout.sh')
- $._environment.reporter.report($this, '[Zuul] Creating autoupdating layout.yaml file...')
- $linux.putFile($.instance.agent, $script, '/usr/local/bin/update_layout.sh')
- $manifest: $resources.string('update_layout.pp')
- $manifest: $resources.string('scripts/update_layout.pp')
- $this.instance.applyManifest($manifest, 60)
destroy: