Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrasimir Angelov <kangelov@gitlab.com>2019-10-31 03:51:24 +0300
committerKrasimir Angelov <kangelov@gitlab.com>2019-11-06 02:44:48 +0300
commite4daad77c9124e616002b2fb2ea3d96094132761 (patch)
tree39c4458de8f8ef2d765aefc70bbcab4b8178039a /acceptance_test.go
parent566f49ea74c88a50e4a4b572f37af3184a33499d (diff)
Add minimal support for the api-secret-key config flag
Related to https://gitlab.com/gitlab-org/gitlab/issues/28781 and https://gitlab.com/gitlab-org/gitlab-pages/issues/253.
Diffstat (limited to 'acceptance_test.go')
-rw-r--r--acceptance_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/acceptance_test.go b/acceptance_test.go
index 44dbc90d..ec807d3d 100644
--- a/acceptance_test.go
+++ b/acceptance_test.go
@@ -1513,3 +1513,9 @@ func TestTLSVersions(t *testing.T) {
})
}
}
+
+func TestApiSecretKeyFlagIsSupported(t *testing.T) {
+ skipUnlessEnabled(t)
+ teardown := RunPagesProcess(t, *pagesBinary, listeners, "", "-api-secret-key", "/path/to/secret.key")
+ defer teardown()
+}