-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (27 loc) · 1.22 KB
/
instana-gitops-update.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
### Instana GitHub action for GitOps update sample workflow
### This GitHub action workflow configures the Instana GitHub action for GitOps update
### that remotely triggers the update of the configuration of Instana host agents that
### are configured to use the Git-based Configuration Management capability. The selection
### of which agents to update is based on a combination of agent zone and tags.
### Installation: refer to https://github.com/instana/github-action-update-agent-configurations#setup
### For more information on the Instana GitHub action for GitOps update, refer to:
### https://github.com/instana/github-action-update-agent-configurations
name: Instana GitOps update - Test
on:
push:
paths-ignore:
- 'renovate.json'
- 'README.md'
branches: [ test ]
jobs:
push-gitops-config:
runs-on: ubuntu-latest
steps:
- uses: instana/[email protected]
with:
# At least one of 'agent_zone' and 'agent_tags' should be set
agent_zone: gitops-demo
agent_tags: gitops_environment=test
env:
INSTANA_API_ENDPOINT: ${{ secrets.INSTANA_API_ENDPOINT }}
INSTANA_API_TOKEN: ${{ secrets.INSTANA_API_TOKEN }}