afelicioni / ovh-power-managed-nodejs

Basic repository with source code and action workflows to set OVHcloud managed node.js platform auto deploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ovh-power-managed-nodejs

OVHcloud opened managed node.js hosting platform to testers under OVHcloud Labs program, for which deployment can be leveraged via Github actions using this repository as template.

Having OVHcloud getting started guide as reference, source code and action workflows can be set up on single repository.

path purpose
src sample NodeJS source
.github/workflows workflow procedure and utility scripts

Using Github action secrets to store OVHcloud and Github related credentials to make everything work.

Definitions

As destination meaning entity where app will be deployed; actual scenario represented by managed hosting by OHVcloud.

Using remote in reference to the git service hosting app code, represented by Github in actual scenario.

Action secrets

secret purpose
DESTINATION_FINGERPRINT Represents fingerprint for which autenticity will be checked during workflow. Can be generated with command like ssh-keyscan -t rsa ssh.clusterNNN.hosting.ovh.net | ssh-keygen -lf - and at the end should be checked against OVHcloud. On matching, its made an attempt to add key to known_hosts file
DESTINATION_HOST Represents destination ssh host, sent you from OHVcloud on activation email. Can be a value similar to ssh.clusterNNN.hosting.ovh.net
DESTINATION_IDENTITY Represents ssh private key to connect to deploy server. Copy & paste full content, multiline, including -----BEGIN OPENSSH PRIVATE KEY----- (...) -----END OPENSSH PRIVATE KEY-----
DESTINATION_USER Represents destination ssh user, sent you from OHVcloud on activation email. Can be a value similar to efjoidlk
REMOTE_FINGERPRINT Represents fingerprint for which autenticity will be checked during workflow. Can be generated with command like ssh-keyscan -t rsa github.com | ssh-keygen -lf - and at the end should be checked against Github. On matching, its made an attempt to add key to known_hosts file
REMOTE_HOST Represents remote git host accessed via ssh. On actual scenario value is github.com
REMOTE_IDENTITY Represents ssh private key to connect to git. Copy & paste full content, multiline, including -----BEGIN OPENSSH PRIVATE KEY----- (...) -----END OPENSSH PRIVATE KEY-----

About

Basic repository with source code and action workflows to set OVHcloud managed node.js platform auto deploy


Languages

Language:Shell 92.1%Language:JavaScript 7.9%