From d5b65e6e41a0e6f6709bae4905b2de4e966d58f3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 6 May 2021 14:38:13 +0200 Subject: [PATCH] yaml! --- .github/workflows/docker_build.yaml | 2 +- .github/workflows/mysql.yaml | 2 +- .github/workflows/postgresql.yaml | 2 +- InvenTree/company/fixtures/company.yaml | 2 +- InvenTree/config_template.yaml | 4 ++-- InvenTree/part/fixtures/category.yaml | 2 +- InvenTree/stock/fixtures/location.yaml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker_build.yaml b/.github/workflows/docker_build.yaml index 89d52664e4..26fc69a0f5 100644 --- a/.github/workflows/docker_build.yaml +++ b/.github/workflows/docker_build.yaml @@ -8,7 +8,7 @@ on: - 'master' jobs: - + docker: runs-on: ubuntu-latest diff --git a/.github/workflows/mysql.yaml b/.github/workflows/mysql.yaml index 087a866fbd..5bafe56253 100644 --- a/.github/workflows/mysql.yaml +++ b/.github/workflows/mysql.yaml @@ -33,7 +33,7 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 ports: - 3306:3306 - + steps: - name: Checkout Code uses: actions/checkout@v2 diff --git a/.github/workflows/postgresql.yaml b/.github/workflows/postgresql.yaml index ae8f52b962..3481895d85 100644 --- a/.github/workflows/postgresql.yaml +++ b/.github/workflows/postgresql.yaml @@ -5,7 +5,7 @@ name: PostgreSQL on: ["push", "pull_request"] jobs: - + test: runs-on: ubuntu-latest diff --git a/InvenTree/company/fixtures/company.yaml b/InvenTree/company/fixtures/company.yaml index c302b6efad..3113d6209f 100644 --- a/InvenTree/company/fixtures/company.yaml +++ b/InvenTree/company/fixtures/company.yaml @@ -24,7 +24,7 @@ name: A customer description: A company that we sell things to! is_customer: True - + - model: company.company pk: 5 fields: diff --git a/InvenTree/config_template.yaml b/InvenTree/config_template.yaml index de09e37e4f..87dfb6b545 100644 --- a/InvenTree/config_template.yaml +++ b/InvenTree/config_template.yaml @@ -11,7 +11,7 @@ database: # or specify database options using environment variables # Refer to the django documentation for full list of options - + # --- Available options: --- # ENGINE: Database engine. Selection from: # - sqlite3 @@ -114,7 +114,7 @@ allowed_hosts: cors: # CORS_ORIGIN_ALLOW_ALL - If True, the whitelist will not be used and all origins will be accepted. allow_all: True - + # CORS_ORIGIN_WHITELIST - A list of origins that are authorized to make cross-site HTTP requests. Defaults to [] # whitelist: # - https://example.com diff --git a/InvenTree/part/fixtures/category.yaml b/InvenTree/part/fixtures/category.yaml index ad40b6b1fd..106cb60b95 100644 --- a/InvenTree/part/fixtures/category.yaml +++ b/InvenTree/part/fixtures/category.yaml @@ -82,7 +82,7 @@ tree_id: 2 lft: 1 rght: 4 - + - model: part.partcategory pk: 8 fields: diff --git a/InvenTree/stock/fixtures/location.yaml b/InvenTree/stock/fixtures/location.yaml index 1d5d1300af..cb1bdfac99 100644 --- a/InvenTree/stock/fixtures/location.yaml +++ b/InvenTree/stock/fixtures/location.yaml @@ -63,7 +63,7 @@ tree_id: 2 lft: 4 rght: 5 - + - model: stock.stocklocation pk: 7 fields: