Skip to content

Commit

Permalink
Add clarification about topic for add_secrets script
Browse files Browse the repository at this point in the history
  • Loading branch information
pallost committed Jan 10, 2022
1 parent 30bbdb2 commit 1e11f2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ steps:

### add_secrets.py

Adds robot users hsl-id e-mail and password to all jore4 repositories.
Adds robot users hsl-id e-mail and password to jore4 repositories which have
`jore4` added as
[topic](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics#about-topics).

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.
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.

Expand Down

0 comments on commit 1e11f2f

Please sign in to comment.