-
Notifications
You must be signed in to change notification settings - Fork 1
Adding an Authority
References:
Steps
- create QA authority config and put it in /configs/authorities/linked_data using the
dev
branch as the base - create connection and validation tests and put test file in /configs/authorities/linked_data/scenarios using the
dev
branch as the base - create a PR for the files to go into the
dev
branch
CAUTION: This repository is a fork. It will attempt to send PRs to the source repository, but you want to commit all changes to this repository. When you create the PR, change base repository
to be this repository.
There are several GitHub Actions that perform the required steps. For integration and staging, these will run automatically when the dev
and main
branches, respectively, are updated in the /configs/authorities/linked_data
directory. The production machine is always manually updated. All of the scripts can be run manually if needed.
The following describe how to run each of the GitHub Actions related to adding new authorities to the application.
_NOTE: The instructions are for the production machine (-prod
). The same instructions can be used to update the integration and staging machines by changing -prod
to -int
and -stg
, respectively.
- cul-it/qa_server_aws_deploy -> Actions (tab)
- click:
sync-s3-prod
(in the left side bar) - click:
Run workflow
(above table of recently run workflows) - select:
main
branch (keep as defaultdev
branch for integration; usemain
for staging and production) - click button: Run workflow
Authorities are not loaded in the application when new configurations are added. There is a GitHub action that will reload the authorities in the application. For integration and staging, these actions should automatically run.
NOTE: There is a 1 hour delay between the completion of the Sync action and the running of the Reload action. There are additional processes that have to complete in AWS once the files are in the S3 storage. For integration and staging, this delay happens automatically. For production, you will need to wait an hour before kicking off the reload authorities action.
WAIT: You have to wait one hour for the synchronization process to fully complete.
- cul-it/qa_server_aws_deploy -> Actions (tab)
- click:
reload-auths-prod
(in the left side bar) - click:
Run workflow
(above table of recently run workflows) - select:
dev
branch (branch doesn't really matter because this kicks off a process in the application) - click button: Run workflow