Vauxoo / addons-vauxoo

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
http://www.vauxoo.com
193 stars 288 forks source link

[FIX] .github: error when running tests from a fork T#66175 #1605

Closed luisg123v closed 1 year ago

luisg123v commented 1 year ago

For security reasons, when tests are run from a fork, secrets are not availabe to the jobs [1], not even if the same secrets are configured in the fork. Unfortunately, We rely in such secrets in order for vxci to work properly, so it is able to connect to Quay.io, Orchest, etc.

To solve the avove, we are making tests to run directly in the target repo, but checking out the code submitted in the source repo. That way:

[1] https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow

luisg123v commented 1 year ago

Hi @moylop260 or @ruiztulio,

Could you review, please?

Note that CI won't be run until this is merged, but it was already tested on #1603

CC @rolandojduartem @Hernannc @LuisMzz

Regards,

moylop260 commented 1 year ago

👍