You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using conan config install <git-repo> within our CI environment. For our Windows builds we do not use Docker yet, they're just VMs and work like so:
Developer pushes changes to a repo
CI connects to one of the Windows VMs
CI uses conan config install to get the latest profiles and configuration for Conan
CI builds and tests the repo
CI uploads the Conan package
CI disconnects. Windows VM waits for the next job.
As you can see Windows jobs are not running within a sandboxed environment. That means when we do conan config install and install profileA it will remain there also for future jobs. To work around this we can clear the profiles directory before doing conan config install, but this is not as clean as it could be.
Therefore this feature request is to implement something like conan config reset or conan config uninstall. The command should reset the Conan config to its original state. It would help to have CI mechanisms a bit cleaner and would avoid us to implement any workarounds that may or may not work as intended and with future versions.
Looks like no.
Cmd: conan config init --force doesn't clean files and folders in .conan directory.
Please check the original post out:
That means when we do conan config install and install profileA it will remain there also for future jobs. To work around this we can clear the profiles directory before doing conan config install, but this is not as clean as it could be.
We're using
conan config install <git-repo>
within our CI environment. For our Windows builds we do not use Docker yet, they're just VMs and work like so:conan config install
to get the latest profiles and configuration for ConanAs you can see Windows jobs are not running within a sandboxed environment. That means when we do
conan config install
and install profileA it will remain there also for future jobs. To work around this we can clear the profiles directory before doingconan config install
, but this is not as clean as it could be.Therefore this feature request is to implement something like
conan config reset
orconan config uninstall
. The command should reset the Conan config to its original state. It would help to have CI mechanisms a bit cleaner and would avoid us to implement any workarounds that may or may not work as intended and with future versions.The text was updated successfully, but these errors were encountered: