Skip to content

Commit 30bbdb2

Browse files
committed
Added requirements and instructions on where to find secrest to readme
1 parent ea95249 commit 30bbdb2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,9 @@ steps:
103103
### add_secrets.py
104104

105105
Adds robot users hsl-id e-mail and password to all jore4 repositories.
106-
Uses file named `test_users.json` as input for user details. This file should be created by changing placeholder values in `tests_users_template.json` to correct passwords and e-mails.
106+
Uses file named `test_users.json` as input for user details. This file should be created by changing placeholder values in `tests_users_template.json` to correct passwords and e-mails, these can be found from the hsl-jore4-common key-vault as secrets.
107107
After the script is run the secrets can be found by going to repositorys `Settings` page in github and then selecting `Secrets` tab. There should be now secrets named `ROBOT_HSLID_EMAIL` and `ROBOT_HSLID_PASSWORD` and they should show that they have been updated when you ran the script.
108+
109+
Example usage:
110+
`python3 add_secrets.py`
111+
Running the script requires that you have python and GitHub CLI installed and access to HSLdevcom organization in GitHub. Instructions for installing GitHub CLI can be found here: https://github.com/cli/cli#installation

0 commit comments

Comments
 (0)