#Unable to register yamls from feature branch
9 messages · Page 1 of 1 (latest)
Hi @solar slate Enri , can you share your app-config.yaml ? and Whats provider do you use ?
Hi @lucid bramble thanks for the response here is the catalog provider :
catalog:
orphanStrategy: delete
processingInterval: { hours: 24 }
providers:
github:
sisal-org:
organization: 'Sisal-Org'
rules:
- allow: [Component, System, API, Group, User, Template, Location, Resource]
My configuration this is : gitlab:
yourProviderId:
centrus:
host: mv1
token: dadasdasdasd
branch: master -> "here the branch"
entityFilename: catalog-info.yaml
projectPattern: '[\s\S]*'
schedule:
frequency: { minutes: 30 }
timeout: { minutes: 3 }
@solar slate Does your configuration include branch information?
You should register from stable unchanging URLs. Registering a URL doesn't one-shot read the file; it's an instruction for the catalog to track that URL forever and detecting file changes etc
If you merge the feature branch, the connection to the file is severed because the URL effectively changes, and things stop updating and you get processing errors
@lucid bramble i was trying to make it work via any feature branch that the user want at least that was the idea, but what @spring valve is explaining to me make sense now thank u all for the support
@solar slate I understand, really in any branch I believe it is not possible.