# https://github.com/gitpod-samples/template-dotnet-core-cli-csharp # https://www.gitpod.io/docs/introduction/languages/dotnet # https://github.com/gitpod-samples/template-docker-compose # https://www.gitpod.io/docs/references/gitpod-yml # https://www.gitpod.io/docs/configure # https://www.gitpod.io/docs/configure/workspaces/ports image: file: .gitpod.Dockerfile vscode: extensions: - muhammad-sammy.csharp - editorconfig.editorconfig - vivaxy.vscode-conventional-commits - humao.rest-client - ms-azuretools.vscode-docker - donjayamanne.githistory - pkief.material-icon-theme - emmanuelbeziat.vscode-great-icons # https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order # https://www.gitpod.io/docs/configure/projects/prebuilds tasks: - name: Init Docker-Compose # https://www.gitpod.io/docs/configure/projects/prebuilds # We load docker on pre-build for increasing speed init: | docker-compose pull docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d - name: Setup kubectl command: bash $GITPOD_REPO_ROOT/scripts/setup_kubectl_gitpod.sh - name: Restore & Build init: | dotnet dev-certs https dotnet restore dotnet build