Skip to Content

Contributors

Re: Git Aggregator on Doodba

You can launch git aggregator in doodba with:

inv git-aggregate

Have U read https://github.com/Tecnativa/doodba-copier-template/blob/main/docs/daily-usage.md? And U should check out some talks from OCA Days in Youtube.

On 11/3/24 17:33, Francesco Ballerini wrote:
Hi, I am configuring an instance with Doodba, I am using the doodba copier template to set up the instance
I just find out how to use the git aggregator by launching these commands

export DOODBA_GITAGGREGATE_UID="$(id -u $USER)" DOODBA_GITAGGREGATE_GID="$(id -g $USER)" DOODBA_UMASK="$(umask)"
docker-compose -f setup-devel.yaml run --rm odoo

which I found in setup-devel yaml file file.

I have a few questions:
1 - is it actually the proper way to use it on the project ? (maybe it should automatically start when launching docker-compose, but it's not my case)
2 - I see that by using the aggregator I still have repositories created in the host, so they are created outside the container as volumes then recreated in the container.
Is there a way to avoid keeping remotes (source code, oca repos etc..) on the host and directly create them only inside the container at build time with the aggregator?

Really appreciate any kind of help.

Regards
-- Francesco Ballerini

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


by Ing. Rolando Pérez Rebollo - 11:06 - 4 Nov 2024

Reference

  • Git Aggregator on Doodba
    Hi, I am configuring an instance with Doodba, I am using the doodba copier template to set up the instance
    I just find out how to use the git aggregator by launching these commands

    export DOODBA_GITAGGREGATE_UID="$(id -u $USER)" DOODBA_GITAGGREGATE_GID="$(id -g $USER)" DOODBA_UMASK="$(umask)"
    docker-compose -f setup-devel.yaml run --rm odoo

    which I found in setup-devel yaml file file.

    I have a few questions:
    1 - is it actually the proper way to use it on the project ? (maybe it should automatically start when launching docker-compose, but it's not my case)
    2 - I see that by using the aggregator I still have repositories created in the host, so they are created outside the container as volumes then recreated in the container.
    Is there a way to avoid keeping remotes (source code, oca repos etc..) on the host and directly create them only inside the container at build time with the aggregator?

    Really appreciate any kind of help.

    Regards
    -- Francesco Ballerini


    by Francesco Ballerini - 11:31 - 3 Nov 2024