From 1d67bfc9e485728533f053a1b3a6c57c9ffd1038 Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Fri, 24 Apr 2026 14:03:10 +0200 Subject: [PATCH] Fix Rails templates. Define image field to $NAME:latest Signed-off-by: Petr "Stone" Hracek --- .github/workflows/openshift-tests.yml | 2 +- openshift/templates/rails-postgresql-persistent.json | 4 ++-- openshift/templates/rails.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/openshift-tests.yml b/.github/workflows/openshift-tests.yml index f97f17ce..cbc34690 100644 --- a/.github/workflows/openshift-tests.yml +++ b/.github/workflows/openshift-tests.yml @@ -20,7 +20,7 @@ jobs: - uses: sclorg/testing-farm-as-github-action@main with: api_key: ${{ secrets.TF_INTERNAL_API_KEY }} - compose: "RHEL-9.4.0-Nightly" + compose: "RHEL-9.6.0-Nightly" git_url: "https://gitlab.cee.redhat.com/platform-eng-core-services/sclorg-tmt-plans" git_ref: "master" tf_scope: "private" diff --git a/openshift/templates/rails-postgresql-persistent.json b/openshift/templates/rails-postgresql-persistent.json index 8789b7fa..91bc02ff 100644 --- a/openshift/templates/rails-postgresql-persistent.json +++ b/openshift/templates/rails-postgresql-persistent.json @@ -177,7 +177,7 @@ "initContainers": [ { "name": "ruby-init-container", - "image": " ", + "image": "${NAME}:latest", "command": [ "./migrate-database.sh" ], @@ -257,7 +257,7 @@ "containers": [ { "name": "${NAME}", - "image": " ", + "image": "${NAME}:latest", "ports": [ { "containerPort": 8080 diff --git a/openshift/templates/rails.json b/openshift/templates/rails.json index a050e4f4..9826cb65 100644 --- a/openshift/templates/rails.json +++ b/openshift/templates/rails.json @@ -155,8 +155,8 @@ "spec": { "containers": [ { - "name": "rails-example", - "image": " ", + "name": "${NAME}", + "image": "${NAME}:latest", "ports": [ { "containerPort": 8080