From 4287c46b5126c3c87726a1eb61f1f8f2e8bc7428 Mon Sep 17 00:00:00 2001 From: VimleshGupta Date: Mon, 17 Jun 2024 17:17:26 +0100 Subject: [PATCH 1/2] Add instruction to add newly created repo in the github_repositories.tf --- manual/create-repo.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/manual/create-repo.md b/manual/create-repo.md index 9544b2f..b7c2d91 100644 --- a/manual/create-repo.md +++ b/manual/create-repo.md @@ -1,4 +1,4 @@ -# Create a repo +~~# Create a repo ## 1. Create Repo on GitHub @@ -155,6 +155,14 @@ Make sure that each of the files you add, contain all the dependencies/commands * Add the new project to the repo list in the README of **this** project * If the project is a Scala project, add the repository to the [list of repos maintained by Scala Steward] +## 11. Add the repo in the tdr-configurations +* Go to [github_repositories][github-repositories] and add your newly created repository to the list. If your repo starts with `tdr-` then add it in the `github_tdr_active_repositories` or if it starts with `da-` +then add it in the `github_da_active_repositories` list + * Update the submodule hash for the tdr-configurations in the following repositories and then deploy the changes + * [tdr-terraform-environments][terraform-environments] + * [tdr-terraform-backend][terraform-backend] + * [tdr-terraform-github][terraform-github] + [dependabot-config]: https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/enabling-and-disabling-version-updates [example-repo-workflow-files]: https://github.com/nationalarchives/tdr-consignment-api/tree/master/.github/workflows @@ -174,3 +182,8 @@ Make sure that each of the files you add, contain all the dependencies/commands [terraform-environments-module-example]: https://github.com/nationalarchives/tdr-terraform-environments/blob/master/root_github.tf#L407 [workflow-files]: https://github.com/nationalarchives/tdr-github-actions/tree/main/.github/workflows + +[github-repositories]: https://github.com/nationalarchives/tdr-configurations/blob/master/terraform/github_repositories.tf +[terraform-environments]: https://github.com/nationalarchives/tdr-terraform-environments +[terraform-backend]: https://github.com/nationalarchives/tdr-terraform-backend +[terraform-github]: https://github.com/nationalarchives/tdr-terraform-github From 35daa5f3e30a7fa2f69fb44dbe22445034f7b310 Mon Sep 17 00:00:00 2001 From: VimleshGupta Date: Mon, 17 Jun 2024 17:20:40 +0100 Subject: [PATCH 2/2] Remove text --- manual/create-repo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/create-repo.md b/manual/create-repo.md index b7c2d91..f661f9f 100644 --- a/manual/create-repo.md +++ b/manual/create-repo.md @@ -1,4 +1,4 @@ -~~# Create a repo +# Create a repo ## 1. Create Repo on GitHub