From 1c69c6f7b3bad388d993dd4cd906567f2b84bfa2 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 21 Feb 2023 02:12:23 +0100 Subject: [PATCH] more renames of scripts --- .github/workflows/publish-branded.yml | 6 +++--- .../{build-branded-images.sh => branded-images.build.sh} | 0 .../{upload-branded-images.sh => branded-images.upload.sh} | 0 deployment/scripts/{upgrade.sh => cluster.upgrade.sh} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename deployment/scripts/{build-branded-images.sh => branded-images.build.sh} (100%) rename deployment/scripts/{upload-branded-images.sh => branded-images.upload.sh} (100%) rename deployment/scripts/{upgrade.sh => cluster.upgrade.sh} (87%) diff --git a/.github/workflows/publish-branded.yml b/.github/workflows/publish-branded.yml index 01d879417..21df00306 100644 --- a/.github/workflows/publish-branded.yml +++ b/.github/workflows/publish-branded.yml @@ -15,7 +15,7 @@ jobs: - name: Build branded images run: | - deployment/scripts/build-branded-images.sh + deployment/scripts/branded-images.build.sh docker save "ocelotsocialnetwork/backend-branded" > /tmp/backend-branded.tar docker save "ocelotsocialnetwork/webapp-branded" > /tmp/webapp-branded.tar docker save "ocelotsocialnetwork/maintenance-branded" > /tmp/maintenance-branded.tar @@ -48,7 +48,7 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - + - name: Download Docker Image (Backend) uses: actions/download-artifact@v2 with: @@ -74,7 +74,7 @@ jobs: run: docker load < /tmp/maintenance-branded.tar - name: Upload to dockerhub - run: deployment/scripts/upload-branded-images.sh + run: deployment/scripts/branded-images.upload.sh # - name: login to dockerhub # run: echo "${DOCKERHUB_TOKEN}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin # diff --git a/deployment/scripts/build-branded-images.sh b/deployment/scripts/branded-images.build.sh similarity index 100% rename from deployment/scripts/build-branded-images.sh rename to deployment/scripts/branded-images.build.sh diff --git a/deployment/scripts/upload-branded-images.sh b/deployment/scripts/branded-images.upload.sh similarity index 100% rename from deployment/scripts/upload-branded-images.sh rename to deployment/scripts/branded-images.upload.sh diff --git a/deployment/scripts/upgrade.sh b/deployment/scripts/cluster.upgrade.sh similarity index 87% rename from deployment/scripts/upgrade.sh rename to deployment/scripts/cluster.upgrade.sh index cfec11770..c42345696 100755 --- a/deployment/scripts/upgrade.sh +++ b/deployment/scripts/cluster.upgrade.sh @@ -10,4 +10,4 @@ KUBECONFIG=${KUBECONFIG:-${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubeco VALUES=${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubernetes/values.yaml # upgrade with helm -helm --kubeconfig=${KUBECONFIG} upgrade ocelot --values ${VALUES} ${SCRIPT_DIR}/../src/kubernetes/ \ No newline at end of file +helm --kubeconfig=${KUBECONFIG} upgrade ocelot --values ${VALUES} ${SCRIPT_DIR}/../src/kubernetes/ # --debug --timeout 10m \ No newline at end of file