Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Need exactly one unstaged build for p-cloudcache version "1.5.1-build.13" #382

Open
s-prabu opened this issue Jan 10, 2019 · 3 comments
Open

Comments

@s-prabu
Copy link

s-prabu commented Jan 10, 2019

Hi,
I trying to install the new tile(p-cloudcache) using pcf-pipelines and get fails with below error, and using same pipeline I can able to install other tiles.
error; Need exactly one unstaged build for p-cloudcache version "1.5.1-build.13"

And verified in environment, it’s not staged and tried to stage manually, it succeed.

Even I have tried by intercepting and run the particular task into container.
UNSTAGED_PRODUCT is not picking up.

root@xfrewfddf-0000-000000:/tmp/build/ac5d84bf# echo $UNSTAGED_ALL
<1-xxxxxxxxxxx:/tmp/build/ac5d84bf# echo $UNSTAGED_ALL
[ { "name": "splunk-nozzle", "product_version": "1.0.1" }, { "name": "**p-cloudcache**", "product_version": "1.5.1-build.13" } ]

# echo "$UNSTAGED_ALL"|jq --arg product_name "$PRODUCT_NAME" --arg product_version "$desired_versio
" 'map(select(.name == $product_name))'
<n "$desired_version" 'map(select(.name == $product_name))'
←[1;39m[
  ←[1;39m{
    ←[0m←[34;1m"name"←[0m←[1;39m: ←[0m←[0;32m"p-cloudcache"←[0m←[1;39m,
    ←[0m←[34;1m"product_version"←[0m←[1;39m: ←[0m←[0;32m"1.5.1-build.13"←[0m←[1;39m
  ←[1;39m}←[0m←[1;39m
←[1;39m]←[0m

root@xfrewfddf-0000-000000:/tmp/build/ac5d84bf# UNSTAGED_PRODUCT=$(echo "$UNSTAGED_ALL" | jq   --arg product_name "$PRODUCT_NAME"  --a
g product_version "$desired_version"   'map(select(.name == $product_name)) | map(select(.product_version | startswith($product_version)))')
<ect(.product_version | startswith($product_version)))')
root@xfrewfddf-0000-000000:/tmp/build/ac5d84bf#

root@xfrewfddf-0000-000000:/tmp/build/ac5d84bf# echo $UNSTAGED_PRODUCT
<1-xxxxxxxxxxx:/tmp/build/ac5d84bf# echo $UNSTAGED_PRODUCT
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@hemanth0369
Copy link

Hi
I'm having the same issue while i'm doing the upgrade for PCC tile. Can anyone help me to get this fix ?

@s-prabu
Copy link
Author

s-prabu commented Apr 5, 2019

Hi,
Use the latest version of clone, which could fix the issue - v0.23.13
https://github.com/pivotal-cf/pcf-pipelines/releases

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants