forked from ericHumberto/springboot-test-CI
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathokteto.yml
45 lines (38 loc) · 1.15 KB
/
okteto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: springboot-test-ci
dev:
springboot-test-ci:
image: okteto/gradle:6.5
command: bash
volumes:
- /home/gradle/.gradle
sync:
- .:/usr/src/app
forward:
- 9090:9090
- 5005:5005
# The build section defines how to build the images of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#build
# build:
# my-service:
# context: .
# The deploy section defines how to deploy your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#deploy
deploy:
- kubectl apply -f k8s.yml
# The dependencies section defines other git repositories to be deployed as part of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#dependencies
# dependencies:
# - https://github.com/okteto/sample
# The dev section defines how to activate a development container
# More info: https://www.okteto.com/docs/reference/manifest/#dev
# dev:
# sample:
# image: okteto/dev:latest
# command: bash
# workdir: /usr/src/app
# sync:
# - .:/usr/src/app
# environment:
# - name=$USER
# forward:
# - 9090:80