-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.yaml
More file actions
25 lines (20 loc) · 761 Bytes
/
Copy pathsample.yaml
File metadata and controls
25 lines (20 loc) · 761 Bytes
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
# Sample YAML Configuration for Project Setup
name: sampleYaml # Name of the YAML configuration
version: 1 # Version of the YAML configuration
gitUrl: https://github.com/AyushAher/Blog # URL of the Git repository
services:
# List of services and their configurations
- name: Node-Api # Service Name
srcPath: c:\\as\\as # Source path for the service
port: # List of desired ports the service might run on
- 3000
- 3001
- name: .net
srcPath: c:\\as\\as
port:
- 71009
- 71010
steps:
# Configuration steps to configure the operating system
- sudo stop service {{services.$1.name}} # Stop a service based on a template variable
- git clone {{gitUrl}} # Clone the Git repository from the specified URL