skypilot-users
How to manage skypilot SSH keys and cloud credentials for CI/Github actions?
An
Andrew Aikawa (asaiacai)
Asked on Aug 09, 2023
To manage skypilot SSH keys and cloud credentials for CI/Github actions, you can follow these steps:
- For cloud credentials, determine which cloud provider you are using (e.g., GCP, AWS, Azure).
- Set up the necessary environment variables or configuration files for the cloud provider in your CI/Github actions workflow.
- For skypilot SSH keys, you can create and store them securely in your CI/Github actions secrets or encrypted files.
- In your deployment workflow, use the appropriate commands or tools to configure the SSH keys and cloud credentials for skypilot.
Here's an example for GCP:
-v "$HOME/.ssh/sky-key.pub:/root/.ssh/sky-key.pub" \
-v "$HOME/.ssh/sky-key:/root/.ssh/sky-key" \
-v "$HOME/.sky:/root/.sky" ```
Aug 09, 2023Edited by