Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

endpoint option throwing errors #26

Open
hacktivist123 opened this issue Mar 15, 2021 · 3 comments
Open

endpoint option throwing errors #26

hacktivist123 opened this issue Mar 15, 2021 · 3 comments

Comments

@hacktivist123
Copy link

hacktivist123 commented Mar 15, 2021

Hello, I'm a developer advocate at Cloud Foundry, I'm trying out the orb and when i try to set the API endpoint it returns the following error and the job fails:

Setting api endpoint to $CF_API --skip-ssl-validation...
parse https://$CF_API --skip-ssl-validation: invalid character " " in host name
FAILED

Exited with code exit status 1
 CircleCI received exit code 1

This could be as a result of the v6 api, when i try to install v7 instead it fails with the following error:

Downloading https://packages.cloudfoundry.org/stable?release=linux64-binary&source=github&version=v7
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 8944k  100 8944k    0     0  6817k      0  0:00:01  0:00:01 --:--:-- 11.2M
/bin/bash: line 14: cf: command not found

Exited with code exit status 127
CircleCI received exit code 127

Also you might want to port the default version of this orb to V7 because it's more up to date with the CF kubernetes project

@hacktivist123 hacktivist123 changed the title endpoint throwing option endpoint option throwing errors Mar 15, 2021
@zmarkan
Copy link

zmarkan commented Mar 16, 2021

Hi @hacktivist123 do you have a sample config you could share? (or a link to the build job if you have it and is open source)
Exactly what kind of params are you setting?

@zmarkan
Copy link

zmarkan commented Mar 16, 2021

I quickly investigated this - the relevant repo/config is here: https://github.com/hacktivist123/Exchange-Value/blob/master/.circleci/config.yml

We think that using cf7 will work but:

  • the push job doesn't allow setting the CF version
  • install command breaks when installing v7

Relevant failing tests I added: #27
CircleCI workflow showing the failing tests: https://app.circleci.com/pipelines/github/zmarkan/cloudfoundry-orb/6/workflows/a8b27242-2087-4a34-b5c7-62cfa191db5e

@hacktivist123
Copy link
Author

Thank you for the help @zmarkan

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

No branches or pull requests

2 participants