GithubHelp home page GithubHelp logo

Agent Url Override about devpod HOT 5 OPEN

MaGaudin avatar MaGaudin commented on July 18, 2024
Agent Url Override

from devpod.

Comments (5)

pascalbreuninger avatar pascalbreuninger commented on July 18, 2024

Hey @MaGaudin, thanks for opening the issue.
You're right, overwriting the agent URL with presigned URLs won't work because DevPod tries to download the binary for the current VM architecture by appending devpod-linux-$ARCH to the DEVPOD_AGENT_URL environment variable.

We could substitute ${BIN_NAME} in the URL to make this work

from devpod.

MaGaudin avatar MaGaudin commented on July 18, 2024

Hi @pascalbreuninger ,

thank you so much for your reply. Are you going to implement this modification? Or, is there something that we can do (using the console) to implement what you're saying?

from devpod.

pascalbreuninger avatar pascalbreuninger commented on July 18, 2024

@MaGaudin I've linked a PR with an implementation, will kick off an alpha release for you to test the changes after tests pass.
edit: here we go https://github.com/loft-sh/devpod/releases/tag/v0.5.13-alpha.0

You'll need to pass in the agent url through the DEVPOD_AGENT_URL environment variable and can then add ${BIN_NAME} as a placeholder. Make sure to escape the dollar sign if you're on the command line so prevent the shell variable expansion.

example: export DEVPOD_AGENT_URL=https://s3.amazonaws.com/bucket/test/\${BIN_NAME}?q=somekeyhere

from devpod.

MaGaudin avatar MaGaudin commented on July 18, 2024

Hi @pascalbreuninger,

you were really kind. I downloaded the alpha version of DevPod but, after overriding the Agent Url as below:
image

I had the same error as before:
image

Am I doing something wrong?

Marco

from devpod.

MaGaudin avatar MaGaudin commented on July 18, 2024

Is there any update? @pascalbreuninger

from devpod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.