Skip to content

Commit 94a3de4

Browse files
authored
Merge pull request #438 from input-output-hk/jpraynaud/364-genesis-certificate
Implement Real Genesis Certificate
2 parents 3f9a99a + c0e1cff commit 94a3de4

File tree

82 files changed

+3163
-600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+3163
-600
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ jobs:
491491
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
492492
# Contains a RSA private key
493493
GCLOUD_PRIVATE_KEY: ${{ secrets.GCLOUD_PRIVATE_KEY }}
494+
GENESIS_SECRET_KEY: ${{ secrets.TEST_ONLY_GENESIS_SECRET_KEY }}
494495
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
495496

496497
defaults:
@@ -519,7 +520,7 @@ jobs:
519520

520521
- name: Terraform Plan
521522
run: |
522-
terraform plan -var "image_id=${{ env.BRANCH_NAME }}-${{ steps.slug.outputs.sha8 }}" -var 'private_key=${{ env.GCLOUD_PRIVATE_KEY }}' -var 'google_application_credentials_json=${{ env.GOOGLE_CREDENTIALS }}'
523+
terraform plan -var "image_id=${{ env.BRANCH_NAME }}-${{ steps.slug.outputs.sha8 }}" -var 'private_key=${{ env.GCLOUD_PRIVATE_KEY }}' -var 'google_application_credentials_json=${{ env.GOOGLE_CREDENTIALS }}' -var 'genesis_secret_key=${{ env.GENESIS_SECRET_KEY }}'
523524
524525
- name: Update Pull Request
525526
uses: actions/github-script@v6
@@ -554,4 +555,4 @@ jobs:
554555
- name: Terraform Apply
555556
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
556557
run: |
557-
terraform apply -auto-approve -var "image_id=${{ env.BRANCH_NAME }}-${{ steps.slug.outputs.sha8 }}" -var 'private_key=${{ env.GCLOUD_PRIVATE_KEY }}' -var 'google_application_credentials_json=${{ env.GOOGLE_CREDENTIALS }}'
558+
terraform apply -auto-approve -var "image_id=${{ env.BRANCH_NAME }}-${{ steps.slug.outputs.sha8 }}" -var 'private_key=${{ env.GCLOUD_PRIVATE_KEY }}' -var 'google_application_credentials_json=${{ env.GOOGLE_CREDENTIALS }}' -var 'genesis_secret_key=${{ env.GENESIS_SECRET_KEY }}'

Cargo.lock

Lines changed: 149 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TEST_ONLY_genesis.vkey

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5b3132372c37332c3132342c3136312c362c3133372c3133312c3231332c3230372c3131372c3139382c38352c3137362c3139392c3136322c3234312c36382c3132332c3131392c3134352c31332c3233322c3234332c34392c3232392c322c3234392c3230352c3230352c33392c3233352c34345d

docs/blog/2022-09-07-genesis-certificate-feature.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ authors:
44
- name: Mithril Team
55
tags: [genesis, breaking-change]
66
---
7+
8+
**Update**: The PR has been merged and the feature is being deployed on the GCP Mithril Aggregator.
9+
710
### This afternoon, we plan to merge the PR that activates the Genesis Certificate feature on the GCP Mithril Aggregator
811

912
**PR**: `Implement Real Genesis Certificate` [#438](https://github.com/input-output-hk/mithril/pull/438)

0 commit comments

Comments
 (0)