aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix `.zprofile` is owned by root (#775)feature_common-utils_2.3.1Josh Spicer2023-12-071-0/+2
| | | | | | | | | | | | | * revert behavior of sourcing .profile in .zprofile https://github.com/devcontainers/features/pull/736/files#diff-3e71c0a0669a0410f7dd0d8f2b83f3b6bf6b525d3eabd354f19f32822da669fcR460-R463 * add test * increment version * create empty .zprofile is not present, and fix test * temporarily add back .profile to .zprofile (only if file did not exist)
* [common-utils] Bug fix: zsh missing rc snippet (#736)feature_common-utils_2.3.0Samruddhi Khandale2023-10-282-2/+5
| | | | | | | | | * [common-utils] Bug fix: zsp missing rc snippet * condion rc snippet * fix bug * remove debugging step
* [common-utils] fix bug when user home is custom by base docker (#703)feature_common-utils_2.2.0Pablo Ulloa2023-09-274-0/+46
| | | | | | | * [common-utils] fix bug when user home is custom by base docker * bumped minor version * reduced conditions to improve readability
* Commonutils: chown: cannot access '/home/vscode/.zshrc': No such file or ↵feature_common-utils_2.1.2naturedamends2023-08-263-6/+27
| | | | | | | | | | | | | directory (#662) * Update main.sh * Update devcontainer-feature.json * Test install as non root user. --------- Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* Common-utils: Fixes "No package jq available" errors for CentOS (#644)feature_common-utils_2.1.1Samruddhi Khandale2023-08-155-0/+5
| | | | | | | * add checks for "jq" * install epel-release if necessary * clean up epel-release post installation of "jq"
* Common utils: Add config to remove zsh rc files from (#614)feature_common-utils_2.1.0naturedamends2023-08-123-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add config to remove zsh rc files from common-utils. * Bump version and add config to install script. * Checks preventing excess writing to .zshrc. * Change devcontainer feature option name. * Coding standards. * Favour adding feature via config and default to overriding .zshrc with dev-container default template. * Update devcontainer-feature.json * Update devcontainer-feature.json * Update src/common-utils/devcontainer-feature.json Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Update src/common-utils/devcontainer-feature.json Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Testing for using devcontainer .zshrc template file. * Coding standards. * Coding standards. * Update configure_zsh_as_default_shell_no_template.sh * Grammar in configure_zsh_as_default_shell.sh * Testing accounts for marked file cache (#4) * Account for mark file in testing. * Remove some debugging and tests back * Add back tests? * Update configure_zsh_no_template.sh --------- Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Fix: common-utils configureZshAsDefaultShell option not working on alpine ↵feature_common-utils_2.0.11Krikchai Pongtaveewould2023-08-032-2/+24
| | | | | | | | | | | | | | | linux image (#557) * alpine defaultZsh fix * common-utils: replace pam.d/chsh permission with `sufficient` * common-utils: revert match auth sufficient * common-utils: append auth string instead of replacing a whole file * fix grep 2nd param * fix: line checking condition
* Create .config directory in common-utils (#547)feature_common-utils_2.0.10Stephen A. Imhoff2023-05-102-0/+23
| | | | | | | | | | | | | | | | | * Add test case for mounted subdirectory. * Correct some trailing whitespace. * Correct variable name to better reflect status as user home path. * Add config directory creation. * Remove extra debug line. * Bump feature version. * Mount host user home directory as "subdirectory" * Correct test naming, run test in explicit bash shell.
* Common-utils: Fix build failures for alpine 3.14 & 3.15 (#393)Samruddhi Khandale2023-01-113-0/+44
| | | | | * Common-utils: Fix build failures for alpine 3.14 & 3.15 * version bump
* [common-utils] Fix permission of scripts in containers (#388)eitsupi2023-01-114-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | * fix permission in containers * add test * bump version * more tests * update tests * Update test/common-utils/devcontainer-info/Dockerfile Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update test/common-utils/scenarios.json Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update scenarios.json * Update devcontainer-info.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* fix testSamruddhi Khandale2022-12-272-0/+2
|
* Add support for mariner (#344)Mark Phippard2022-12-192-0/+21
|
* Multi-distro support for common script, refactor, fixes (#326)Chuck Lantz2022-12-1616-7/+319
|
* Change default shell if installing ZSH (#325)Jacob Woffenden2022-12-102-0/+22
| | | | | | | | | | | | | | | | | | | * Added new option to configure zsh as default shell Added test scenario Bumped feature version * Update test/common-utils/scenarios.json Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update src/common-utils/devcontainer-feature.json Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update test/common-utils/configure_zsh_as_default_shell.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* Rename feature: 'common' to 'common-utils' (#79)Samruddhi Khandale2022-08-051-0/+13
* Renaming feature: 'common' to 'common-utils' * removing duplicate tests