-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jgough
committed
Dec 3, 2024
1 parent
49f6426
commit 446a636
Showing
2 changed files
with
6 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,12 @@ | ||
# template | ||
# Datatrails Serialization | ||
|
||
This repo is a template for all other repos. | ||
## Overview | ||
|
||
Create a new repo using this repo as the template. | ||
Repository for go modules that serialize data, that will be added to the immutable log. | ||
|
||
Additionally update the avid-global-terraform repo by copying the | ||
entry for 'template': | ||
|
||
``` | ||
"template" = { | ||
branch_protection_enabled = true | ||
repo_name = "template" | ||
default_branch = "main" | ||
default_branch_required_status_checks_contexts = [ | ||
"check_pr / Check Commit Message", | ||
] | ||
azuredevops_environments = {} | ||
azuredevops_pipelines = {} | ||
}, | ||
``` | ||
## Merkle Log | ||
|
||
to an entry with the same name as the new repo: | ||
|
||
``` | ||
"new-repo" = { | ||
branch_protection_enabled = true | ||
repo_name = "new-repo" | ||
default_branch = "main" | ||
default_branch_required_status_checks_contexts = [ | ||
"check_pr / Check Commit Message", | ||
] | ||
azuredevops_environments = {} | ||
azuredevops_pipelines = {} | ||
}, | ||
``` | ||
|
||
and run: | ||
|
||
task terraform-apply-repos | ||
For the merkle immutable log, once the data has been serialized, it can be hashed into the `Event Hash`, which when combined with the `MMR Salt` can | ||
be used to find the corresponding `MMR Entry` | ||
|
This file was deleted.
Oops, something went wrong.