Skip to content

Commit

Permalink
add variables to actionlint file and document vars and secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhoellein committed Oct 17, 2024
1 parent e29a195 commit 45b5d5d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ self-hosted-runner:
# Configuration variables in array of strings defined in your repository or organization
config-variables:
- GIT_DOCKER_REPO
- NEW_RELIC_REGION
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ docker compose in a git repository with automatic deployments on the docker host

## Wiki

### Environment variables and secrets:

The Pipelines requires the following **environment variables** and **secrets** to be set in the repo:

#### Environment variables:

- **GIT_DOCKER_REPO** = Path to repository on host (e.g /opt/git/GitOps-docker)
- **NEW_RELIC_REGION** = New Relic region from you NR accout (EU/US) - Only needed when New Relic change tracking is used

#### SECRETS:

- **NEW_RELIC_API_KEY** = API Key for New Relic - Only needed when New Relic change tracking is used
- \*\* NEW_RELIC_ENTITY_GUID-(hostnumber)\*\* = New Relic entity GUID - Only needed when New Relic change tracking is used

### Precommit

This repo uses [Pre-Commit](https://pre-commit.com/) to lint some things before committing and pushing to git.
Expand Down

0 comments on commit 45b5d5d

Please sign in to comment.