-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
- Loading branch information
Showing
1 changed file
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,10 @@ jobs: | |
CLUSTER_NAME: remote-cluster | ||
KUADRANT_START_VERSION: v${{ inputs.kuadrantStartVersion }} | ||
KUADRANT_UPGRADE_VERSION: v${{ inputs.kuadrantUpgradeVersion }} | ||
KUADRANT_UPGRADE_CHART_URL: https://github.com/Kuadrant/kuadrant-operator/releases/download/v${{ inputs.kuadrantUpgradeVersion }}/chart-kuadrant-operator-${{ inputs.kuadrantUpgradeVersion }}.tgz | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ env.KUADRANT_UPGRADE_VERSION }} | ||
- name: Deploy local Kind cluster | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.clusterServer == '' }} | ||
uses: helm/[email protected] | ||
|
@@ -83,11 +82,26 @@ jobs: | |
make helm | ||
bin/helm repo add kuadrant https://kuadrant.io/helm-charts/ --force-update | ||
bin/helm search repo kuadrant | ||
- name: Install starting version of Kuadrant | ||
- name: Install Kuadrant ${{ inputs.kuadrantStartVersion }} | ||
run: | | ||
helm install kuadrant kuadrant/kuadrant-operator \ | ||
--wait \ | ||
--timeout 2m0s \ | ||
--version ${{ inputs.kuadrantStartVersion }} \ | ||
--namespace ${{ inputs.kuadrantNamespace }} \ | ||
--create-namespace | ||
- name: Verify Kuadrant installation | ||
run: | | ||
# TODO | ||
echo "kuadrant installation ✅" && exit 0 | ||
- name: Start kuadrant upgrade to ${{ inputs.kuadrantUpgradeVersion }} | ||
run: | | ||
helm upgrade kuadrant ${{ env.KUADRANT_UPGRADE_CHART_URL }} \ | ||
--wait \ | ||
--timeout 2m0s \ | ||
--version ${{ inputs.kuadrantUpgradeVersion }} \ | ||
--namespace ${{ inputs.kuadrantNamespace }} | ||
- name: Verify Kuadrant upgrade | ||
run: | | ||
# TODO | ||
echo "kuadrant upgrade ✅" && exit 0 |