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
I'm trying to create CI/CD process for Mesh. So goal is to have Gitlab pipeline which triggers mesh update everytime mesh being updated in git repository.
By following documentation I can create CI/CD for deploying App Builder application and it works fine, but I cannot do the same for mesh.
Expected Behaviour
After I configured by Secrets,
aio api-mesh update mesh.json
Have to update mesh without using browser login again and again. Same as command
aio app deploy
So just to be clear, exactly same project, execute deploy command without asking for browser login, but mesh publish do - which makes impossible to implement CI/CD pipelines.
Actual Behaviour
aio api-mesh update mesh.json asking to login if run inside pipeline even if aio app deploy not
Steps to Reproduce
Create New App Builder application
deploy application with aio app deploy
Application successfully deployed.
Run any aio api-mesh create mesh.json command
You will be forced to login via browser.
Logs taken while reproducing problem
Some notes: I see that mesh plugin has own auth helpers:
I'm trying to create CI/CD process for Mesh. So goal is to have Gitlab pipeline which triggers mesh update everytime mesh being updated in git repository.
By following documentation I can create CI/CD for deploying App Builder application and it works fine, but I cannot do the same for mesh.
Expected Behaviour
After I configured by Secrets,
aio api-mesh update mesh.json
Have to update mesh without using browser login again and again. Same as command
aio app deploy
So just to be clear, exactly same project, execute deploy command without asking for browser login, but mesh publish do - which makes impossible to implement CI/CD pipelines.
Actual Behaviour
aio api-mesh update mesh.json
asking to login if run inside pipeline even ifaio app deploy
notSteps to Reproduce
aio app deploy
aio api-mesh create mesh.json
commandLogs taken while reproducing problem
Some notes: I see that mesh plugin has own auth helpers:
@adobe/aio-cli/node_modules/@adobe/aio-cli-plugin-api-mesh/src/helpers.js
which maybe working in different manner then default auth mechanism.
The text was updated successfully, but these errors were encountered: