From 50257b48d816dbe02c1e51140b6b0269e0c3eaa0 Mon Sep 17 00:00:00 2001 From: d10s <79284025+D10S0VSkY-OSS@users.noreply.github.com> Date: Sun, 26 Nov 2023 19:56:21 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Bfix:=20dashboard=20send=20dpeloy=5F?= =?UTF-8?q?name=20in=20variables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sld-dashboard-docker-image.yml | 4 ++-- play-with-sld/kubernetes/k8s/sld-dashboard.yml | 2 +- sld-dashboard/app/home/routes.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sld-dashboard-docker-image.yml b/.github/workflows/sld-dashboard-docker-image.yml index 4a362fd1..0f995440 100644 --- a/.github/workflows/sld-dashboard-docker-image.yml +++ b/.github/workflows/sld-dashboard-docker-image.yml @@ -24,11 +24,11 @@ jobs: - name: Build the Docker image with tags working-directory: ./sld-dashboard - run: docker build . --file Dockerfile --tag ${{ secrets.DOCKER_USERNAME }}/sld-dashboard:2.26.0 + run: docker build . --file Dockerfile --tag ${{ secrets.DOCKER_USERNAME }}/sld-dashboard:2.26.2 - name: Docker Push with tags #if: github.event.pull_request.merged == true - run: docker push ${{ secrets.DOCKER_USERNAME }}/sld-dashboard:2.26.0 + run: docker push ${{ secrets.DOCKER_USERNAME }}/sld-dashboard:2.26.2 - name: Build the Docker image working-directory: ./sld-dashboard diff --git a/play-with-sld/kubernetes/k8s/sld-dashboard.yml b/play-with-sld/kubernetes/k8s/sld-dashboard.yml index ed1b243b..be4de24c 100644 --- a/play-with-sld/kubernetes/k8s/sld-dashboard.yml +++ b/play-with-sld/kubernetes/k8s/sld-dashboard.yml @@ -17,7 +17,7 @@ spec: subdomain: primary containers: - name: sld-dashboard - image: d10s0vsky/sld-dashboard:2.26.0 + image: d10s0vsky/sld-dashboard:2.26.2 env: - name: PATH value: "/home/sld/.asdf/shims:/home/sld/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" diff --git a/sld-dashboard/app/home/routes.py b/sld-dashboard/app/home/routes.py index 66e7d4a3..48c8d7ba 100644 --- a/sld-dashboard/app/home/routes.py +++ b/sld-dashboard/app/home/routes.py @@ -548,6 +548,7 @@ def clone_deploy(deploy_id): "project_path", "squad", "environment", + "deploy_name" ] # Clean exclude data vars data_raw = {