Commit graph

43 commits

Author SHA1 Message Date
Samruddhi Khandale
0599c63f8f
[Updates] Automated vendor dotnet-install script (#698)
* Automated dotnet-install script update

* version bump

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-28 10:08:39 -07:00
Samruddhi Khandale
8ad7c749b3
Automated documentation update (#688)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-09-11 11:28:49 -07:00
Steven
96c1eea40f
Use dotnet-install.sh in .NET feature (#628)
* 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>
2023-09-11 11:16:24 -07:00
Samruddhi Khandale
300814be97
Dotnet: Fix Feature failures on ubuntu:jammy (when installing using apt) (#590)
* 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
2023-06-29 15:14:11 -07:00
Samruddhi Khandale
2237731474
Automated documentation update (#521)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-04-14 13:48:25 -07:00
Josh Spicer
258d5029a5
Republish all Features to add repo tags (#422)
republish all features to add repo tags
2023-01-25 10:24:25 -08:00
Samruddhi Khandale
58b8fe093d
Fix typos in comments / *.md (#396) 2023-01-17 09:34:53 -08:00
github-actions[bot]
c8f5c3cbee
Automated documentation update (#394)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-01-10 13:59:07 -08:00
github-actions[bot]
2c646ed9fe
Automated documentation update (#377)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-01-04 11:53:48 -08:00
github-actions[bot]
f9de0e43f8
Automated documentation update (#368)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-12-27 12:42:28 -05:00
Josh Spicer
19bc8bb633
OS support in Feature NOTES.md (#366)
* https://github.com/devcontainers/features/issues/360

* omit from common utils
2022-12-27 12:27:57 -05:00
Josh Spicer
592fdc8177
typo in 'dotnet' Feature schema 2022-12-27 09:36:51 -05:00
Chuck Lantz
d1972b4d8d
Use _REMOTE_USER when available (#264)
* Use _REMOTE_USER when available

* Update src/python/install.sh

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Update src/python/install.sh

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Fix java test issue - JDK 18 not available for the "open" distro

* Bump breakfix numbers

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
Co-authored-by: Josh Spicer <joshspicer@github.com>
2022-11-28 15:07:38 -08:00
Chuck Lantz
17580ee22f
Add .NET 7, drop .NET 5 (#269)
* Add .NET 7, drop .NET 5

* Add libssl3 to common-utils for jammy

* Handle lts/latest hard coding

* Fix, improve tests

* Bump version

* Fix situation where version could come from either MS repo or OS

* Remove unused option

* Bump common version

* Remove unused function

* Restore DOTNET_ROOT per feedback
2022-11-14 11:41:32 -08:00
github-actions[bot]
258b107b39
Automated documentation update (#287)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-14 11:40:25 -08:00
github-actions[bot]
1313517fc4
Automated documentation update (#250)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-10-31 15:10:22 -07:00
Josh Spicer
67b15cae12
add installsAfter: common-utils to all Features (#214) 2022-10-18 16:30:56 -07:00
github-actions[bot]
530997ce54
Automated documentation update (#218)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-10-13 08:47:25 -07:00
eitsupi
a8cb375d46
Ensure remove apt-update cache at the beginning and end of the scripts (#210)
* remove apt lists

* bump versions
2022-10-10 15:33:01 -07:00
Samruddhi Khandale
674b096863
Conda and Java: sync env variables (#153)
* conda script

* Adds JAVA_HOME

* Update src/conda/devcontainer-feature.json

Co-authored-by: Josh Spicer <joshspicer@github.com>

* modify containerEnv

* fix version

* bump python version

Co-authored-by: Josh Spicer <joshspicer@github.com>
2022-09-13 17:15:51 -07:00
Josh Spicer
8befe8c114
bump all features to pick up metadata changes in CLI v0.14.0 (#118) 2022-08-26 09:04:54 -07:00
Josh Spicer
41e3e4c748
add documentationURL to all features (#115) 2022-08-24 13:36:05 -04:00
Samruddhi Khandale
84f4996643
Fix bug - Python: Error installing os-provided python (#112)
* python: fix bug

* bump versions
2022-08-23 16:13:33 -04:00
Josh Spicer
0cafeee862
favor correctness by removing apt update ... short-circuiting (#98)
* favor correctness by removing apt update shortciruiting

* Update install.sh

* apt_get_upadate in node

* update test
2022-08-23 09:17:08 -04:00
github-actions[bot]
3ac132483a
Automated documentation update (#106)
Co-authored-by: github-actions <github-actions@github.com>
2022-08-18 12:31:22 -04:00
Samruddhi Khandale
a630e92c46
Move extensions and settings under customizations.vscode (#97)
* move extensions and settings under customizations

* nit

* bump versions
2022-08-17 19:48:38 +00:00
Josh Spicer
ef87daf5af
update dotnet/oryx features to use recommended install location for dotnet6 (#91)
* use default jammy apt feed to mitigate jammy/oryx install issues

* remove old comment

* jammy first tries default apt repo

* refactoring

* glob friendly and tests

* test files

* better greps

* correct path

* DEBIAN_FRONTEND global in oryx install script

* remove set -e from dotnet script to handle errors ourselves
2022-08-16 17:33:25 -04:00
github-actions[bot]
f8396a6c35
Automated documentation update (#90)
Co-authored-by: github-actions <github-actions@github.com>
2022-08-11 19:20:11 +00:00
Samruddhi Khandale
44694d699f
Options: Follow camelCase (#89)
rename Options
2022-08-11 18:37:10 +00:00
github-actions[bot]
a8e20a418c
Automated documentation update (#85)
Co-authored-by: github-actions <github-actions@github.com>
2022-08-09 16:08:06 -04:00
Samruddhi Khandale
542963cf04
Prep: republish features to ghcr.io (#78)
* syncing action

* modify release.yaml

* version update ; remove "install"

* add 'latest'

* add workflow condition
2022-08-05 15:22:30 -04:00
Josh Spicer
86eaacb47e Port changes and set executable bit
-Ports change from: https://github.com/microsoft/vscode-dev-containers/pull/1554
Sets all scripts as executable by default.
2022-07-29 15:38:08 +00:00
Samruddhi Khandale
330429ebb3
Dotnet: Install additional versions (#60)
* Dotnet: Install additional versions

* nit

* tweak: to unblock git merge
2022-07-14 18:37:46 +00:00
Devcontainers CI
f03d64feae Automated documentation update 2022-06-22 18:25:18 +00:00
Devcontainers CI
2a51a0164c Automated documentation update 2022-06-21 20:14:53 +00:00
Josh Spicer
3b6fe6e608 add descriptions to feature metadata (no-ci) 2022-06-21 20:14:14 +00:00
Samruddhi Khandale
0ed472aa25
Fix permissions: add username:user_group (#50)
* add username:user_group

* fix remaining permissions

* add *

* remove *
2022-06-15 09:53:43 -07:00
Josh Spicer
2fa3232485
Devcontainer docs (#47)
* docs

* automatically generate documentation from features.json

* trigger doc gen

* 1

* no-ci

* no-ci

* no-ci

* no-ci

* comment out pull

* Automated documentation update

* no-ci markdown table

* Automated documentation update

* no-ci

* Automated documentation update

* branch to main

Co-authored-by: Devcontainers CI <vscr-feedback@microsoft.com>
2022-06-13 20:01:19 -04:00
Samruddhi Khandale
fa07406f4d
add missing user groups to fix permission issues for non root user (#45)
* add missing user groups

* fix username

* move chmod: anaconda
2022-06-13 13:30:57 -07:00
Josh Spicer
c12a205ab8
Pass options via environment variables (#39)
* up to docker-in-docker converted

* first pass at the rest of the features (and bash linting and updated CLI

* move shell linter to own file

* rename feature.json -> devcontainer-feature.json

* continue on error

* continue on error in right spot

* formatting

* fix AZ_VERSION

* update python

* restore variable name

* update linter actions, fix dind/dfd/desktop scripts, add test-scenaerios

* add tree because I like tree

* glob for shell linter

* fix test-scenarios

* shell linter

* more shell helper
2022-06-03 10:46:25 -04:00
Samruddhi Khandale
1063e12950
dotnet: allow multiple dotnet versions (#34)
* dotnet: allow multiple dotnet versions

* nit

* change description

* change condtion

* nit

* change exit code

* restructure linkinh

* nit

* adding installUsingApt

* export path

* fix path

* fix eof

* fix updaterc

* change access

* add USERNAME

* export

* debug 1

* add missing $
2022-06-01 14:16:42 -07:00
Josh Spicer
a4d434f22d
sync with jammy updates (#21)
sync with jammy updates (053a055721) and other minor additions since copy over
2022-05-25 12:53:54 -07:00
Josh Spicer
3a277ad757
restructure and update cli (#11)
* restructure and update cli

* typo
2022-05-12 16:10:51 -04:00