Deploy standalone pd, preview #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Deploys a standalone instance of pd, specifically to exercise the auto-https direct-serve logic. | |
name: Deploy standalone pd, preview | |
on: | |
# Only run when triggered manually. | |
workflow_dispatch: | |
workflow_call: | |
# Queue deploys serially. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
name: deploy jawn | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: configure ssh identity | |
run: |- | |
mkdir -p ~/.ssh | |
chmod 700 ~/.ssh | |
echo "$SSH_PRIVKEY" > ~/.ssh/id_ed25519 | |
chmod 600 ~/.ssh/id_ed25519 | |
echo "$SSH_HOSTKEYS" > ~/.ssh/known_hosts | |
env: | |
SSH_PRIVKEY: ${{ secrets.CI_RUNNER_SSH_PRIVKEY }} | |
SSH_HOSTKEYS: ${{ secrets.CI_RUNNER_SSH_HOSTKEYS }} | |
- name: deploy | |
shell: bash | |
run: |- | |
export PENUMBRA_VERSION="main" | |
export PENUMBRA_ENVIRONMENT="penumbra-preview" | |
# TODO: iterate on this workflow in a separate PR. need the base in main first. | |
./deployments/scripts/redeploy-ci-fullnode-via-runner |