From 9c1c80531e83643efa0f4dab5ef02706115f6424 Mon Sep 17 00:00:00 2001 From: mkumar-02 Date: Tue, 27 Feb 2024 18:52:10 +0530 Subject: [PATCH 1/2] PMBS-Social Regsitry: package added and script modified --- .github/workflows/package_docker.yml | 5 +++- ...17.0-develop-pbms-with-social-registry.txt | 29 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 packaging/packages/17.0-develop-pbms-with-social-registry.txt diff --git a/.github/workflows/package_docker.yml b/.github/workflows/package_docker.yml index 01f849c..8445959 100644 --- a/.github/workflows/package_docker.yml +++ b/.github/workflows/package_docker.yml @@ -17,6 +17,7 @@ on: - 17.0-develop - 1.1.0 - 17.0-develop-social-registry + - 17.0-develop-pbms-with-social-registry jobs: docker-build: @@ -44,8 +45,10 @@ jobs: for package in packages/${packageNameInput}.txt; do export IMAGE_ID=$NAMESPACE/$SERVICE_NAME - if [[ $packageNameInput = *social-registry* ]]; then + if [[ $packageNameInput = "17.0-develop-social-registry" ]]; then export IMAGE_ID="$NAMESPACE/openg2p-social-registry-odoo-package" + if [[ $packageNameInput = "17.0-develop-pbms-with-social-registry" ]]; then + export IMAGE_ID="$NAMESPACE/openg2p-pbms-with-social-registry-odoo-package" fi export VERSION=$(basename "${package}" ".txt") if [[ $VERSION == 15.0* ]]; then diff --git a/packaging/packages/17.0-develop-pbms-with-social-registry.txt b/packaging/packages/17.0-develop-pbms-with-social-registry.txt new file mode 100644 index 0000000..83c865b --- /dev/null +++ b/packaging/packages/17.0-develop-pbms-with-social-registry.txt @@ -0,0 +1,29 @@ +# The below modules are OCA dependencies, manually adding them here for now. +server_auth = git://17.0//https://github.com/openg2p/server-auth +queue = git://17.0//https://github.com/oca/queue +connector = git://17.0//https://github.com/oca/connector +rest_framework = git://17.0//https://github.com/openg2p/rest-framework +server_env = git://17.0//https://github.com/oca/server-env +server_tools = git://17.0//https://github.com/openg2p/server-tools +storage = git://17.0//https://github.com/openg2p/storage +web = git://17.0//https://github.com/oca/web +web_api= git://17.0//https://github.com/oca/web-api +helpdesk = git://17.0//https://github.com/oca/helpdesk +#odoo_formio = git://17.0//https://github.com/openg2p/odoo-formio +# +openg2p_documents = git://17.0-develop//https://github.com/openg2p/openg2p-documents +openg2p_registry = git://17.0-develop//https://github.com/openg2p/openg2p-registry +openg2p_program = git://17.0-develop//https://github.com/openg2p/openg2p-program +openg2p_mts = git://17.0-develop//https://github.com/openg2p/openg2p-mts +openg2p_theme = git://17.0-develop//https://github.com/openg2p/openg2p-theme +openg2p_auth = git://17.0-develop//https://github.com/openg2p/openg2p-auth +openg2p_odoo_commons = git://17.0-develop//https://github.com/openg2p/openg2p-odoo-commons +openg2p_self_service_portal = git://17.0-develop//https://github.com/openg2p/openg2p-self-service-portal +openg2p_notifications = git://17.0-develop//https://github.com/openg2p/openg2p-notifications +#openg2p_security = git://17.0-develop//https://github.com/openg2p/openg2p-security +openg2p_importers = git://17.0-develop//https://github.com/openg2p/openg2p-importers +#openg2p_formio = git://17.0-develop//https://github.com/openg2p/openg2p-formio +#openspp_registry = git://17.0//https://github.com/openspp/openspp-registry +#openspp_program = git://17.0//https://github.com/openspp/openspp-program +#openspp_grm = git://17.0//https://github.com/openspp/openspp-grievance-redress-mechanism +openg2p_social_registry = git://17.0-develop//https://github.com/openg2p/openg2p-social-registry From e3eed15de3cd2bb2af65e8d792c56529b60760be Mon Sep 17 00:00:00 2001 From: mkumar-02 Date: Wed, 28 Feb 2024 10:08:06 +0530 Subject: [PATCH 2/2] Fix: pbms with social regsitry workflow --- .github/workflows/package_docker.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/package_docker.yml b/.github/workflows/package_docker.yml index 8445959..fad7be3 100644 --- a/.github/workflows/package_docker.yml +++ b/.github/workflows/package_docker.yml @@ -45,10 +45,8 @@ jobs: for package in packages/${packageNameInput}.txt; do export IMAGE_ID=$NAMESPACE/$SERVICE_NAME - if [[ $packageNameInput = "17.0-develop-social-registry" ]]; then + if [[ $packageNameInput = 17.0-develop-social-registry* ]]; then export IMAGE_ID="$NAMESPACE/openg2p-social-registry-odoo-package" - if [[ $packageNameInput = "17.0-develop-pbms-with-social-registry" ]]; then - export IMAGE_ID="$NAMESPACE/openg2p-pbms-with-social-registry-odoo-package" fi export VERSION=$(basename "${package}" ".txt") if [[ $VERSION == 15.0* ]]; then