Skip to content

Commit

Permalink
fixes, and uncommented code
Browse files Browse the repository at this point in the history
  • Loading branch information
ahocking committed Aug 11, 2017
1 parent 1a68298 commit 38a79af
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
11 changes: 8 additions & 3 deletions pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,26 @@ resources:
type: pivnet
source:
api_token: {{pivnet_token}}
product_slug: stemcells-windows-server
product_slug: stemcells-windows-server-schwab
product_version: 1079\..*

- name: stemcell-pipeline
type: git
source:
uri: {{stemcell_pipeline_git_uri}}
branch: master
private_key: {{git_private_key}}
username: {{git_username}}
password: {{git_password}}
# private_key: {{git_private_key}}

- name: pcf-pipelines
type: git
source:
uri: {{pcf_pipelines_git_uri}}
branch: master
private_key: {{git_private_key}}
username: {{git_username}}
password: {{git_password}}
# private_key: {{git_private_key}}

- name: schedule
type: time
Expand Down Expand Up @@ -87,6 +91,7 @@ jobs:
passed:
- regulator
trigger: true
- get: stemcell-pipeline
- get: stemcell-v3421
resource: r-stemcell-v3421
params:
Expand Down
12 changes: 6 additions & 6 deletions tasks/upload-stemcells/task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ function main() {

for stemcell in ${cwd}/stemcells/*.tgz; do
printf "Uploading %s to %s ...\n" "${stemcell}" "${OPSMAN_URI}"
# om-linux --target "https://${OPSMAN_URI}" \
# --skip-ssl-validation \
# --username "${OPSMAN_USERNAME}" \
# --password "${OPSMAN_PASSWORD}" \
# upload-stemcell \
# --stemcell "${stemcell}"
om-linux --target "https://${OPSMAN_URI}" \
--skip-ssl-validation \
--username "${OPSMAN_USERNAME}" \
--password "${OPSMAN_PASSWORD}" \
upload-stemcell \
--stemcell "${stemcell}"
done
}

Expand Down

0 comments on commit 38a79af

Please sign in to comment.