From ab3deeed1c94bd5029d77ec56e334c9f1bf08b9a Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 15 Feb 2026 23:24:58 +1100 Subject: [PATCH] Comment out stable job in import_data.yaml (#102) Commented out the stable job and its steps in the workflow. --- .github/workflows/import_data.yaml | 58 +++++++++++++++--------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/import_data.yaml b/.github/workflows/import_data.yaml index ffb6294..9579138 100644 --- a/.github/workflows/import_data.yaml +++ b/.github/workflows/import_data.yaml @@ -3,36 +3,36 @@ name: Import Dataset on: ["push", "pull_request"] jobs: - stable: - runs-on: ubuntu-latest - - env: - INVENTREE_SITE_URL: http://localhost:8000 - INVENTREE_DB_ENGINE: sqlite3 - INVENTREE_DB_NAME: inventree_db_stable.sqlite3 - INVENTREE_BACKUP_DIR: $GITHUB_WORKSPACE/path/to/backup - INVENTREE_MEDIA_ROOT: $GITHUB_WORKSPACE/path/to/media - INVENTREE_STATIC_ROOT: $GITHUB_WORKSPACE/path/to/static +# stable: +# runs-on: ubuntu-latest +# +# env: +# INVENTREE_SITE_URL: http://localhost:8000 +# INVENTREE_DB_ENGINE: sqlite3 +# INVENTREE_DB_NAME: inventree_db_stable.sqlite3 +# INVENTREE_BACKUP_DIR: $GITHUB_WORKSPACE/path/to/backup +# INVENTREE_MEDIA_ROOT: $GITHUB_WORKSPACE/path/to/media +# INVENTREE_STATIC_ROOT: $GITHUB_WORKSPACE/path/to/static - steps: - - name: Checkout Code - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: 3.11 - - name: Install InvenTree - run: | - sudo apt-get install python3-dev python3-pip python3-venv python3-wheel g++ - pip3 install invoke - git clone --depth 1 https://github.com/inventree/inventree inventree -b stable - cd inventree - invoke install - - name: Import Database Records - run: | - cd inventree - invoke migrate - invoke import-records -c -f $GITHUB_WORKSPACE/inventree_data.json +# steps: +# - name: Checkout Code +# uses: actions/checkout@v2 +# - name: Setup Python +# uses: actions/setup-python@v2 +# with: +# python-version: 3.11 +# - name: Install InvenTree +# run: | +# sudo apt-get install python3-dev python3-pip python3-venv python3-wheel g++ +# pip3 install invoke +# git clone --depth 1 https://github.com/inventree/inventree inventree -b stable +# cd inventree +# invoke install +# - name: Import Database Records +# run: | +# cd inventree +# invoke migrate +# invoke import-records -c -f $GITHUB_WORKSPACE/inventree_data.json latest: runs-on: ubuntu-latest