continuous-integration

How to pass the env secret variable in google app engine and gitlab CI

别说谁变了你拦得住时间么 提交于 2020-12-15 04:26:23
问题 I am using gitlab and deploying it to google app engine for my nodejs application. Google Service access is added as variable in gitlab settings SERVICE_ACCOUNT_KEY: { "type": "service_account", "project_id": "node-us", "private_key_id": "", "private_key": "", "client_email": "gitlab-demo-service-account@node-us.iam.gserviceaccount.com", "client_id": "", "auth_uri": "", "token_uri": "", "auth_provider_x509_cert_url": "", "client_x509_cert_url": "" } .gitlab-ci.yml image: node:latest cache:

How to trigger Github Workflow after a check suite finishes?

こ雲淡風輕ζ 提交于 2020-12-13 18:07:59
问题 I want to trigger a workflow only if a particular workflow finishes... does anyone know how to do that? Some context: I have a workflow Tests and another called Build-feature . I run my Tests workflow on every PR to branch feature . If something is pushed/merged to branch feature then i want to run workflow Tests and only if that succeeds then i want to run Build-feature workflow. Also there's the event check_suite that it's supposed to trigger a workflow: https://help.github.com/en/actions

How to trigger Github Workflow after a check suite finishes?

为君一笑 提交于 2020-12-13 18:06:48
问题 I want to trigger a workflow only if a particular workflow finishes... does anyone know how to do that? Some context: I have a workflow Tests and another called Build-feature . I run my Tests workflow on every PR to branch feature . If something is pushed/merged to branch feature then i want to run workflow Tests and only if that succeeds then i want to run Build-feature workflow. Also there's the event check_suite that it's supposed to trigger a workflow: https://help.github.com/en/actions

How to trigger Github Workflow after a check suite finishes?

。_饼干妹妹 提交于 2020-12-13 18:05:25
问题 I want to trigger a workflow only if a particular workflow finishes... does anyone know how to do that? Some context: I have a workflow Tests and another called Build-feature . I run my Tests workflow on every PR to branch feature . If something is pushed/merged to branch feature then i want to run workflow Tests and only if that succeeds then i want to run Build-feature workflow. Also there's the event check_suite that it's supposed to trigger a workflow: https://help.github.com/en/actions

How to trigger Github Workflow after a check suite finishes?

谁说我不能喝 提交于 2020-12-13 18:04:49
问题 I want to trigger a workflow only if a particular workflow finishes... does anyone know how to do that? Some context: I have a workflow Tests and another called Build-feature . I run my Tests workflow on every PR to branch feature . If something is pushed/merged to branch feature then i want to run workflow Tests and only if that succeeds then i want to run Build-feature workflow. Also there's the event check_suite that it's supposed to trigger a workflow: https://help.github.com/en/actions

VSTS Build - Choose which unit tests run depending on which files were modified in a pull request

蓝咒 提交于 2020-12-11 04:33:25
问题 I would like to control which unit tests run in a VSTS build pipeline based on which files were modified in the PR that triggered the pipeline. Is there a way to detect which files were modified in a pull request during a VSTS build triggered for that PR, and then choose which tests to run based on that information? 回答1: Yes, this is possible: Manual Approach One approach to this is to have a custom Powershell task in your pipeline that sets a variable based on whether a certain file was

VSTS Build - Choose which unit tests run depending on which files were modified in a pull request

非 Y 不嫁゛ 提交于 2020-12-11 04:33:18
问题 I would like to control which unit tests run in a VSTS build pipeline based on which files were modified in the PR that triggered the pipeline. Is there a way to detect which files were modified in a pull request during a VSTS build triggered for that PR, and then choose which tests to run based on that information? 回答1: Yes, this is possible: Manual Approach One approach to this is to have a custom Powershell task in your pipeline that sets a variable based on whether a certain file was

tcpSlaveAgentListener not found on Jenkins server

别等时光非礼了梦想. 提交于 2020-12-08 06:14:36
问题 I am trying to connect to a Jenkins master instance from a slave. From a connectivity standpoint, everything looks good. I am able to curl the selected "TCP port for JNLP agent" as set in "Configure Global Security" in Jenkins from where I am starting the slave node: $ curl http://myjenkinsurl:7004/ Jenkins-Agent-Protocols: CLI-connect, CLI2-connect, JNLP-connect, JNLP2-connect, JNLP4-connect, Ping Jenkins-Version: 2.62 Jenkins-Session: 77c90621 Client: 10.0.0.2 Server: 172.0.0.2 However,

tcpSlaveAgentListener not found on Jenkins server

对着背影说爱祢 提交于 2020-12-08 06:14:17
问题 I am trying to connect to a Jenkins master instance from a slave. From a connectivity standpoint, everything looks good. I am able to curl the selected "TCP port for JNLP agent" as set in "Configure Global Security" in Jenkins from where I am starting the slave node: $ curl http://myjenkinsurl:7004/ Jenkins-Agent-Protocols: CLI-connect, CLI2-connect, JNLP-connect, JNLP2-connect, JNLP4-connect, Ping Jenkins-Version: 2.62 Jenkins-Session: 77c90621 Client: 10.0.0.2 Server: 172.0.0.2 However,

In GitLab's CI/CD system how do I prevent a job from running if it's in my fork and only allow it to run if its a merge to the main repo?

杀马特。学长 韩版系。学妹 提交于 2020-12-06 12:52:09
问题 I have a job in my gitlab-ci.yml like build and push: stage: push only: - master script: - gcloud docker -- push $IMAGE_TAG The idea being that it should only run if the branch is master, but I also only want it to run if the repo is app/ and not dave/ The docs say The repository path can be used to have jobs executed only for the parent repository and not forks: job: only: - branches@gitlab-org/gitlab-ce but I can't get this to work. If our gitlab server is gitlab.myco.io and the app is app