Skip to content

Commit

Permalink
Remove patching of PRA zenkoversion
Browse files Browse the repository at this point in the history
Issue: ZENKO-4856
  • Loading branch information
francoisferrand committed Aug 13, 2024
1 parent 0aea64a commit 5242fc2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
6 changes: 0 additions & 6 deletions .github/actions/deploy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ inputs:
description: "The tag of the Zenko Operator image to use"
required: false
default: ""
extra_components:
description: "Extra components to add to zenkoversion"
required: false
default: ""
runs:
using: composite
steps:
Expand Down Expand Up @@ -78,8 +74,6 @@ runs:
shell: bash
run: bash deploy-zenko.sh end2end default
working-directory: ./.github/scripts/end2end
env:
EXTRA_COMPONENTS: ${{ inputs.extra_components }}
- name: Add Keycloak user and assign StorageManager role
shell: bash
run: bash keycloak-helper.sh add-user default
Expand Down
1 change: 0 additions & 1 deletion .github/scripts/end2end/configs/zenkoversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ spec:
image: '${REDIS_EXPORTER_IMAGE}'
tag: '${REDIS_EXPORTER_TAG}'
kubedb: '${REDIS_KUBEDB_TAG}'
${EXTRA_COMPONENTS}
defaults:
backbeatConcurrency:
lifecycleBucketProcessor: 30
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/end2end.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ env:
KUBECTL_VERSION: "1.30.0"
TILT_VERSION: "0.23.4"
KIND_VERSION: "v0.12.0"
DRCTL_TAG: "v1.0.2"
ZENKO_ENABLE_SOSAPI: false
TIME_PROGRESSION_FACTOR: 1
EXPIRE_ONE_DAY_EARLIER: true
Expand Down Expand Up @@ -381,6 +380,10 @@ jobs:
shell: bash
run: |-
echo "CTST_TAG=$(sed 's/.*"cli-testing": ".*#\(.*\)".*/\1/;t;d' ./tests/ctst/package.json)" >> $GITHUB_ENV
- name: Get CTST image tag
shell: bash
run: |-
echo "DRCTL_TAG=$(yq eval .drctl.tag solution/deps.yaml)" >> $GITHUB_ENV
- name: Build and push CI image
uses: docker/build-push-action@v5
with:
Expand Down Expand Up @@ -478,23 +481,13 @@ jobs:
registry: ghcr.io
- name: Deploy Zenko
uses: ./.github/actions/deploy
with:
zkop_tag: 1.6.0-preview.2
extra_components: |
drctl:
image: ghcr.io/scality/zenko-drctl
tag: ${{ env.DRCTL_TAG }}
- name: Prepare PRA environment
run: bash prepare-pra.sh
working-directory: ./.github/scripts/end2end
- name: Deploy second Zenko for PRA
run: bash deploy-zenko.sh end2end-pra default './configs/zenko.yaml'
env:
ZENKO_MONGODB_DATABASE: "pradb"
EXTRA_COMPONENTS: |
drctl:
image: 'ghcr.io/scality/zenko-drctl'
tag: ${{ env.DRCTL_TAG }}
working-directory: ./.github/scripts/end2end
- name: Add Keycloak pra user and assign StorageManager role
shell: bash
Expand Down

0 comments on commit 5242fc2

Please sign in to comment.