addons-vauxoo icon indicating copy to clipboard operation
addons-vauxoo copied to clipboard

[REF] CI: Enable vxci to build/push image

Open moylop260 opened this issue 2 years ago • 7 comments

moylop260 avatar Sep 20 '22 17:09 moylop260

@ruiztulio

Are there something to do extra from a PR based on "-dev" fork?

moylop260 avatar Sep 20 '22 17:09 moylop260

@moylop260 it shouldn't, the only thing that we can need is to add the secrets in vauxoo-dev too, because they aren't shared. It detects the environment checking if the owner ends with -dev

ruiztulio avatar Sep 21 '22 21:09 ruiztulio

@ruiztulio

I tried to copy the same values from:

  • https://github.com/Vauxoo/addons-vauxoo/settings/secrets/actions

to:

  • https://github.com/Vauxoo-dev/addons-vauxoo/settings/secrets/actions

But I can not see the values configured

Could you help us to re-configure dev too, please?

moylop260 avatar Sep 22 '22 02:09 moylop260

@ruiztulio

Any update here?

moylop260 avatar Sep 28 '22 14:09 moylop260

@moylop260 I missed the message, sorry.

No body can see the values after the have been added:

image

But most of those values are the same from gitlab:

image

Except for the bot credentials, I created a specific bot account for github actions:

image

(you should have access to those credentials in quay.io)

Edit: Forgot to mention that I already added the values to https://github.com/Vauxoo-dev/addons-vauxoo/settings/secrets/actions

ruiztulio avatar Sep 28 '22 16:09 ruiztulio

@ruiztulio

Do you have any idea why it is failing for PR cases?

  • https://github.com/Vauxoo/addons-vauxoo/actions/runs/3092143347/jobs/5112463253

cc @luisg123v

moylop260 avatar Sep 28 '22 17:09 moylop260

@moylop260 it seems that ssh-agent don't like the key format (don't know why is failing now), but try removing the line:

ssh-add - <<< "${{ secrets.PRIVATE_DEPLOY_KEY }}"

ruiztulio avatar Sep 28 '22 18:09 ruiztulio

Superseded by #1590

luisg123v avatar Apr 15 '23 00:04 luisg123v