update: enhance Vagrant setup with new scripts for node and workstation installation, and update provisioning to target specific VMs
This commit is contained in:
parent
5f448d7fc7
commit
aa912d55df
6 changed files with 79 additions and 23 deletions
17
README.md
17
README.md
|
|
@ -122,6 +122,8 @@ cp pipeline.json.example pipeline.json
|
|||
|
||||
# Run with pipeline file
|
||||
./infctl-cli --deployment-file pipeline.json
|
||||
# or using the short format
|
||||
./infctl-cli -f pipeline.json--deployment-file
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
|
@ -178,6 +180,8 @@ Run the CLI by providing a path to your pipeline JSON file:
|
|||
|
||||
```bash
|
||||
./infctl-cli --deployment-file /path/to/pipeline.json
|
||||
# or using the short format
|
||||
./infctl-cli -f /path/to/pipeline.json
|
||||
```
|
||||
|
||||
The tool will automatically:
|
||||
|
|
@ -187,13 +191,20 @@ The tool will automatically:
|
|||
3. Execute the deployment pipeline defined in your JSON file
|
||||
4. Run scripts from the `scripts/` directory
|
||||
5. Apply Kubernetes manifests using kustomize (for K8s deployments)
|
||||
--deployment-file
|
||||
### Command Line Options
|
||||
|
||||
- `--deployment-file <path>` or `-f <path>`: Path to the pipeline JSON configuration file
|
||||
- `--help`: Show help message and usage information
|
||||
|
||||
### Running from Source
|
||||
|
||||
You can also run directly with Go:
|
||||
|
||||
```bash
|
||||
go run main.go -pipeline /path/to/pipeline.json
|
||||
go run main.go --deployment-file /path/to/pipeline.json
|
||||
# or using the short format
|
||||
go run main.go -f /path/to/pipeline.json
|
||||
```
|
||||
|
||||
### Running Tests
|
||||
|
|
@ -317,14 +328,14 @@ The CLI uses structured JSON logging. Debug logs are enabled by default and incl
|
|||
|
||||
1. Place shell scripts / executables in the `scripts/` directory
|
||||
2. Add confiiguration as appropriate into `pipeline.json`
|
||||
3. Re-run `cnfctl --deployment-file pipeline.json`
|
||||
3. Re-run `infctl-cli --deployment-file pipeline.json` or `infctl-cli -f pipeline.json`
|
||||
|
||||
### Adding New Manifests
|
||||
|
||||
1. Create Kubernetes YAML files in the appropriate `k8s-manifests/` subdirectory
|
||||
2. Include a `kustomization.yaml` file for kustomize processing
|
||||
3. Add confiiguration as appropriate into `pipeline.json`
|
||||
4. Re-run `cnfctl --deployment-file pipeline.json`
|
||||
4. Re-run `infctl-cli --deployment-file pipeline.json` or `infctl-cli -f pipeline.json`
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue