From 638d31ec45c54abc4f4574687db8ec254234a835 Mon Sep 17 00:00:00 2001 From: Raghavendra Talur Date: Fri, 3 Jan 2025 02:11:57 -0500 Subject: [PATCH] e2e: add a sample config file as config.yaml.sample and remove the config.yaml from the git repo. This way users don't have to revert their changes to the config file before commiting changes. Signed-off-by: Raghavendra Talur --- .github/workflows/e2e.yaml | 1 + .gitignore | 3 +++ e2e/{config.yaml => config.yaml.sample} | 0 3 files changed, 4 insertions(+) rename e2e/{config.yaml => config.yaml.sample} (100%) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 8e26bed02..1f6a483ae 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -72,6 +72,7 @@ jobs: - name: Run e2e tests run: | + cat e2e/config.yaml.sample >> e2e/config.yaml cat ~/.config/drenv/rdr/config.yaml >> e2e/config.yaml make e2e-rdr diff --git a/.gitignore b/.gitignore index f4de2acb8..36813ec25 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,9 @@ /bin /testbin/* +# config files +/e2e/config.yaml + # Test binary, build with `go test -c` *.test diff --git a/e2e/config.yaml b/e2e/config.yaml.sample similarity index 100% rename from e2e/config.yaml rename to e2e/config.yaml.sample