Update Features with a fallback logic to install previous version if the "latest" tags are missing artifacts
We saw https://github.com/devcontainers/features/issues/888 where git-lfs Feature builds were failing as the latest tag available is 3.5.0, however, the corresponding releases are still not available. https://github.com/devcontainers/features/pull/894 added a fallback logic.
We already updated few Features with this fallback logic, however, we need to add this for all the Features in https://github.com/devcontainers/features
Note: Only add fallback logic if following conditions are met
- If the requested
versionislatest find_version_from_git_tagsis used to find thelatestversion
@gauravsaini04 Feel free to create sub-issues if needed, also, creating separate PRs for each Features would be appreciated.
Hi @samruddhikhandale , found a similar scenario in docker-outside-of-docker feature, so did create a sub issue and raised PR #901 for this.
Have created many sub issues for this issue in issue 145 of internal. Kindly check and approve those that need to be processed.
https://github.com/devcontainers/features/issues/911#issuecomment-2000331160 is a great early feedback. Would be good to update the fallback logic according to this.
pls check pr #914
So now only the node feature's, nvm pkg installation - fallback implementation is left.
Few tests are failing in it that point towards installation of pnpm pkg with node v16 that's currently getting installed in failing scenarios like centos-7 & install_node_16_on_bionic. They need at least a node v18 for it to get installed properly.
👍
The feature's that have working fallback method implemented for them are listed below :
PHPPowershellPythonRubyTerraformDocker-In-DockerDocker-Outside-Of-Dockergit-lfsgithub-clikubectl-helm-minikube
work on node - nvm feature will remain on hold for the moment