Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Merge pull request #15 from loadsmart/chore/remove-catalog-info #15

Merge pull request #15 from loadsmart/chore/remove-catalog-info

Merge pull request #15 from loadsmart/chore/remove-catalog-info #15

name: check quickstart
on:
push:
branches:
- master
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test-quickstart:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install acryl-datahub
run: |
pip install --upgrade acryl-datahub
datahub version
python -c "import platform; print(platform.platform())"
- name: Run quickstart
run: |
datahub docker quickstart --dump-logs-on-failure
- name: Ingest sample data
run: |
datahub docker ingest-sample-data
- name: See status
run: |
docker ps -a && datahub docker check
- name: store logs
if: failure()
run: |
docker logs datahub-gms >& quickstart-gms.log
- name: Upload logs
uses: actions/upload-artifact@v3
if: failure()
with:
name: docker-quickstart-logs-${{ matrix.os }}
path: "*.log"