features/test/common-utils/scenarios.json
naturedamends be082b0ef5
Common utils: Add config to remove zsh rc files from (#614)
* 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>
2023-08-11 16:01:57 -07:00

178 lines
4.3 KiB
JSON

{
"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": {}
}
},
"mariner": {
"image": "mcr.microsoft.com/cbl-mariner/base/core:2.0",
"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
}
}
},
"configure_zsh_no_template": {
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"postCreateCommand": "echo alias fnomockalias=testingmock >> /root/.zshrc",
"remoteUser": "root",
"features": {
"common-utils": {
"installZsh": true,
"installOhMyZshConfig": false
}
}
},
"config-subdirectory": {
"image": "alpine",
"remoteUser": "devcontainer",
"features": {
"common-utils": {}
},
"mounts": [
"source=${localEnv:HOME},target=/home/devcontainer/.config/subdirectory,type=bind,readonly"
]
},
"alpine-3-14": {
"image": "alpine:3.14",
"remoteUser": "devcontainer",
"features": {
"common-utils": {}
}
},
"alpine-3-15": {
"image": "alpine:3.15",
"remoteUser": "devcontainer",
"features": {
"common-utils": {}
}
},
"devcontainer-info": {
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "vscode",
"features": {
"common-utils": {
"username": "vscode",
"userUid": "1000",
"userGid": "1000",
"upgradePackages": true,
"installZsh": true
}
}
},
"alpine-base-zsh-default": {
"image": "mcr.microsoft.com/devcontainers/base:alpine",
"remoteUser": "vscode",
"features": {
"common-utils": {
"configureZshAsDefaultShell": true
}
}
}
}