[PR #1117] [MERGED] Read integration test config from Env #1890

Closed
opened 2025-12-29 03:18:39 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1117
Author: @kradalby
Created: 1/5/2023
Status: Merged
Merged: 1/6/2023
Merged by: @kradalby

Base: mainHead: integration-read-config-from-env


📝 Commits (1)

  • f019dda Read integration test config from Env

📊 Changes

2 files changed (+55 additions, -13 deletions)

View changed files

📝 integration/hsic/config.go (+34 -0)
📝 integration/hsic/hsic.go (+21 -13)

📄 Description

This commit sets the Headscale config from env instead of file for integration tests, the main point is to make sure that when we add per test config, it properly replaces the config key and not append it or something similar.

Signed-off-by: Kristoffer Dalby kristoffer@tailscale.com


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/1117 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 1/5/2023 **Status:** ✅ Merged **Merged:** 1/6/2023 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `integration-read-config-from-env` --- ### 📝 Commits (1) - [`f019dda`](https://github.com/juanfont/headscale/commit/f019ddaeea91c8e39fd2e230ba004c80bfc7a494) Read integration test config from Env ### 📊 Changes **2 files changed** (+55 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `integration/hsic/config.go` (+34 -0) 📝 `integration/hsic/hsic.go` (+21 -13) </details> ### 📄 Description This commit sets the Headscale config from env instead of file for integration tests, the main point is to make sure that when we add per test config, it properly replaces the config key and not append it or something similar. Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:18:39 +01:00
adam closed this issue 2025-12-29 03:18:39 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1890