From b024051798a95a98e8b7e448922fa74a9574909a Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Thu, 9 May 2024 14:42:09 +0400 Subject: [PATCH 1/7] Update start-devouch.yml --- .github/workflows/start-devouch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/start-devouch.yml b/.github/workflows/start-devouch.yml index 762a6fa..2c3ba0d 100644 --- a/.github/workflows/start-devouch.yml +++ b/.github/workflows/start-devouch.yml @@ -18,4 +18,4 @@ jobs: port: 22 script: | cd $HOME/DeVouch-BE - docker compose up -d --build + docker compose up -d --build --no-cache From ea60beba952c7e4f6e55a6d31dfd90dc1a7ce5c8 Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Thu, 9 May 2024 14:42:47 +0400 Subject: [PATCH 2/7] Update pipeline-develop.yml --- .github/workflows/pipeline-develop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline-develop.yml b/.github/workflows/pipeline-develop.yml index 7786ad5..faf5b67 100644 --- a/.github/workflows/pipeline-develop.yml +++ b/.github/workflows/pipeline-develop.yml @@ -24,4 +24,4 @@ jobs: docker compose stop devouch squid-db docker compose rm -v -f devouch squid-db docker rmi $(docker images | grep 'devouch' | awk '{print $3}') - docker compose up -d --build + docker compose up -d --build --no-cache From 2aa7bec85f4663c0ef391a7369284e59c706499d Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Thu, 9 May 2024 14:59:08 +0400 Subject: [PATCH 3/7] Update pipeline-develop.yml --- .github/workflows/pipeline-develop.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pipeline-develop.yml b/.github/workflows/pipeline-develop.yml index faf5b67..dc74dd5 100644 --- a/.github/workflows/pipeline-develop.yml +++ b/.github/workflows/pipeline-develop.yml @@ -24,4 +24,5 @@ jobs: docker compose stop devouch squid-db docker compose rm -v -f devouch squid-db docker rmi $(docker images | grep 'devouch' | awk '{print $3}') - docker compose up -d --build --no-cache + docker volume rm $(docker volume ls | grep 'db-data' | awk '{print $2}') + docker compose up -d --build From 7d21458d14b7975d626f93947d96be36f306d4d8 Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Thu, 9 May 2024 14:59:24 +0400 Subject: [PATCH 4/7] Update start-devouch.yml --- .github/workflows/start-devouch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/start-devouch.yml b/.github/workflows/start-devouch.yml index 2c3ba0d..762a6fa 100644 --- a/.github/workflows/start-devouch.yml +++ b/.github/workflows/start-devouch.yml @@ -18,4 +18,4 @@ jobs: port: 22 script: | cd $HOME/DeVouch-BE - docker compose up -d --build --no-cache + docker compose up -d --build From a9a952bd3b0c4928875485cc5295f52e60e7f383 Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Thu, 9 May 2024 14:59:40 +0400 Subject: [PATCH 5/7] Update stop-devouch.yml --- .github/workflows/stop-devouch.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stop-devouch.yml b/.github/workflows/stop-devouch.yml index 4366760..16918ca 100644 --- a/.github/workflows/stop-devouch.yml +++ b/.github/workflows/stop-devouch.yml @@ -19,5 +19,6 @@ jobs: script: | cd $HOME/DeVouch-BE docker compose stop devouch squid-db - docker compose rm -f -v devouch squid-db + docker compose rm devouch squid-db docker rmi $(docker images | grep 'devouch' | awk '{print $3}') + docker volume rm $(docker volume ls | grep 'db-data' | awk '{print $2}') From f044420ccea1a8c30b317e863b8462e18393a7a4 Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Thu, 9 May 2024 15:04:05 +0400 Subject: [PATCH 6/7] Update stop-devouch.yml --- .github/workflows/stop-devouch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stop-devouch.yml b/.github/workflows/stop-devouch.yml index 16918ca..bd89580 100644 --- a/.github/workflows/stop-devouch.yml +++ b/.github/workflows/stop-devouch.yml @@ -19,6 +19,6 @@ jobs: script: | cd $HOME/DeVouch-BE docker compose stop devouch squid-db - docker compose rm devouch squid-db - docker rmi $(docker images | grep 'devouch' | awk '{print $3}') + docker compose rm -f -v devouch squid-db + docker rmi -f $(docker images | grep 'devouch' | awk '{print $3}') docker volume rm $(docker volume ls | grep 'db-data' | awk '{print $2}') From 64696971b3cf23973f0d21729756f3b10bb13fc8 Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Thu, 9 May 2024 15:04:22 +0400 Subject: [PATCH 7/7] Update pipeline-develop.yml --- .github/workflows/pipeline-develop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline-develop.yml b/.github/workflows/pipeline-develop.yml index dc74dd5..c706ce0 100644 --- a/.github/workflows/pipeline-develop.yml +++ b/.github/workflows/pipeline-develop.yml @@ -23,6 +23,6 @@ jobs: git pull docker compose stop devouch squid-db docker compose rm -v -f devouch squid-db - docker rmi $(docker images | grep 'devouch' | awk '{print $3}') + docker rmi -f $(docker images | grep 'devouch' | awk '{print $3}') docker volume rm $(docker volume ls | grep 'db-data' | awk '{print $2}') docker compose up -d --build