You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a Gitlab instance CI/CD that build my app image in a container, save the new image on my private registry and then deploy the app on some remote dockerized servers (docker standalone), calling Portainer CE via API with a POST on /stack with the "body_compose_repository" parameter .
So far so good. The stack goes up, the ENV variables are saved in the stack and correctly passed to the containers.
The only problem I have is the UUID of autoupdate webhook get generated randomly and can't be set by parameter passed in the json passed to the POST /stack. I copy here the one I've got from Portainer CE API reference. I've used this to test it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ask a Question!
Hello,
I have a Gitlab instance CI/CD that build my app image in a container, save the new image on my private registry and then deploy the app on some remote dockerized servers (docker standalone), calling Portainer CE via API with a POST on /stack with the "body_compose_repository" parameter .
So far so good. The stack goes up, the ENV variables are saved in the stack and correctly passed to the containers.
The only problem I have is the UUID of autoupdate webhook get generated randomly and can't be set by parameter passed in the json passed to the POST /stack. I copy here the one I've got from Portainer CE API reference. I've used this to test it.
When the stack is created, I check for webhook value in the stack page on Portainer and the URL has a different, random, UUID.
It is normal that webhook doesn't set that value? Is that a limit of CE?
Thanks,
Paolo
Beta Was this translation helpful? Give feedback.
All reactions