From d72875bf122990861fb93bad7475cf6532cfa0b4 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Sun, 20 Nov 2022 00:50:32 +0000 Subject: [PATCH] Add note about woodpecker_agent metadata value --- woodpecker-ci/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/woodpecker-ci/README.md b/woodpecker-ci/README.md index a52b61a..b73b22a 100644 --- a/woodpecker-ci/README.md +++ b/woodpecker-ci/README.md @@ -6,4 +6,6 @@ These files contain URLs and server IPs that will need to be changed, as well as Woodpecker requires one volume to store its database. This volume should be called `woodpecker` and it should be read/write, not readonly. -Once Woodpecker starts, you should be able to go to it, and log in via your Gitea account. \ No newline at end of file +Once Woodpecker starts, you should be able to go to it, and log in via your Gitea account. + +The woodpecker agent file will start the agent on all nodes with the `woodpecker_agent` custom metadata value set to `true`. You can look at the following documentation for an example of how to set metadata: https://developer.hashicorp.com/nomad/docs/configuration/client#custom-metadata-network-speed-and-node-class \ No newline at end of file