kikocis/falkordb-omnistrate public
Changesets · Branches · Tags · Compare
| Changeset | cb32d8ebd98d30cc95c9609c0288565b4de6a60b40c6e818d79e6638eb66e43e |
|---|---|
| Author | Dudi <16744955+dudizimber@users.noreply.github.com> · 2024-09-15 19:37 +03:00 |
| Committer | GitHub <noreply@github.com> · 2024-09-15 19:37 +03:00 |
| Parents | e1483c2db757, bcb865d3b09c |
2 files changed
modified .github/workflows/build-release-image.yaml +11 −9
| @@ -1,9 +1,11 @@ | ||
| 1 | 1 | name: Build and release image |
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | - push: | |
| 5 | - tags: | |
| 6 | - - v* | |
| 4 | + workflow_run: | |
| 5 | + workflows: ["Build and test image"] | |
| 6 | + types: | |
| 7 | + - completed | |
| 8 | + branches: ["v*.*.*"] | |
| 7 | 9 | workflow_dispatch: |
| 8 | 10 | |
| 9 | 11 | concurrency: |
| @@ -31,13 +33,13 @@ | ||
| 31 | 33 | image-name: falkordb-cluster-rebalance |
| 32 | 34 | steps: |
| 33 | 35 | - name: Checkout |
| 34 | - uses: actions/checkout@v3 | |
| 36 | + uses: actions/checkout@v4 | |
| 35 | 37 | |
| 36 | 38 | - name: Set up Docker Buildx |
| 37 | - uses: docker/setup-buildx-action@v2 | |
| 39 | + uses: docker/setup-buildx-action@v3 | |
| 38 | 40 | |
| 39 | 41 | - name: Login to Docker Hub |
| 40 | - uses: docker/login-action@v2 | |
| 42 | + uses: docker/login-action@v3 | |
| 41 | 43 | with: |
| 42 | 44 | username: ${{ secrets.DOCKER_USERNAME }} |
| 43 | 45 | password: ${{ secrets.DOCKER_PASSWORD }} |
| @@ -69,7 +71,7 @@ | ||
| 69 | 71 | steps: |
| 70 | 72 | - name: Checkout |
| 71 | 73 | if: ${{ contains(vars.OMNISTRATE_RELEASE_PLANS, matrix.plans.key) }} |
| 72 | - uses: actions/checkout@v3 | |
| 74 | + uses: actions/checkout@v4 | |
| 73 | 75 | |
| 74 | 76 | - name: Replace Variables |
| 75 | 77 | if: ${{ contains(vars.OMNISTRATE_RELEASE_PLANS, matrix.plans.key) }} |
| @@ -82,13 +84,13 @@ | ||
| 82 | 84 | sed -i 's/$FalkorDBClusterRebalanceImage/falkordb\/${{ env.CLUSTER_REBALANCE_IMAGE_NAME }}:dev-${{ github.event.head_commit.id }}/g' ${{ matrix.plans.file }} |
| 83 | 85 | |
| 84 | 86 | - name: Remove e2-machine from pro |
| 85 | - if: ${{ contains(vars.OMNISTRATE_RELEASE_PLANS, matrix.plans.key) && matrix.plans.key == 'pro' }} | |
| 87 | + if: ${{ contains( vars.OMNISTRATE_RELEASE_PLANS, matrix.plans.key) && matrix.plans.key == 'pro' }} | |
| 86 | 88 | run: | |
| 87 | 89 | sed -i 's/- e2-medium//g' ${{ matrix.plans.file }} |
| 88 | 90 | |
| 89 | 91 | - name: Upload yaml to artifacts |
| 90 | 92 | if: ${{ contains(vars.OMNISTRATE_RELEASE_PLANS, matrix.plans.key) }} |
| 91 | - uses: actions/upload-artifact@v2 | |
| 93 | + uses: actions/upload-artifact@v4 | |
| 92 | 94 | with: |
| 93 | 95 | name: ${{ matrix.plans.file }} |
| 94 | 96 | path: ${{ matrix.plans.file }} |
modified .github/workflows/delete-omnistrate-service-plan.yaml +0 −1
| @@ -4,7 +4,6 @@ | ||
| 4 | 4 | workflow_dispatch: |
| 5 | 5 | pull_request: |
| 6 | 6 | types: [closed] |
| 7 | - delete: | |
| 8 | 7 | |
| 9 | 8 | jobs: |
| 10 | 9 | delete-service-plan: |