From bf058dc49492b3a102a28ed25764a517fcebfb40 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Fri, 16 Dec 2022 09:47:21 -0800 Subject: Multi-distro support for common script, refactor, fixes (#326) --- test/common-utils/scenarios.json | 115 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 108 insertions(+), 7 deletions(-) (limited to 'test/common-utils/scenarios.json') diff --git a/test/common-utils/scenarios.json b/test/common-utils/scenarios.json index aa36fcb..9b0bc85 100644 --- a/test/common-utils/scenarios.json +++ b/test/common-utils/scenarios.json @@ -1,10 +1,111 @@ { - "configure_zsh_as_default_shell": { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", - "features": { - "common-utils": { - "configureZshAsDefaultShell": true - } + "bionic": { + "image": "ubuntu:bionic", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "focal": { + "image": "ubuntu:focal", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "jammy": { + "image": "ubuntu:jammy", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "buster": { + "image": "debian:buster", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "bullseye": { + "image": "debian:bullseye", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "centos-7": { + "image": "centos:7", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "rocky-8": { + "image": "rockylinux:8", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "rocky-9": { + "image": "rockylinux:9", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "fedora": { + "image": "fedora", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "alpine": { + "image": "alpine", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, + "alternate-values": { + "image": "debian:bullseye", + "features": { + "common-utils": { + "username": "alternate", + "userUid": "1001", + "userGid": "1002", + "upgradePackages": false, + "installZsh": false, + "nonFreePackages": true + } + } + }, + "username-default": { + "image": "debian:bullseye", + "features": { + "common-utils": {} + } + }, + "username-detected": { + "image": "node", + "features": { + "common-utils": {} + } + }, + "already-run": { + "image": "mcr.microsoft.com/devcontainers/base:jammy", + "features": { + "common-utils": {} + } + }, + "configure_zsh_as_default_shell": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "features": { + "common-utils": { + "configureZshAsDefaultShell": true + } + } } - } } -- cgit v1.2.3