Hey there! how to add a token file to the storage in the prefect. for example, the error is this:
Task 'request_web [0]': Calling task.run () method ...
15:05:12
INFO
CloudTaskRunner
[Errno 2] No such file or directory: './Tokens/access_token.xml'
z
Zach Angell
09/01/2021, 12:58 PM
Hey @Konstantin, what storage type are you using?
The most common ways of doing this would be
1. Using Docker storage and including extra files via the
Hey @Zach Angell, i'm using the Gitlab repository type
z
Zach Angell
09/01/2021, 1:08 PM
Got it. The two recommended ways would be
1. Create a docker image that contains your xml file (note this can be a security vulnerability) and use this image as a DockerRun config https://docs.prefect.io/api/latest/run_configs.html#dockerrun
2. Using Prefect Secrets
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.