Skip to content

Commit

Permalink
Revert "[TELE-1759]update for bookworm's migration change Makefile, c…
Browse files Browse the repository at this point in the history
…reate bookworm's image with jenkinsfile"

This reverts commit 85b2dd5.
  • Loading branch information
Nicolas Selva committed Oct 3, 2023
1 parent 0ce6802 commit dee91ab
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 63 deletions.
30 changes: 0 additions & 30 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ pipeline {
}
}
}
stage("bookworm") {
agent any
steps {
script {
if (params.USE_CACHE_TO_BUILD_IMAGE) {
sh 'make build-bookworm'
} else {
sh 'make build-no-cache-bookworm'
}
}
}
}
}
}
stage('Build test image') {
Expand All @@ -60,18 +48,6 @@ pipeline {
}
}
}
stage('bookworm-test') {
agent any
steps {
script {
if (params.USE_CACHE_TO_BUILD_IMAGE) {
sh 'make build-bookworm-test'
} else {
sh 'make build-no-cache-bookworm-test'
}
}
}
}
}
}
stage('Push base prod image to staging registry') {
Expand All @@ -94,12 +70,6 @@ pipeline {
)
}
}
stage("bookworm") {
agent any
steps {
echo 'push teleservices/bookworm'
}
}
}
}
stage('Push other images to staging registry') {
Expand Down
33 changes: 0 additions & 33 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,39 +39,6 @@ build-no-cache-bullseye-test:
run-bullseye-test:
make run branch=bullseye-test

build-bookworm-base:
cd teleservices && \
docker build --pull -f Dockerfile-base -t imiobe/teleservices-bookworm-base:latest \
--build-arg DEBIAN_VERSION=bookworm \
.

build-bookworm:
cd teleservices && \
docker build --pull --target prod-image -t teleservices/bookworm:latest \
--build-arg DEBIAN_VERSION=bookworm \
.

build-bookworm-test:
cd teleservices && \
docker build --pull --target dev-image -t teleservices/bookworm-test:latest \
--build-arg DEBIAN_VERSION=bookworm \
.

build-no-cache-bookworm:
cd teleservices && \
docker build --pull --no-cache --target prod-image -t teleservices/bookworm:latest \
--build-arg DEBIAN_VERSION=bookworm \
.

build-no-cache-bookworm-test:
cd teleservices && \
docker build --pull --no-cache --target dev-image -t teleservices/bookworm-test:latest \
--build-arg DEBIAN_VERSION=bookworm \
.

run-bookworm-test:
make run branch=bookworm-test

fast-clean:
docker-compose down -v
sudo rm -fr data/*/*/ data/wcs/config.pck data/wcs/.rnd
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Supported modules are:
* combo
* imio-publik-themes (hence publik-base-theme)
* passerelle
* passerelle-imio-tax-compute
* passerelle-imio-ia-aes

Services will be run in django-runserver mode, and can be seen in a screen
Expand Down

0 comments on commit dee91ab

Please sign in to comment.