Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload artifact problem - No resource group targeted #51

Open
gasgithub opened this issue Feb 16, 2023 · 0 comments
Open

Upload artifact problem - No resource group targeted #51

gasgithub opened this issue Feb 16, 2023 · 0 comments

Comments

@gasgithub
Copy link

Why this line is commented out https://github.com/open-toolchain/simple-vsi-toolchain/blob/master/.build_pipeline/task.yaml#L211
in UploadToCOStorage method?:

else  
              COSENDPOINT="s3.${REGION}.cloud-object-storage.appdomain.cloud";
              echo "Target the resource group with ID ${RESOURCEGROUP}"
              #ibmcloud target -g ${RESOURCEGROUP} 
              echo "Check if IBM Cloud Object Storage Instance already exists"
              CheckAndCreateCOSInstance
              echo "Check if the Bucket required to store artifacts already exists"
              CheckAndCreateBucket

This results in the following error:

Multiple Cloud object storage instance detected. Proceeding with creation of instance named gas-vsi-app-20230215 with standard plan.
FAILED
No resource group targeted. Use 'ibmcloud target -g RESOURCE_GROUP' to target a resource group.

in the line https://github.com/open-toolchain/simple-vsi-toolchain/blob/master/.build_pipeline/task.yaml#L189

Upload works fine when that commented 211 line is uncommented :-)

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

No branches or pull requests

1 participant