Skip to content

Commit 942e799

Browse files
Merge branch 'redhat-developer:main' into rhdh-test-instance-keycloak
2 parents 026dc0f + 3002ee3 commit 942e799

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The bot supports flexible deployment commands directly from PR comments:
4141
```
4242
/test deploy helm 1.7 4h # Deploy RHDH 1.7 with Helm, cleanup after 4 hours
4343
/test deploy operator 1.6 2.5 # Deploy RHDH 1.6 with Operator, cleanup after 2.5 hours
44-
/test deploy helm next # Deploy latest CI version with Helm with defaut duration 3h
44+
/test deploy helm 1.7 # Deploy latest CI version with Helm with defaut duration 3h
4545
/test deploy operator 1.7-98-CI # Deploy specific CI build with Operator
4646
```
4747

@@ -57,7 +57,7 @@ The bot supports flexible deployment commands directly from PR comments:
5757
The bot provides comprehensive feedback through PR comments for eg:
5858

5959
```
60-
🚀 Deployed RHDH version: next using helm
60+
🚀 Deployed RHDH version: 1.7 using helm
6161
6262
🌐 RHDH URL: https://redhat-developer-hub-rhdh.apps.rhdh-4-17-us-east-2-kz69l.rhdh-qe.devcluster.openshift.com
6363
@@ -112,7 +112,7 @@ For local development and testing environments, you can deploy RHDH directly to
112112

113113
3. **Or deploy with the latest main version:**
114114
```bash
115-
./install.sh helm next
115+
./install.sh helm 1.7
116116
```
117117

118118
4. **Access your RHDH instance:**
@@ -127,7 +127,6 @@ For local development and testing environments, you can deploy RHDH directly to
127127
```
128128

129129
**Available versions:**
130-
- `next` - Latest CI version
131130
- `1.7` - Latest stable 1.7 version
132131
- `1.6` - Latest stable 1.6 version
133132
- `1.5` - Latest stable 1.5 version
@@ -136,7 +135,7 @@ For local development and testing environments, you can deploy RHDH directly to
136135

137136
**Example:**
138137
```bash
139-
./install.sh helm next
138+
./install.sh helm 1.7
140139
```
141140

142141
#### Method 2: Operator Installation (Comming Soon)

install.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,9 @@ oc create configmap app-config-rhdh \
4646

4747
export CLUSTER_ROUTER_BASE=$(oc get route console -n openshift-console -o=jsonpath='{.spec.host}' | sed 's/^[^.]*\.//')
4848

49-
if [[ "$version" == "next" ]]; then
50-
CV=$(echo $(curl -sS https://raw.githubusercontent.com/rhdh-bot/openshift-helm-charts/refs/heads/rhdh-1-rhel-9/installation/README.md | grep -oE '[0-9]+\.[0-9]+-[0-9]+-CI' | head -1))
51-
52-
elif [[ "$version" =~ ^([0-9]+(\.[0-9]+)?)$ ]]; then
53-
CV=$(echo $(curl -sS https://raw.githubusercontent.com/rhdh-bot/openshift-helm-charts/refs/heads/rhdh-${version}-rhel-9/installation/README.md | grep -oE '[0-9]+\.[0-9]+-[0-9]+-CI' | head -1))
54-
55-
elif [[ "$version" =~ "CI$" ]]; then
49+
if [[ "$version" =~ ^([0-9]+(\.[0-9]+)?)$ ]]; then
50+
CV=$(curl -s "https://quay.io/api/v1/repository/rhdh/chart/tag/?onlyActiveTags=true&limit=600" | jq -r '.tags[].name' | grep "^${version}-" | sort -V | tail -n 1)
51+
elif [[ "$version" =~ CI$ ]]; then
5652
CV=$version
5753
else
5854
echo "Error: Invalid helm chart version: $version"

0 commit comments

Comments
 (0)