-
Notifications
You must be signed in to change notification settings - Fork 752
39 lines (33 loc) · 1.17 KB
/
lf-oracle-production-deploy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 }}