-
Notifications
You must be signed in to change notification settings - Fork 8
Request ephemeral Hypernode when necessary #45
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
Conversation
src/DeployRunner.php
Outdated
| $this->log->info(sprintf('Successfully requested ephemeral Hypernode, name is %s.', $ephemeralApp)); | ||
| $this->log->info('Waiting for ephemeral Hypernode to become available...'); | ||
| $this->waitForEphemeralApp($ephemeralApp); | ||
| $this->log->info('Ephemeral Hypernode has become available!'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very cool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to add a part of the integration test here. Perhaps in parallel to the Docker integration test.
Let's order a Hypernode called something like "hndeployintegr" and test with that API token
eecadbd to
be3083b
Compare
be3083b to
58262d3
Compare
1f383fc to
b913e28
Compare
…o create_ephemeral_hypernode Conflicts: runtests.sh
cc12385 to
7d82205
Compare
AlexanderGrooff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of things. First of all, looks like a lot of great features! However, it's a lot of features in a single PR.
If we're going to merge this to master I'd like to do this in separate PRs. The easier route would be to base this on a separate v3 branch, just like we already do in deploy-configuration
| @@ -0,0 +1 @@ | |||
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDqf5tGbhjIbRQJ40bTvw69z0kUHQEeDtGkX5DTzXJ1IPHcFpbq+nxc3f++45V8FA3fq31xTjCR3+TWy/AGCVmuntVwJVCEaC/U3X0YDscmzAA4LEOfmMHIGnrJdeTJS4+N6L5uIlZqyBIeJXyEEgFpcHm4i1HGm13DR/XG7lTaXSkRI9IVb0i3S0VdrRjtqkg4M3ZjgNfAwmoDE3dGNwIBH5EVy8t/YNj/RH0TNdhTDL3AGwne6h2bTWb5SNLHNXvu2Wc5aiJlvn2E2W7mcpnPxEkVs1AeDEaPHcLaGE2+Bt/I4ntyjOy9pFDcf28sPKj76S3Sq0Wwdb8rYmT+lerIPfjwj1VPXTU1dhvDJ1ffTufp3Sn67qi7NfBMYayYxLJWh9q84RHgYhog2SNXM+autsTU40GDZUtDtORRZ+Rg5i1cGxUCRT+Fpcx3aFCM/yTLvU80qZkmfgkQwKnGCCFygDsXPuFbyRXRz9MI1+lYGg17ufW5HSHrAw34Rw2yd8k= hypernode-deploy-ci | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this file used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the pub key of the keypair used to login to hndeployintegr8. I could leave it out
| * @throws HypernodeApiServerException | ||
| * @throws TimeoutException | ||
| */ | ||
| public function waitForAvailability(string $ephemeralHypernode, int $timeout = 900): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not make this available in the api client itself instead of in the deploy library?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, I think it'd be nice to do that later on
…o create_ephemeral_hypernode � Conflicts: � src/Command/Build.php � src/Command/Deploy.php � src/DeployRunner.php
No description provided.