LF Oracle Production Deploy #281
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
name: LF Oracle Production Deploy | |
on: | |
workflow_dispatch: | |
inputs: | |
services: | |
description: Space separated list of services to deploy | |
required: true | |
env: | |
CLOUD_ENV: lf-oracle-production | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} | |
ORACLE_USER: ${{ secrets.ORACLE_USER }} | |
ORACLE_TENANT: ${{ secrets.ORACLE_TENANT }} | |
ORACLE_REGION: ${{ secrets.ORACLE_REGION }} | |
ORACLE_FINGERPRINT: ${{ secrets.ORACLE_FINGERPRINT }} | |
ORACLE_KEY: ${{ secrets.ORACLE_KEY }} | |
ORACLE_CLUSTER: ${{ secrets.ORACLE_CLUSTER }} | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install OCI | |
run: | | |
curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh > install.sh | |
chmod +x install.sh | |
./install.sh --accept-all-defaults | |
echo "OCI_CLI_DIR=/home/runner/bin" >> $GITHUB_ENV | |
- name: Update PATH | |
run: echo "${{ env.OCI_CLI_DIR }}" >> $GITHUB_PATH | |
- uses: ./.github/actions/node/builder | |
with: | |
services: ${{ github.event.inputs.services }} |