continuous-integration

CI with a SQL Always Encrypted column

心不动则不痛 提交于 2021-01-28 05:00:21
问题 We are trying to add Always encrypted in one of our application and we would like to make it work with our CI flow. We are using DACPAC deploy with Azure Devops. Everything worked until now but we are facing a challenge with always encrypted... Each SQL environment needs to have a different key that is in Azure Key Vault. The way we found to automate this is by using a SSDT Variables (ref) CREATE COLUMN MASTER KEY [ResponseKey] WITH ( KEY_STORE_PROVIDER_NAME = N'AZURE_KEY_VAULT', KEY_PATH = N

Trigger multiple Jenkins builds with GitHub Pull Request Builder

雨燕双飞 提交于 2021-01-28 04:34:13
问题 Currently, I have a Jenkins job setup so that when a pull request is opened for my repository, a Jenkins job is automatically created via the GitHub Pull Request Builder Plugin. I would like to be able to trigger multiple Jenkins jobs when a PR is opened in my GitHub repository and have the GitHub Pull Request Builder report the status back to the PR. Is this achievable via the GitHub Pull Request Builder plugin or are there other plugins available for this? My research has me coming up empty

How to persist Properties in jenkins pipeline?

南楼画角 提交于 2021-01-27 23:11:14
问题 In my jenkins pipeline I am working with properties stored in file. I can read properties from file and add new items to the map using this code, but I do not understand how to persist my changes. node('hozuki-best-girl') { def propertiesPath = "${env.hozuki_properties}" def props = readProperties file: propertiesPath props['versionCode'] = 100500 } What should I do in order to persist my changes? There is no writeProperties method here https://jenkins.io/doc/pipeline/steps/pipeline-utility

How to tune store step on Wercker

南楼画角 提交于 2021-01-27 20:39:29
问题 When I run build on Wercker it is failed because I get error at store step: Size exceeds maximum size of 1000MB How can I disable store step or increase store size ? This is part of wercker.yml : box: java build: steps: - script: name: create test db code: | sudo apt-get install -y percona-server-server-5.6 sudo service mysql start #sql to create db - script: name: install gradle code: | wget https://services.gradle.org/distributions/gradle-2.8-all.zip unzip gradle-2.8-all.zip - script: name:

How to get Gitlab merge request description in Gitlab CI?

人走茶凉 提交于 2021-01-27 14:12:37
问题 I want to fetch the description of the merge request to generate changelog. Is it possible to get the description?? 回答1: In GitLab CI/CD's predefined environment variables there are some variables related to merge requests, such as: CI_MERGE_REQUEST_ASSIGNEES CI_MERGE_REQUEST_CHANGED_PAGE_PATHS CI_MERGE_REQUEST_CHANGED_PAGE_URLS CI_MERGE_REQUEST_ID CI_MERGE_REQUEST_IID CI_MERGE_REQUEST_LABELS CI_MERGE_REQUEST_PROJECT_PATH CI_MERGE_REQUEST_PROJECT_URL CI_MERGE_REQUEST_REF_PATH CI_MERGE_REQUEST

How to get Gitlab merge request description in Gitlab CI?

跟風遠走 提交于 2021-01-27 14:01:35
问题 I want to fetch the description of the merge request to generate changelog. Is it possible to get the description?? 回答1: In GitLab CI/CD's predefined environment variables there are some variables related to merge requests, such as: CI_MERGE_REQUEST_ASSIGNEES CI_MERGE_REQUEST_CHANGED_PAGE_PATHS CI_MERGE_REQUEST_CHANGED_PAGE_URLS CI_MERGE_REQUEST_ID CI_MERGE_REQUEST_IID CI_MERGE_REQUEST_LABELS CI_MERGE_REQUEST_PROJECT_PATH CI_MERGE_REQUEST_PROJECT_URL CI_MERGE_REQUEST_REF_PATH CI_MERGE_REQUEST

How to set LD_LIBRARY_PATH on Jenkins

ぃ、小莉子 提交于 2021-01-27 12:48:55
问题 I am having java.lang.UnsatisfiedLinkError problem while running a job from Jenkins. <error message="no JSTAF in java.library.path" type="java.lang.UnsatisfiedLinkError">java.lang.UnsatisfiedLinkError: no JSTAF in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) Basically I need to set LD_LIBRARY_PATH and when this is set, it works fine from command line execution

Bitbucket Pipelines - How to use the same Docker container for multiple steps?

穿精又带淫゛_ 提交于 2021-01-26 09:28:59
问题 I have set up Continuous Deployment for my web application using the configuration below ( bitbucket-pipelines.yml ). pipelines: branches: master: - step: name: Deploy to production trigger: manual deployment: production caches: - node script: # Install dependencies - yarn install - yarn global add gulp-cli # Run tests - yarn test:unit - yarn test:integration # Build app - yarn run build # Deploy to production - yarn run deploy Although this works, I would like to increase the build speed by

Install private github package from package.json on Github Actions

拜拜、爱过 提交于 2021-01-24 05:47:07
问题 I'm trying to implement Github actions as a CI on my project. The problem is that I'm using private git URL on my package.json but CI gets an error because Github actions "somehow" doesn't have access to that repo which it's impossible because it's on the same user account. Does anyone have any idea how to figure this out? main.workflow file: workflow "Github Actions" { on = "pull_request" resolves = ["Danger JS"] } action "Build" { <-------- This gets error uses = "actions/npm@master" args =

Install private github package from package.json on Github Actions

旧时模样 提交于 2021-01-24 05:42:05
问题 I'm trying to implement Github actions as a CI on my project. The problem is that I'm using private git URL on my package.json but CI gets an error because Github actions "somehow" doesn't have access to that repo which it's impossible because it's on the same user account. Does anyone have any idea how to figure this out? main.workflow file: workflow "Github Actions" { on = "pull_request" resolves = ["Danger JS"] } action "Build" { <-------- This gets error uses = "actions/npm@master" args =