How to upload docker-compose.yml with univention-appcenter-control?

Hi,

I wanted to start building an app using docker-compose for a new app (Kopano Meet). I have adapted my usual Makefile for this to also upload an example yml file, but the appcenter sadly replies that yml files are not allowed unknown.

error message:

univention-appcenter-control upload --noninteractive 4.3/meet=0.19.1_0 \
appcenter/README \
env docker-compose.yml preinst inst uinst settings
Curling https://provider-portal.software-univention.de/univention/auth
Curling https://provider-portal.software-univention.de/univention/command/appcenter-selfservice/api
Curling https://provider-portal.software-univention.de/univention/command/appcenter-selfservice/query
Uploading /home/fbartels/.dotfiles/dev-workspace/univention/kopano-apps/kopano-meet/appcenter/README
Uploading /home/fbartels/.dotfiles/dev-workspace/univention/kopano-apps/kopano-meet/env
Uploading /home/fbartels/.dotfiles/dev-workspace/univention/kopano-apps/kopano-meet/docker-compose.yml
Uploading /home/fbartels/.dotfiles/dev-workspace/univention/kopano-apps/kopano-meet/preinst
Uploading /home/fbartels/.dotfiles/dev-workspace/univention/kopano-apps/kopano-meet/inst
Uploading /home/fbartels/.dotfiles/dev-workspace/univention/kopano-apps/kopano-meet/uinst
Uploading /home/fbartels/.dotfiles/dev-workspace/univention/kopano-apps/kopano-meet/settings
Curling https://provider-portal.software-univention.de/univention/upload/appcenter-selfservice/upload
Unrecoverable result: {u'status': 400, u'message': u'yml is an unknown file type', u'traceback': None, u'location': u'https://provider-portal.software-univention.de/univention/upload'}
Makefile:26: recipe for target 'appcenter-files' failed
make: *** [appcenter-files] Error 10

How can I upload my compose file?

Hi @fbartels,

the docker-compose.yml is saved as compose in the App Center. Maybe that does the trick.

Best regards,
Nico

Yes that was it. File can now be uploaded and displayed in the provider portal. Thanks

Mastodon