continuous-integration

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

GraalVM with native-image compilation in Travis CI

江枫思渺然 提交于 2020-06-28 04:23:35
问题 I have Java project which I compile with GraalVM native-image to executable binary. I'd like to configure continuous integration process for the project with Travis CI and it's ineresting to me - does Travis CI allow that? How can I configure .travis.yml file for building with GraalVM native-image? 回答1: I was able to configure native-image GraalVM compilation in Travis CI builds using install-jdk.sh from Bach.java - Java Shell Builder. Here is .travis-ci.yml : sudo: false language: java cache

GraalVM with native-image compilation in Travis CI

◇◆丶佛笑我妖孽 提交于 2020-06-28 04:23:08
问题 I have Java project which I compile with GraalVM native-image to executable binary. I'd like to configure continuous integration process for the project with Travis CI and it's ineresting to me - does Travis CI allow that? How can I configure .travis.yml file for building with GraalVM native-image? 回答1: I was able to configure native-image GraalVM compilation in Travis CI builds using install-jdk.sh from Bach.java - Java Shell Builder. Here is .travis-ci.yml : sudo: false language: java cache

Easily catch error from maven install task in build pipeline in Azure Devops?

╄→尐↘猪︶ㄣ 提交于 2020-06-28 00:17:26
问题 In Azure Devops when your Maven build task fails it will display an an error like below in the build summary: Maven build error Now if you click in and scroll up you will be able to find the error next to the reactor summary. This is easy enough to do at home with a mouse and a big screen but for some of our devs on trains or in cafes it can be quite an effort for them to find the error. I want to be able to make the error easier to find. Some suggestions I've thought of but not sure how to

Running Remote Bamboo Agents on Demand Using Docker [closed]

╄→尐↘猪︶ㄣ 提交于 2020-06-27 16:25:09
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . Improve this question I'm trying to see if it would be viable to automatically spin up Bamboo containers for a CI build enviroment Ideally I want any number of random containers to be able to spin up automatically and destroy themselves for a build without having to do any tinkering

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 --

how to mask AWS_SECRET_ACCESS_KEY in gitlab-ci

若如初见. 提交于 2020-06-27 02:54:28
问题 In my Gitlab CI, I need to push a docker image to AWS ECR, so I need AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY . In Gitlab, when I go in Settings > CI / CD > Variables, I can put my variables, but I won't be able to mask AWS_SECRET_ACCESS_KEY as stated in the docs: The value must be in a single line. The value must not have escape characters. The value must not use variables. The value must not have any whitespace. The value must be at least 8 characters long. The SECRET has a format like

how to mask AWS_SECRET_ACCESS_KEY in gitlab-ci

筅森魡賤 提交于 2020-06-27 02:53:59
问题 In my Gitlab CI, I need to push a docker image to AWS ECR, so I need AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY . In Gitlab, when I go in Settings > CI / CD > Variables, I can put my variables, but I won't be able to mask AWS_SECRET_ACCESS_KEY as stated in the docs: The value must be in a single line. The value must not have escape characters. The value must not use variables. The value must not have any whitespace. The value must be at least 8 characters long. The SECRET has a format like

how to mask AWS_SECRET_ACCESS_KEY in gitlab-ci

谁都会走 提交于 2020-06-27 02:52:39
问题 In my Gitlab CI, I need to push a docker image to AWS ECR, so I need AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY . In Gitlab, when I go in Settings > CI / CD > Variables, I can put my variables, but I won't be able to mask AWS_SECRET_ACCESS_KEY as stated in the docs: The value must be in a single line. The value must not have escape characters. The value must not use variables. The value must not have any whitespace. The value must be at least 8 characters long. The SECRET has a format like

Jenkins running at very high CPU usage

点点圈 提交于 2020-06-25 07:33:08
问题 I recently upgraded from Jenkins 1.6 to 2.5. After I did this, I noticed very high CPU usage, sometimes over 300% (there are only 4 cores, so I don't think it could go over 400%). I'm not sure where to begin debugging this, but here's a thread dump and some screenshots from top/htop htop top: 回答1: As it turned out, my issue was that several jobs had thousands of old builds. This was fine in Jenkins 1.6 but it's a problem in 2.5 (I guess maybe Jenkins tries to load all the builds into memory