google-cloud-platform - 自托管 Gitlab,在 Google Cloud

GKE 最近发布了适用于 GKE 的应用程序管理器/交付插件。 Application Deliver .

但目前,Application Manager/Delivery 仅支持 Github.com 和 Gitlab.com。是否有支持自托管 Gitlab 实例的计划或发布 channel ?目前有任何解决方法吗?

Initialize an application with Anthos Application delivery framework.
APP_NAME should conform to definitions of label and subdomain in DNS (RFC 1123: https://tools.ietf.org/html/rfc1123)

Usage:
  appctl init APP_NAME --app-config-repo [--deployment-repo] [--config-path] [flags]

Examples:
  # Initialize an app from scratch and create a remote app repository.
  appctl init myapp --app-config-repo github.com/myorg/myapp

  # Initialize an app from an existing repository.
  appctl init myapp -app-config-repo github.com/myorg/myapp

  # Initialize an app and customize the configuration path (default is ./config).
  appctl init myapp --app-config-repo github.com/myorg/myapp --config-path myappconfig

  # Initialize an app and customize the deployment repo.
  appctl init myapp --app-config-repo github.com/myorg/myapp --deployment-repo github.com/myorg/myapp-env


Flags:
      --app-config-repo string        The url of the application configuration repository. It should be in the form of "[https://]<github|gitlab>.com/<ORG or USER>/<REPO>".
                                      
      --config-path string            The relative directory that contains the application's kubernetes resource configurations. Default to "./config".
      --deployment-repo appctl init   the url of the deployment repository. It should be in the form of "[https://]<github|gitlab>.com/<ORG or USER>/<REPO>".
                                      If not provided, appctl init will use a default url in the form of "[https://]<PLATFORM>.com/<ORG or USER>/<APP_NAME>-deployment" where PLATFORM and ORG/USER are from --app-config-repo.
  -h, --help                          help for init

最佳答案

Managing applications with Application Delivery GCP 文档门户网站上的“How To”说先决条件之一是

"A GitHub or GitLab account with permissions to create a private repository. Application Delivery supports only GitHub and GitLab repositories."

这让我想到同时支持 GitHub 和 GitLab 私有(private)存储库。因此,我按照“操作方法”指南重新检查了自己,并且效果很好(至少在我的设置中)。

kiwi@suse-laptop:~/$ cat /etc/SUSE-brand 
openSUSE
VERSION = 15.1

kiwi@suse-laptop:~/$ git version
git version 2.26.1

kiwi@suse-laptop:~/$ kubectl version
Client Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.11-dispatcher",  GitTreeState:"clean", BuildDate:"2020-04-21T04:42:07Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.11-gke.12", GitTreeState:"clean", BuildDate:"2020-04-20T22:33:20Z", GoVersion:"go1.12.17b4", Compiler:"gc", Platform:"linux/amd64"}

此外,最近还有另一个踩踏点 GitLab Issue Tracker确认应用程序交付与私有(private) GitLab 存储库一起工作。

希望对您有所帮助。

关于google-cloud-platform - 自托管 Gitlab,在 Google Cloud Platform 上提供应用程序交付,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61363129/

相关文章:

javascript - postgres : relation does not exist wh

perl - 使用 Perl 连接到 AWS Managed Cassandra

ionic-framework - Ionic 5 键盘的问题

reactjs - Ant Design 如何处理 Form.List 从底层数据结构访问值?

php - 更改 Woocommerce 管理员订单列表时间和日期格式

javascript - 如何在保持背景颜色不变的情况下为 Puppeteer 生成的 pdf 页面

flutter - 如何在 Flutter 中禁用 SnackBar 的淡入/淡出动画?

node.js - 如何增加 Node.js 中的最大调用堆栈大小

ios - SwiftUI View 未更新以反射(reflect) UIViewControlle

python - 当没有 activate.bat 并且我是凡人时,如何在虚拟环境中的任务调度程序中