问题描述
我正在考虑托管一个 MacOSX
设备,用于在Mac Application Store中构建和分发该应用程序.
I am thinking to host a MacOSX
device for building and distributing the application in the Mac Application Store.
我宁愿使用docker容器运行gitlab-runner实例,并且如果可能的话,与马拉松队按距离进行部署.
I would prefer to run the gitlab-runner instance using a docker container, and if possible, deploy it with marathon by distance.
那有可能吗?
推荐答案
上次我构建本机应用程序时,需要本机OS X才能使用必要的工具,例如应用程序签名等.在docker容器中构建不是本机OS X,因此这是不可能的,因此Marathon也就不可能了.
Last time I built native apps you needed native OS X for using the necessary tools like app signing and such. Building in a docker container is not native OS X, so that would not be possible, and Marathon is then also out of the question.
但是..在Mac OS上将GitLab运行程序与Shell executor一起使用应该可以!您可以运行所有Mac工具(如果它们不需要交互式窗口)
But..using a GitLab runner with the Shell executor on Mac OS should work! You can run all Mac tools (if they don't need an interactive window)
如果您使用的是混合应用程序(例如,React Native为 https://github.com/ptmt/react-native-macos ),则可以在任何地方构建90%的应用,但是当您需要再次签名时,它会变得很棘手..但是这里有 http://www.macincloud.com ,您可以在其中租用Mac一段时间!
If you are using hybrid apps (React Native for instance https://github.com/ptmt/react-native-macos) you can build apps for 90% anywhere, but it becomes tricky when you need to sign stuff again.. But here are services like http://www.macincloud.com where you rent a Mac for a while!
这篇关于Gitlab-CIRunner是否可以与MacOSx和docker一起在应用商店中发布?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!