Skip to content

Commit

Permalink
Merge pull request #81 from FalkorDB/56-add-ability-to-upload-config-…
Browse files Browse the repository at this point in the history
…file-for-redis-falkordb-module

try fix if
  • Loading branch information
dudizimber authored Jul 30, 2024
2 parents 9d50828 + 1fc4178 commit d84d7da
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build-test-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
environmentId: ${{ vars.OMNISTRATE_INTERNAL_DEV_ENVIRONMENT}}
extraParams: "--resource-key 'single-Zone' --instance-name 'test-replication-update-memory' --instance-description 'test-replication-update-memory' --instance-type 'e2-custom-4-8192' --new-instance-type 'e2-custom-8-16384' --storage-size '30' --rdb-config 'medium' --aof-config 'always'"
- name: PRO/Standalone - GCP/us-central1 - Upgrade Version
if: "${{ github.event_name == 'push' && (contains(github.ref, 'refs/tags/v') || contains(github.ref, 'main')) }}"
if: ${{ contains(github.ref, 'refs/tags/v') || contains(github.ref, 'main') }}
testFile: test_upgrade_version.py
tierName: pro-${{ github.ref_name }}
cloudProvider: gcp
Expand All @@ -202,7 +202,7 @@ jobs:
environmentId: ${{ vars.OMNISTRATE_INTERNAL_DEV_ENVIRONMENT}}
extraParams: "--resource-key 'standalone' --instance-name 'test-standalone-upgrade' --instance-description 'test-standalone-upgrade' --instance-type 'e2-custom-4-8192' --storage-size '30' --rdb-config 'medium' --aof-config 'always'"
- name: PRO/SingleZone - GCP/us-central1 - Upgrade Version
if: "${{ github.event_name == 'push' && (contains(github.ref, 'refs/tags/v') || contains(github.ref, 'main')) }}"
if: ${{ contains(github.ref, 'refs/tags/v') || contains(github.ref, 'main') }}
testFile: test_upgrade_version.py
tierName: pro-${{ github.ref_name }}
cloudProvider: gcp
Expand Down Expand Up @@ -254,17 +254,17 @@ jobs:

steps:
- name: Checkout
if: ${{ matrix.instances.if == 'true' }}
if: matrix.instances.if == 'true' || matrix.instances.if == true
uses: actions/checkout@v3

- name: Setup python
if: ${{ matrix.instances.if == 'true' }}
if: matrix.instances.if == 'true' || matrix.instances.if == true
uses: actions/setup-python@v2
with:
python-version: "3.x"

- name: Cache Poetry virtualenv
if: ${{ matrix.instances.if == 'true' }}
if: matrix.instances.if == 'true' || matrix.instances.if == true
id: cache
uses: actions/cache@v4
with:
Expand All @@ -274,18 +274,20 @@ jobs:
${{ runner.os }}-poetry-
- name: Install Poetry
if: steps.cache.outputs.cache-hit != true && ${{ matrix.instances.if == 'true' }}
env:
if: steps.cache.outputs.cache-hit != true && (matrix.instances.if == 'true' || matrix.instances.if == true)
env:
if: ${{ matrix.instances.if }}
if_equal_bool: ${{ matrix.instances.if == true }}
if_equal_str: ${{ matrix.instances.if == 'true' }}
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
if: ${{ matrix.instances.if == 'true' }}
if: matrix.instances.if == 'true' || matrix.instances.if == true
run: poetry install

- name: ${{ matrix.instances.name }}
if: ${{ matrix.instances.if == 'true' }}
if: matrix.instances.if == 'true' || matrix.instances.if == true
env:
SERVICE_ID: ${{ matrix.instances.serviceId }}
ENVIRONMENT_ID: ${{ matrix.instances.environmentId }}
Expand Down

0 comments on commit d84d7da

Please sign in to comment.