continuous-integration

Using Vagrant on cloud CI services

て烟熏妆下的殇ゞ 提交于 2020-05-25 11:25:25
问题 Are there any cloud CI services that allow Vagrant VMs to run using VirtualBox as a provider? Early investigation shows this seems not to be possible with Travis CI or Circle CI, although the vagrant-aws plugin allows for the use of AWS servers as a Vagrant provider. Is this correct? 回答1: That's right. There are still no CI services allowing to run Vagrant via LXC or Virtualbox (and that's sad). You can't do it under Travis. You can't under CodeShip You can't under CircleCI Don't know about

Do Heroku staging apps share database with review apps?

喜你入骨 提交于 2020-05-16 04:10:15
问题 I've noticed some odd behaviour when working with review apps. I created a review app for a pull request I was working on. It's parent was my staging app. As part of the pull request I migrated the database many times and I was testing those migrations with the review app. I'm working with Rails. I was preparing to merge my changes and deploy to the staging app, but I noticed that the data in my staging app had changed. There have been no deploys to staging since I started this work. For

Do Heroku staging apps share database with review apps?

徘徊边缘 提交于 2020-05-16 04:09:59
问题 I've noticed some odd behaviour when working with review apps. I created a review app for a pull request I was working on. It's parent was my staging app. As part of the pull request I migrated the database many times and I was testing those migrations with the review app. I'm working with Rails. I was preparing to merge my changes and deploy to the staging app, but I noticed that the data in my staging app had changed. There have been no deploys to staging since I started this work. For

How to prevent docker from searching docker hub

做~自己de王妃 提交于 2020-05-14 19:51:31
问题 I'm standing up a few docker hosts to run in a production environment. We want all of our images to have to go through our container pipeline and we do not want to be able to pull images from Docker Hub (security concerns). How can I stop docker being able to pull images from dockerhub? Ideally I would like to do this via configuring the docker daemon. 回答1: I think it is not possible to prevent docker for searching docker hub.. But it is possible to prevent/avoid pulling image from docker hub

Jenkins GitHub pull request builder - get branch name for execute shell

别说谁变了你拦得住时间么 提交于 2020-05-13 06:27:59
问题 I am using Jenkins GitHub pull request builder plugin for running my unit tests when a pull request is made vis a vis a web hook. For the build step, I need to know the name of the branch that is being merged in (e.g. I need develop branch if merging that into master branch). Is there a way to get access to this in the Jenkins execute shell? Thanks, 回答1: Your link has the answer: The plugin makes some very useful environment variables available. ghprbActualCommit ghprbActualCommitAuthor

Jenkins GitHub pull request builder - get branch name for execute shell

狂风中的少年 提交于 2020-05-13 06:27:30
问题 I am using Jenkins GitHub pull request builder plugin for running my unit tests when a pull request is made vis a vis a web hook. For the build step, I need to know the name of the branch that is being merged in (e.g. I need develop branch if merging that into master branch). Is there a way to get access to this in the Jenkins execute shell? Thanks, 回答1: Your link has the answer: The plugin makes some very useful environment variables available. ghprbActualCommit ghprbActualCommitAuthor

I'm trying to integrate Bitbucket into AWS Code Pipeline? What is the best approach?

ⅰ亾dé卋堺 提交于 2020-05-07 10:52:51
问题 I want to integrate my code from Bitbucket into AWS Code Pipeline. I unable to find proper examples on the same. My source code is in .Net. Can someone please guide me. Thanks. 回答1: You can integrate Bitbucket with AWS CodePipeline by using webhooks that call to an AWS API Gateway, which invokes a Lambda function (which calls into CodePipeline). There is an AWS blog that walks you thru this: Integrating Git with AWS CodePipeline 回答2: BitBucket has a service called PipeLines which can deploy

I'm trying to integrate Bitbucket into AWS Code Pipeline? What is the best approach?

有些话、适合烂在心里 提交于 2020-05-07 10:49:58
问题 I want to integrate my code from Bitbucket into AWS Code Pipeline. I unable to find proper examples on the same. My source code is in .Net. Can someone please guide me. Thanks. 回答1: You can integrate Bitbucket with AWS CodePipeline by using webhooks that call to an AWS API Gateway, which invokes a Lambda function (which calls into CodePipeline). There is an AWS blog that walks you thru this: Integrating Git with AWS CodePipeline 回答2: BitBucket has a service called PipeLines which can deploy

I'm trying to integrate Bitbucket into AWS Code Pipeline? What is the best approach?

蓝咒 提交于 2020-05-07 10:49:09
问题 I want to integrate my code from Bitbucket into AWS Code Pipeline. I unable to find proper examples on the same. My source code is in .Net. Can someone please guide me. Thanks. 回答1: You can integrate Bitbucket with AWS CodePipeline by using webhooks that call to an AWS API Gateway, which invokes a Lambda function (which calls into CodePipeline). There is an AWS blog that walks you thru this: Integrating Git with AWS CodePipeline 回答2: BitBucket has a service called PipeLines which can deploy

Trigger Gitlab-CI Pipeline only when there is a new tag

一个人想着一个人 提交于 2020-04-29 14:51:54
问题 I have following gitlab-ci conf. file: before_script: - echo %CI_BUILD_REF% - echo %CI_PROJECT_DIR% stages: - createPBLs - build - package create PBLs: stage: createPBLs script: - xcopy /y /s "%CI_PROJECT_DIR%" "C:\Bauen\" - cd "C:\Bauen\" - ./run_orcascript.cmd build: stage: build script: - cd "C:\Bauen\" - ./run_pbc.cmd except: - master build_master: stage: build script: - cd "C:\Bauen\" - ./run_pbcm.cmd only: - master package: stage: package script: - cd "C:\Bauen\" - ./cpfiles.cmd