English 中文(简体)
4. 吉拉布-西姆勒,以创造合并后
原标题:Gitlab-ci.yml to create merge reqeust

我在DEV分行有以下电离板-ci.yml文档,其目标也是平等与发展。 由于将TARGET作为MASTER,没有自动产生MR。 我愿知道,是否有可能在书状中提出合并要求。

dev:
  stage: deploy
  script:
    - url_host=`git remote get-url origin | sed -e "s/https://gitlab-ci-token:.*@//g"`
    - git remote set-url origin "https://gitlab-ci-token:${CI_TAG_UPLOAD_TOKEN}@${url_host}"
    - databricks workspace export_dir -o /mynotebooks.
    - git add .
    - git commit -m  Add notebooks to Repo  -a || true
    - git push origin HEAD:dev
  tags:
    - test

我搜索并提到了我的网站,但可以看一看关于以方案方式提出Mege请求的任何说明。

这一概念是各种开发商正在开发一个数据砖组,而甘蔗园将定期运行。 这些变化将推向DEV分支,并将根据Merge的请求推向MASTER分支。

我愿知道,这一MR的创建能否自动化。 纽约总部

感谢。

最佳回答

你们可以在Gitelab利用优惠的推动办法创建一种MR。

创建MR,将dev并入master/code> 指挥员

git push origin HEAD:dev -o merge_request.create -o merge_request.target=master 

阅读更多有关Gitelab s关于合并请求的push备选办法

问题回答

确实有更好的方案方式来建立产妇死亡率。

吉拉布有其官方网站Gitlab AP,你可以接近创建/更新日期/delete。 当然,如果 yourself提出这些吉大港山区的请求,那将是荒谬的。 Try use the python Library for gitlab to do what mothers. 你们能够从字面上说出任何可以规划的东西。

具体来说,你可以查看





相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...