Skip to content

Commit

Permalink
pull the password out of the file
Browse files Browse the repository at this point in the history
I know it's still in the store, which I'm not *super* happy about... but I
don't see a better way of doing this. I have bcrypted it locally, though,
which Concourse allows.
  • Loading branch information
BrianHicks committed Sep 26, 2020
1 parent 69529e1 commit 6c67924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
/gitea/backups-*.key
/gitea/concourse_password
/gitea/result
/gitea/smtp_password
/result
Expand Down
3 changes: 2 additions & 1 deletion gitea/configuration.nix
Expand Up @@ -220,7 +220,8 @@ in {
];
environment = {
CONCOURSE_CLUSTER_NAME = "bytes.zone";
CONCOURSE_ADD_LOCAL_USER = "brian:test";
CONCOURSE_ADD_LOCAL_USER =
"brian:${builtins.readFile ./concourse_password}";
CONCOURSE_MAIN_TEAM_LOCAL_USER = "brian";
CONCOURSE_EXTERNAL_URL = "https://ci.bytes.zone";

Expand Down

0 comments on commit 6c67924

Please sign in to comment.