aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [java] fix version regex to support graalce jdk 21 (#701)feature_java_1.2.2Pablo Ulloa2023-09-273-1/+21
| | | | | | | | | | | | | | | * [java] fixed feature test scenario check * [java] support for non conentional version * Update src/java/install.sh to not include whitespaces Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * bumped patch version --------- Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Use dotnet-install.sh in .NET feature (#628)feature_dotnet_2.0.0Steven2023-09-1135-214/+615
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use dotnet-install.sh in .NET feature * Use latest.version files * Cleanup runtime args * Use latest.version files in tests as well * Improve tests, remove code duplication * Add stderr helper * Validate version inputs * Use suggested description Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Shorter version description Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Shorter version description Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Clean up apt lists * Verify 7.0 is latest * Fix PATH, add test for .NET global tools * Include a copy of dotnet-install.sh in the Feature * Configure useful env variables * Use stringly typed booleans * Keep imperative writing style in option hints * Update maintainers Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Move dotnet-install.sh into a vendor directory * Refactor variables * Amend * Amend 2 * Use default options from devcontainer-feature.json * Add back variables * Fix shellchek warning in fetch_latest_sdk_version * Inline install_version function * Fix ShellCheck warnings * Improve CSV parsing * Default to latest when configuring an empty version * Add support for runtime-only configurations * Move 'none' check higher up * Deduplicate helper functions, sort into files * Address the user more directly in NOTES * Remove unnecessary defaults * Replace feature -> Feature Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Add update-dotnet-install-script workflow * Apply suggestions from code review Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * Don't skip ci for automated script update --------- Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* [node] Install the latest version of nvm by default (#673)feature_node_1.3.0eitsupi2023-08-292-1/+23
| | | feat(node): install the latest nvm by default
* 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>
* [docker in docker] Adds retries for docker daemon startup and cgroup nesting ↵feature_docker-in-docker_2.4.0Samruddhi Khandale2023-08-243-1/+28
| | | | | | | | | | | | | | | | | (#669) * adds retry logic * adds stress test workflow * Adds cgroup retries * update workflow * move sleep cmd * update test * cleanup
* [docker-in-docker] Reverts the retry logic (#659)feature_docker-in-docker_2.3.1Samruddhi Khandale2023-08-193-64/+0
| | | | | | | * Update install.sh * [docker-in-docker] Update retry logic * revert the retry logic!
* Azure-cli: Revert temporary fix which installed az with python (#629)feature_azure-cli_1.2.1Samruddhi Khandale2023-08-162-0/+24
|
* 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>
* Avoid unexpected shell expansion (#645)feature_node_1.2.1Shikanime Deva2023-08-102-9/+23
| | | | | | | | | | | * Avoid unexpected shell expansion * Add install Node with ZSH as default test * Fix LTS only work on >bionic * Bump Node feature version * Remove huge universal image on scenarios
* Docker-in-docker: Add retries to the docker-init script until docker daemon ↵feature_docker-in-docker_2.3.0Samruddhi Khandale2023-08-083-1/+64
| | | | | | | starts (#637) * Docker-in-docker: Add retries until docker daemon starts * address comments
* 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
* Dotnet: Fix Feature failures on ubuntu:jammy (when installing using apt) (#590)feature_dotnet_1.1.4Samruddhi Khandale2023-06-305-3/+28
| | | | | | | | | | | | | * fix several bugs * fix test: .NET is now installed from ubuntu feeds * add comment ; use dev containers image * address comments * revert debugging cmd * fix test for bookworm
* Bump mpmath from 1.2.1 to 1.3.0 in /test/oryx/sample-python (#554)dependabot[bot]2023-06-291-1/+1
| | | | | | | | | | | | | | | Bumps [mpmath](https://github.com/fredrik-johansson/mpmath) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/fredrik-johansson/mpmath/releases) - [Changelog](https://github.com/mpmath/mpmath/blob/master/CHANGES) - [Commits](https://github.com/fredrik-johansson/mpmath/compare/1.2.1...1.3.0) --- updated-dependencies: - dependency-name: mpmath dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Azure CLI: Compatibility with Debian `bookworm` (#578)feature_azure-cli_1.1.0Josh Spicer2023-06-284-0/+22
| | | | | | | | | | | | | | | * add flag * try to install via apt version of pipx (will only work on bookworm) * _REMOTE_USER aware * dont change more than you need to,josh * increment azure-cli minor version (v1.1.0) * install globally * make sure env variables are in scope
* Terraform: Add cosign integrity check for TFLint (#586)feature_terraform_1.3.2Josh Spicer2023-06-212-0/+21
| | | | | * add cosign integrity check for tflint * fallback to gpg verification
* update go tools (#559)feature_go_1.2.0Shunya Hayashi2023-05-311-0/+15
| | | | | | | | | | | * update go tools * update link * add unit tests for confirm installation * fix path install gotests * fix bump the minor version
* 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.
* Add support for skipping `docker-compose` v1 operations during Docker ↵feature_docker-outside-of-docker_1.3.0feature_docker-in-docker_2.2.0M. R2023-05-027-0/+57
| | | | | | | | | | | | | | | | | | | | | | | feature install script (#533) * Add support for skipping docker-compose operations * Move changes from auto-generated files to templates and bump version * Add test * Add test conditions * Add test conditions for docker-outside-of-docker * install.sh set -x for debugging * set -x * Move compose-switch check in docker-outside-of-docker test * Put into correct test * Test for correct path
* Oryx - Switch to .NET 7 (#522)feature_oryx_1.1.0Samruddhi Khandale2023-04-192-0/+57
| | | | | | | * Oryx - Switch to .NET 7 * fix test ; add test * fix test - back compat
* [features/conda] Address CVE-2023-0286, CVE-2023-23931, and CVE-2022-40897 ↵feature_conda_1.0.9Alexander Smolyakov2023-04-061-0/+6
| | | | | | | | | | vulnerabilities (#518) * [features/conda] Address CVE-2023-0286, CVE-2023-23931, and CVE-2022-40897 vulnerabilities - Update `install.sh` to install updates for `cryptography` and `setuptools` packages - Add tests to verify `cryptography` and `setuptools` packages version * Bump feature version
* Fix several issues with docker-outside-of-docker (#443)feature_docker-outside-of-docker_1.2.0Felipe Santos2023-04-0514-38/+138
| | | | | | | | | | | | | | | | | | | | | * Fix several issues with docker-outside-of-docker * Add initial tests and bump version * Add two tests * Fix docker buildx conflict * Fix possible test issue * Add tests for moby * Add buildx test to init * Fix inconsistency * Many fixes and improvements * Make dockeDashCompose v2 by default
* add a postCreateCommand to `git-lfs` Feature (#511)feature_git-lfs_1.1.0Josh Spicer2023-04-043-0/+44
| | | | | | | | | | | | | | | * add a postCreateCommand to git-lfs Feature * debug passing locally but not in CI * update scenario * add GIT_LFS_SKIP_SMUDGE=1 to prevent fetching lfs arifacts in github actions * arguments should be booleans * move example repo to devcontainers org * place script literally anywhere other than /tmp
* Ruby: Fix failures - omit "ruby-debug-ide" (#505)feature_ruby_1.0.10Samruddhi Khandale2023-03-293-0/+19
| | | | | * Ruby: Fix failures on debian image due to ruby-debug-ide * omit
* Add pytest to Python Feature (#487)feature_python_1.0.22Daniel Ciborowski2023-03-144-2/+10
| | | | | | | | | | | | | * Update install.sh * Update install_additional_python.sh * Update install_os_provided_python.sh * Update install_via_oryx.sh * Update test.sh * Update devcontainer-feature.json
* Docker fix - BuildKit is enabled but the buildx component is missing or ↵feature_docker-outside-of-docker_1.1.0feature_docker-in-docker_2.1.0Samruddhi Khandale2023-03-0910-1/+147
| | | | | | | | | broken (#478) * Docker fix - BuildKit is enabled but the buildx component is missing or broken * nit * fix test
* Add pnpm in Node (#450)feature_node_1.2.0Akihiro Nagai2023-02-275-0/+5
| | | | | | | | | | | * Add pnpm in Node * pnpm from npm * Restore README.md * Update install.sh * Update tests
* Add sentinel to terraform feature (#452)feature_terraform_1.2.0Stefan Drzazga2023-02-152-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | * Introducing Sentinel installation * Modifying docs for sentinel * Modifying tests for sentinel * Revert "Modifying docs for sentinel" This reverts commit 818894b22fe022d29d59d3748ddd6103616773a6. * Modifying docs for sentinel * Fixing duplication issue for sentinel url * Update src/terraform/install.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Increase minor version --------- Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* kubectl-helm-minikube: Allow none (#442)feature_kubectl-helm-minikube_1.1.4Samruddhi Khandale2023-02-073-0/+35
|
* PHP: Allow 'version:none' (#439)feature_php_1.1.2Samruddhi Khandale2023-02-076-1/+24
| | | | | * PHP: Allow 'version:none' * fix tests
* Install PowerShell Modules (#427)feature_powershell_1.1.0Ross Smith2023-01-302-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * InstallBicep * Add test for InstallBicep * Install pwsh Modules * Script rename * Add -Command to test * Check version * Install the module for all users * Adding terminating lines to scripts * Update src/powershell/install.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update src/powershell/install.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Removed comments in Readme * Remove Bicep from PowerShell install * Increased version number * Update Minor version rather than patch --------- Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* Php: Auto configure if a three part version is not provided (#406)Samruddhi Khandale2023-01-203-1/+39
| | | | | | | | | * Php: Auto configure if a three part version is not provided * fix test * update checks * Bump version
* Java: add Apache Ant (#409)Tobias Gesellchen2023-01-194-6/+31
| | | | | | | | | | | | | | | * Java: add Apache Ant * Update src/java/devcontainer-feature.json Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * revert the changes in README.md * Add tests for Java/Ant * Fix Java feature version Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* Git: Use sysconfdir=/etc for git built from source (#395)Samruddhi Khandale2023-01-111-0/+8
| | | | | * Git: Adds a new 'addGitConfigSymlink' option * Use sysconfdir
* 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>
* Conda: Update 'certifi' due to CVE-2022-23491 (#383)Samruddhi Khandale2023-01-101-0/+20
|
* [PHP] Enable Mbstring (#371)Julien Boudry2023-01-051-0/+1
| | | | Mbstring is such a popular PHP extension that it is used everywhere and most libraries don't work without it. It can be compiled directly with PHP. The official Docker images of PHP include it.
* Rename "docker-from-docker" to "docker-outside-of-docker" (#373)Samruddhi Khandale2023-01-043-1/+1
| | | | | * Rename to "docker-outside-of-docker" * rename test folder
* fix testSamruddhi Khandale2022-12-272-0/+2
|
* Update GPG_KEY_SERVERS: Remove `:80` from Ubuntu Keyserver (#354)Samruddhi Khandale2022-12-212-0/+22
| | | | | * Update GPG_KEY_SERVERS: Remove `:80` from Ubuntu Keyserver * Fix ruby tests
* Terraform: Update GPG_KEY_SERVERS (#353)Samruddhi Khandale2022-12-211-1/+1
| | | | | * Terraform: Update GPG_KEY_SERVERS * add check
* Add support for mariner (#344)Mark Phippard2022-12-192-0/+21
|
* Git - Bug Fix: Feature fails with "ppa:false" for "buster" & "bullseye" (#340)Samruddhi Khandale2022-12-173-0/+50
|
* Git - Bug Fix: Feature fails with "ppa:false" for bionic & jammy (#339)Samruddhi Khandale2022-12-173-0/+50
|
* Multi-distro support for common script, refactor, fixes (#326)Chuck Lantz2022-12-1616-7/+319
|
* Git: Build from source with USE_LIBPCRE (#331)Samruddhi Khandale2022-12-141-0/+4
|
* Add TFSec and Terraform Docs to Terraform features (#327)Pierre-Emmanuel Mercier2022-12-133-0/+48
| | | | | | | * Add TFSec and Terraform Docs * PR Review * code review
* 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>