Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Ten Gateway as an application running inside SGX container #1922

Closed

Conversation

zkokelj
Copy link
Contributor

@zkokelj zkokelj commented May 20, 2024

Why this change is needed

Please provide a description and a link to the underlying ticket

What changes were made as part of this PR

Please provide a high level list of the changes made

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

Copy link
Contributor

@anixon604 anixon604 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple small things, mainly thinking of the pem, see comments.

steps:
- name: 'Print GitHub variables'
if: matrix.testnet_type == github.event.inputs.testnet_type
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to reduce the matrix condition checks by having a top level step - cause each matrix will iterate overall the steps then to the next matrix:

        - name: 'Check if selected testnet matches matrix testnet'
        if: matrix.testnet_type != github.event.inputs.testnet_type
        run: exit 0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice one, thanks 🙏
fixed

@@ -0,0 +1,39 @@
-----BEGIN RSA PRIVATE KEY-----
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible that we put this in a gh secret and then pull it out, https://tinyurl.com/yc78scsm

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added that, but I think we will need to change it also for L2 deployment. The same testnet.pem file is also there.

@zkokelj
Copy link
Contributor Author

zkokelj commented Sep 10, 2024

split it into multiple smaller PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants