booking-microservices/.gitpod.yml
2023-01-20 17:01:06 +03:30

31 lines
996 B
YAML

# 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
# https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order
# https://www.gitpod.io/docs/configure/projects/prebuilds
# https://github.com/gitpod-samples/demo-kubectl-with-gitpod
tasks:
- name: Setup kubectl
command: bash $GITPOD_REPO_ROOT/setup_kubectl_with_gitpod.sh
- name: Init Docker-Compose
init: |
docker-compose pull
docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d
- name: Restore & Build
init: |
dotnet dev-certs https
dotnet restore
dotnet build
vscode:
extensions:
- ms-azuretools.vscode-docker
- muhammad-sammy.csharp