-
Notifications
You must be signed in to change notification settings - Fork 373
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
devpod reset or fresh start works, but rebuild fails #1508
Comments
May be similar : #1279 |
Hi @ysaakpr thanks for raising your issue! Does this happen in the CLI as well as UI? |
I have tested this only on UI - let me know if you want me to try this on the cli as well |
yes please 🙏 Just so we know if it is the same as #1279 or if it is fundamental to the rebuild pipeline |
@bkneis not sure what exactly the cli command equivalent to rebuild and reset option in the UI |
Ran
|
I am using devpod with docker compose for development setup. i am using preInstall hooks to initialize the env variables and creates
.env
file in the directory where the docker compose file anddevcontainer.json
stays, which is in the folder named.devcontainer
in the root of git repo. Thedocker compose
also have reference to the same.env
file in the services which it references withenv_file
keyword.I am able to do a fresh setup with the devpod(Create new
workspace
, as well asreset
), it works and starts the vscode editor, successfully. Also if i have to reset, it does it well. The issue is while i want to rebuild. I get debug logs saying the expected env variables are not set, and because of that the containers are failing.Devpod rebuild logs
The
.env
file is in the same place as thedocker-compose
and thedevcontainer.json
My
devcontainer.json
:The text was updated successfully, but these errors were encountered: