updates to conda,gradle,hugo (#24)
This commit is contained in:
parent
eb6ed37deb
commit
7f182aaea2
7 changed files with 20 additions and 11 deletions
4
.github/workflows/test-all.yaml
vendored
4
.github/workflows/test-all.yaml
vendored
|
@ -24,11 +24,11 @@ jobs:
|
||||||
"git-lfs",
|
"git-lfs",
|
||||||
"github-cli",
|
"github-cli",
|
||||||
"go",
|
"go",
|
||||||
"gradle",
|
"java gradle", # Install 'java', then 'gradle'
|
||||||
"hugo",
|
"hugo",
|
||||||
"java",
|
"java",
|
||||||
"jekyll",
|
"jekyll",
|
||||||
"python jupyterlab", # Install 'python', then 'jupyterlab'
|
"python jupyterlab", # Install 'python', then 'jupyterlab'
|
||||||
"kubectl-helm-minikube",
|
"kubectl-helm-minikube",
|
||||||
"maven",
|
"maven",
|
||||||
"node",
|
"node",
|
||||||
|
|
1
.github/workflows/test-manual.yaml
vendored
1
.github/workflows/test-manual.yaml
vendored
|
@ -12,6 +12,7 @@ on:
|
||||||
default: 'ubuntu:focal'
|
default: 'ubuntu:focal'
|
||||||
logLevel:
|
logLevel:
|
||||||
description: 'Log Level (info/debug/trace)'
|
description: 'Log Level (info/debug/trace)'
|
||||||
|
required: true
|
||||||
default: 'info'
|
default: 'info'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
2
.github/workflows/test-pr.yaml
vendored
2
.github/workflows/test-pr.yaml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
git-lfs: ./**/git-lfs/**
|
git-lfs: ./**/git-lfs/**
|
||||||
github-cli: ./**/github-cli/**
|
github-cli: ./**/github-cli/**
|
||||||
go: ./**/go/**
|
go: ./**/go/**
|
||||||
gradle: ./**/gradle/**
|
'java gradle': ./**/gradle/**
|
||||||
hugo: ./**/hugo/**
|
hugo: ./**/hugo/**
|
||||||
java: ./**/java/**
|
java: ./**/java/**
|
||||||
jekyll: ./**/jekyll/**
|
jekyll: ./**/jekyll/**
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/anaconda.md
|
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/anaconda.md
|
||||||
# Maintainer: The VS Code and Codespaces Teams
|
# Maintainer: The VS Code and Codespaces Teams
|
||||||
#
|
#
|
||||||
# Syntax: ./anaconda-debian.sh [Conda version] [CONDA_DIR] [Non-root user] [Add rc files flag]
|
# Syntax: ./anaconda-debian.sh [Conda version] [Non-root user] [Add rc files flag]
|
||||||
|
|
||||||
VERSION=${1:-"latest"}
|
VERSION=${1:-"latest"}
|
||||||
USERNAME=${2:-"automatic"}
|
USERNAME=${2:-"automatic"}
|
||||||
|
|
|
@ -7,12 +7,13 @@
|
||||||
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/gradle.md
|
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/gradle.md
|
||||||
# Maintainer: The VS Code and Codespaces Teams
|
# Maintainer: The VS Code and Codespaces Teams
|
||||||
#
|
#
|
||||||
# Syntax: ./gradle-debian.sh [Gradle version] [SDKMAN_DIR] [non-root user] [Update rc files flag]
|
# Syntax: ./gradle-debian.sh [Gradle version] [non-root user] [Update rc files flag]
|
||||||
|
|
||||||
GRADLE_VERSION=${1:-"latest"}
|
GRADLE_VERSION=${1:-"latest"}
|
||||||
export SDKMAN_DIR=${2:-"/usr/local/sdkman"}
|
USERNAME=${2:-"automatic"}
|
||||||
USERNAME=${3:-"automatic"}
|
UPDATE_RC=${3:-"true"}
|
||||||
UPDATE_RC=${4:-"true"}
|
|
||||||
|
SDKMAN_DIR=${SDKMAN_DIR:-"/usr/local/sdkman"}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,19 @@
|
||||||
"options": {
|
"options": {
|
||||||
"version": {
|
"version": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"proposals": ["latest"],
|
"proposals": [
|
||||||
|
"latest"
|
||||||
|
],
|
||||||
"default": "latest",
|
"default": "latest",
|
||||||
"description": "Select or enter a version."
|
"description": "Select or enter a version."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"containerEnv": {
|
||||||
|
"HUGO_DIR": "/usr/local/hugo",
|
||||||
|
"PATH": "${HUGO_DIR}/bin:${PATH}"
|
||||||
|
},
|
||||||
"install": {
|
"install": {
|
||||||
"app": "",
|
"app": "",
|
||||||
"file": "install.sh"
|
"file": "install.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -10,10 +10,11 @@
|
||||||
# Syntax: ./hugo-debian.sh [Hugo version] [HUGO_DIR] [Non-root user] [Add rc files flag]
|
# Syntax: ./hugo-debian.sh [Hugo version] [HUGO_DIR] [Non-root user] [Add rc files flag]
|
||||||
|
|
||||||
VERSION=${1:-"latest"}
|
VERSION=${1:-"latest"}
|
||||||
export HUGO_DIR=${2:-"/usr/local/hugo"}
|
|
||||||
USERNAME=${3:-"automatic"}
|
USERNAME=${3:-"automatic"}
|
||||||
UPDATE_RC=${4:-"true"}
|
UPDATE_RC=${4:-"true"}
|
||||||
|
|
||||||
|
HUGO_DIR=${HUGO_DIR:-"/usr/local/hugo"}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ "$(id -u)" -ne 0 ]; then
|
if [ "$(id -u)" -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue