Empty commit #11
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
name: Deploy Configurations To Combined QA Development DB | |
on: | |
push: | |
branches: | |
- 'extract-retl-qa' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
# Only merged pull requests must trigger | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install Dependencies | |
env: | |
HUSKY: 0 | |
run: | | |
npm ci | |
- name: Execute Unit Tests | |
env: | |
HUSKY: 0 | |
run: | | |
npm run test | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9.13' | |
- name: Display Python Version | |
run: | | |
which python | |
python -c "import sys; print(sys.version)" | |
- name: Install Python Dependencies | |
run: python -m pip install --upgrade pip requests jsondiff | |
- name: Display Working Directory Files | |
run: | | |
echo current directory | |
pwd | |
ls -a | |
- name: Display Current Package Version | |
run: echo $(jq -r .version package.json) | |
- name: Deploy To Extract Staging Development DB | |
env: | |
API_USER: ${{secrets.DEV_USERNAME}} | |
API_PASSWORD: ${{secrets.DEV_PASSWORD}} | |
run: | | |
python scripts/deployToDB.py https://api.dev.rudderlabs.com |