summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2020-03-24 15:34:27 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2020-03-26 12:07:18 +0100
commit664abde013be0d898b4b37034a5c05d93e7b259e (patch)
tree5da697f20921f5ac13add16ec70e28992d652aaa
parent50020b4d53245e62812cc6e54d492d0251840147 (diff)
Update path to ci bot ssh key
Let's assume that the coin-secrets repo is checked out. We can use that for more secrets then in the future. Change-Id: I570621b99caefee7b71bbdea7f0c38c338f8c2a5 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--src/qtmoduleupdater/.gitignore2
-rw-r--r--src/qtmoduleupdater/main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qtmoduleupdater/.gitignore b/src/qtmoduleupdater/.gitignore
index bd5a8468..36c014eb 100644
--- a/src/qtmoduleupdater/.gitignore
+++ b/src/qtmoduleupdater/.gitignore
@@ -2,4 +2,4 @@ git-repos
.vscode
qtmoduleupdater
state_*.json
-submodule_update_bot_key_rsa
+coin-secrets
diff --git a/src/qtmoduleupdater/main.go b/src/qtmoduleupdater/main.go
index 27d68042..38240b8e 100644
--- a/src/qtmoduleupdater/main.go
+++ b/src/qtmoduleupdater/main.go
@@ -36,7 +36,7 @@ import (
)
func setupEnvironmentForSubmoduleUpdateBot() (username string, err error) {
- submoduleUpdateBotKeyPath := "submodule_update_bot_key_rsa"
+ submoduleUpdateBotKeyPath := "coin-secrets/submodule_update_bot_key_rsa"
if _, err = os.Stat(submoduleUpdateBotKeyPath); os.IsNotExist(err) {
err = fmt.Errorf("cannot locate submodule update bot SSH key file. Please copy it from the coin secrets repo into the current directory")
return