init revision scripts

This commit is contained in:
Janik von Rotz committed 2024-05-28 08:25:21 +02:00
1 parent 5ed356c93a
commit 996e6cbc94
6 files changed
+124 -24

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
#!/bin/bash
ODOO_REVISION=13.0.2022.0228
# Checkout enterprise repo
cd enterprise && git checkout 5f89ea34af741d159d30e41a12fa94db95234d2a
# Create tag on the enterprise repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Checkout odoo repo
cd odoo && git checkout b84d9597df1be89ba418c7969a2cf8c632eb8316
# Create tag on the odoo repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Checkout theme repo
cd themes && git checkout 17a711b1040eb0df7ffafcdf93e20484501dd9d1
# Create tag on the odoo repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Pull docker image
DIGEST=odoo@sha256:9ea449cce3bbbb92bb8ec3568ecd501822d470ace07a264d4f68918256f4e6c3
docker pull "$DIGEST"
IMAGE_ID=$(docker image inspect "$DIGEST" --format "{{ .ID }}")
# Tag the docker image
docker tag ${IMAGE_ID:7:12} odoo:$ODOO_REVISION
+32
View File
@@ -0,0 +1,32 @@
#!/bin/bash
ODOO_REVISION=16.0.2024.0405
# Checkout odoo repo
cd odoo && git checkout 391a427620b6aec690481fe7c7d0b0326b95ee8c
# Create tag on the odoo repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Checkout enterprise repo
cd enterprise && git checkout 47cc8bbed4f326d2eff14f072f62259a82a12d08
# Create tag on the enterprise repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Checkout theme repo
cd themes && git checkout 1d0f0fc2caacd7f69b303fea6f5f0630db377f4b
# Create tag on the odoo repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Pull docker image
DIGEST=odoo@sha256:cf82ec54966a737c870c59ed935659242588322c080e7e30dd13184b31043db6
docker pull "$DIGEST"
IMAGE_ID=$(docker image inspect "$DIGEST" --format "{{ .ID }}")
# Tag the docker image
docker tag ${IMAGE_ID:7:12} odoo:$ODOO_REVISION
+32
View File
@@ -0,0 +1,32 @@
#!/bin/bash
ODOO_REVISION=17.0.2024.0405
# Checkout odoo repo
cd odoo && git checkout ccfd48f3b445d269069c97c431c0c66e60157957
# Create tag on the odoo repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Checkout enterprise repo
cd enterprise && git checkout 3ec74fd2189dc431e3ea55a3c2142a422fffd0d5
# Create tag on the enterprise repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Checkout theme repo
cd themes && git checkout 09832134ae20c74bbab5f5959f4678fc5e3188dd
# Create tag on the odoo repo
git tag -a $ODOO_REVISION -m "$ODOO_REVISION"
cd ..
# Pull docker image
DIGEST=odoo@sha256:d13febe57e6e3761497c27be3d208856d91159578bc10a8547cc350848e20c05
docker pull "$DIGEST"
IMAGE_ID=$(docker image inspect "$DIGEST" --format "{{ .ID }}")
# Tag the docker image
docker tag ${IMAGE_ID:7:12} odoo:$ODOO_REVISION