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

Define node instances in format "${chain}-${name}" #670

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

MucTepDayH16
Copy link
Contributor

This allow to name nodes in different chains with non-unique names.

Naming like "polkadot-alice", "statemint-alice", "equilibrium-alice" is more obvious than "alice", "alice1", "alice2", ...

@cla-bot-2021
Copy link

cla-bot-2021 bot commented Dec 23, 2022

User @muctep-dehuc, please sign the CLA here.

Signed-off-by: denis.drozhzhin <[email protected]>
Signed-off-by: denis.drozhzhin <[email protected]>
@@ -94,6 +111,7 @@ export async function genNodeDef(
runAsUser: 1000,
runAsGroup: 1000,
},
imagePullSecrets: [{ name: "gitlab" }],
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be configurable if needed by the users.

@@ -111,6 +129,8 @@ function make_transfer_containter(): any {
"ash",
"-c",
[
"sleep 60",
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is any reason to sleep before download curl?

@pepoviola
Copy link
Collaborator

Hi @MucTepDayH16, I like the idea! thanks for the pr. I just made a couple of comments but in general looks good :)

I will also check the test in our ci.

thanks for contributing!!

Signed-off-by: denis.drozhzhin <[email protected]>
@MucTepDayH16
Copy link
Contributor Author

Sorry, just left some artifacts from our fork

@MucTepDayH16
Copy link
Contributor Author

@pepoviola as for the offtop, will there be an opportunity to fetch images from non-public repo using secret resources?

@wirednkod
Copy link
Contributor

@MucTepDayH16 any update on this?

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.

4 participants