Skip to content
Snippets Groups Projects
Commit 39fa97ed authored by Helmut Hutzler's avatar Helmut Hutzler
Browse files

Updating git-lab agent Readme

parent c36acea9
No related branches found
No related tags found
No related merge requests found
Pipeline #8981 canceled
......@@ -19,7 +19,42 @@ git remote add origin https://git.informatik.fh-nuernberg.de/HutzlerHe/gitlab-ag
git branch -M main
git push -uf origin main
```
## Install new Gitlab-Agent
- [ ] Our gitlab-agent is named gitlab-agent
- [ ] All Yaml files deployed to directory /deployments/ in Gitlab project HutzlerHe/gitlab-agent will be deployed at our Kubernetes cluster
- [ ] => Config file needs to be named : .gitlab/agents/gitlab-agent/config.yaml
- [ ] Initial Content
```
gitops:
manifest_projects:
- id: HutzlerHe/gitlab-agent
default_namespace: testing
paths:
# Read all YAML files from this directory.
- glob: '/deployments/*.yaml'
# Read all .yaml files from team2/apps and all subdirectories.
#- glob: '/team2/apps/**/*.yaml'
# If 'paths' is not specified or is an empty list, the configuration below is used.
#- glob: '/**/*.{yaml,yml,json}'
reconcile_timeout: 3600s
dry_run_strategy: none
prune: true
prune_timeout: 3600s
prune_propagation_policy: foreground
inventory_policy: must_match
```
For adding a new Kubernetes cluster to your project read
- [ ] [Add Gitlab Agent description](https://team.informatik.fh-nuernberg.de/confluence/display/KUB/Gitlab+Agent+Install)
## Add new repositories
- [ ] All Yaml files deployed to directory /deployments/ in Gitlab project HutzlerHe/testing-gitlab-agent will be deployed at our Kubernetes cluster
```
- id: HutzlerHe/testing-gitlab-agent
default_namespace: testing
paths:
# Read all YAML files from this directory.
- glob: '/deployments/*.yaml'
```
## Integrate with your tools
- [ ] [Set up project integrations](https://git.informatik.fh-nuernberg.de/HutzlerHe/gitlab-agent/-/settings/integrations)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment