continuous-deployment

Jenkins Pipeline stage skip based on groovy variable defined in pipeline

柔情痞子 提交于 2020-08-27 21:41:50
问题 I'm trying to skip a stage based a groovy variable and that variable value will be calculated in another stage. In the below example, Validate stage is conditionally skipped based Environment variable VALIDATION_REQUIRED which I will pass while building/triggering the Job. --- This is working as expected. Whereas the Build stage always runs even though isValidationSuccess variable is set as false . I tried changing the when condition expression like { return "${isValidationSuccess}" == true ;

How do I add a Python tag to the bdist_wheel command using setuptools?

泪湿孤枕 提交于 2020-07-20 10:52:35
问题 Let's say I have a simple library which uses setuptools for packaging and distributing. The library in this case also requires a minimum version of Python 3.6, meaning my setup.py would be something like as follows: from setuptools import setup, find_packages setup( name='something', version='0.0.1', description='description', long_description=long_description, # More metadata packages=find_packages(exclude=['tests', 'docs']), python_requires='>=3.6' ) Now, when I run python setup.py bdist

CI/CD pipelines Azure devops automatic merge after deploy release

穿精又带淫゛_ 提交于 2020-07-06 13:51:25
问题 I have a classic env. setup like following: I have 2 branches: Develop and Master . Is there any way in Azure DevOps to setup the following rule: When a deploy is succeeded on dev environment (defined in the release pipeline of azure devops) ------> create automatically a pull request to merge develop into Master . or the other one: if a Build of develop branch is succeded -------> create automatically a pull request to merge develop into Master . Any help will be appreciated. 回答1: Edit: I

CI/CD pipelines Azure devops automatic merge after deploy release

孤街浪徒 提交于 2020-07-06 13:50:30
问题 I have a classic env. setup like following: I have 2 branches: Develop and Master . Is there any way in Azure DevOps to setup the following rule: When a deploy is succeeded on dev environment (defined in the release pipeline of azure devops) ------> create automatically a pull request to merge develop into Master . or the other one: if a Build of develop branch is succeded -------> create automatically a pull request to merge develop into Master . Any help will be appreciated. 回答1: Edit: I

CI/CD pipelines Azure devops automatic merge after deploy release

谁都会走 提交于 2020-07-06 13:50:06
问题 I have a classic env. setup like following: I have 2 branches: Develop and Master . Is there any way in Azure DevOps to setup the following rule: When a deploy is succeeded on dev environment (defined in the release pipeline of azure devops) ------> create automatically a pull request to merge develop into Master . or the other one: if a Build of develop branch is succeded -------> create automatically a pull request to merge develop into Master . Any help will be appreciated. 回答1: Edit: I

How to manage signing keystore in Gitlab CI for android

非 Y 不嫁゛ 提交于 2020-07-04 11:36:13
问题 Dear stackoverflow community, once more I turn to you :) I've recently come across the wonder of Gitlab and their very nice bundled CI/CD solution. It works gallantly however, we all need to sign our binaries don't we and I've found no way to upload a key as I would to a Jenkins server for doing this. So, how can I, without checking in my keys and secrets sign my android (actually flutter) application when building a release? From what I see, most people define the build job with signing

MSBuild does not copy views to the output folder

Deadly 提交于 2020-06-28 10:22:06
问题 After upgrading to .NET Core 3.1, my home-made build system broke. Here's the problem. I use MSBuild to publish a project in a CI/CD pipeline. This is my code: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" C:\Company\Solution\Solution.sln /t:UserPanel /p:DeployOnBuild=true /p:PublishProfile=DeployUserPanel /p:SolutionDir=C:\Company\Solution /property:PublishFolder=C:\Publish\Solution\UserPanel /t:Publish The exact same code would publish

Deploy individual services from a monorepo using github actions

微笑、不失礼 提交于 2020-06-27 08:37:22
问题 I have around 10 individual micro-services which are mostly cloud functions for various data processing jobs, which all live in a single github repository. The goal is to trigger the selective deployment of these service to Google Cloud Functions, on push to a branch - when an individual function has been updated. I must avoid the situation in which update of a single service causes the deployment of all the cloud functions. My current repository structure: /repo --/service_A ----/function --