I am testing out the new Projects and Workers features.
I am trying to get my worker to pull the code from bitbucket like this (see image).
But I get this error:
Copy code
Cloning into 'data_infrastructure'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
14:29:52.302 | ERROR | Flow run 'therapeutic-mackerel' - Flow could not be retrieved from deployment.
Traceback (most recent call last):
It would be great if you could add more examples on how templating with blocks work and especially with access tokens.
Kasper Djernæs
04/25/2023, 2:46 PM
I have a secret block with the name:
'annotation-pipeline-credentials'
a
alex
04/25/2023, 2:55 PM
It looks like you’re using an SSH URL for cloning, which I think doesn’t work with an access token. I think it will work if you use an HTTPS URL which should be something like this:
How should I read the token from my blocks?
I also tried to configure it with a bitbucket secret's block but couldn't figure out how to reference it in the config.
a
alex
04/25/2023, 4:20 PM
I’d recommend keeping the format in the screenshot above:
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.