cake-build / docker Goto Github PK
View Code? Open in Web Editor NEW๐ณ ๐ฐ Docker images with Cake tool pre-installed
Home Page: https://cakebuild.net/
License: MIT License
๐ณ ๐ฐ Docker images with Cake tool pre-installed
Home Page: https://cakebuild.net/
License: MIT License
Hi All
I have a following script that is running through bamboo agent
/*****************
echo "-------------------------Start Compilation ----------------------"
docker run --rm -v $PWD:$mountpoint -w $mountpoint docker.xxx.x.x.x/syncromatics/build-box:latest cake --dotnetCore="false" --setClean="true"
--package=${arr[0]} --workDir=${arr[1]}
--releaseName=${arr[2]}
echo "-------------------------End Compilation -------------------------"
echo " "
rc=$?
echo "ERRRRRRRRRRRRRRRRRRRRRRR" $rc
if [ $? -ne 0 ]
then
echo "An error occurred while compile time".
exit 1
fi
******************/
inside the build.cake it fails the build with exit code 1.
/************************
An error occurred when executing task 'Build'.
Error: One or more errors occurred.
MSBuild: Process returned an error (exit code 1).
***********************/
But I cant capture this error using $?. It always return 0.
There is a need to use Mono docker image without Bitrise.
With
Post 2.0 release exclude following from builds
Lines 127 to 131 in ad9d96d
Hi All ,
I'm using "cakebuild/cake:2.1-sdk-mono" image for my build process.
My build is failing with "bash: msbuild: command not found"
I think it cant find the msbuild location.
I have an app that I'd like to do a multi-stage docker build with cake that will be targeting netcoreapp2.2 that doesn't work as this targets the 2.1 sdk.
The current tag cakebuild/cake:v0.32.1-2.1-sdk
doesn't work to build a 2.2 app as that sdk isn't new enough. If we could build a set of containers targeting the microsoft/dotnet:2.2-sdk
as the base it would be awesome.
We should consider meging Docker repo into main https://github.com/cake-build/cake repository. They both share the same release lifecycle and having them in a single repository would simplify and allow more automation in release process.
Title pretty much. And if I can help with the automation part, I'd be happy to do so.
/cake/Cake
is missing executable permissions. See Cake.Dungeon Docker Job.
~$ docker run --rm -it cakebuild/cake:v0.32.1-2.1-sdk
root@aab27beb84ed:/src# which cake
/cake/cake
root@aab27beb84ed:/src# ls -al /cake/cake
-rwxr-xr-x 1 root root 30 Jan 4 20:43 /cake/cake
root@aab27beb84ed:/src# cat /cake/cake
#!/bin/sh
exec /cake/Cake "$@"
root@aab27beb84ed:/src# ls -al /cake/Cake
-rwxrw-rw- 1 root root 97416 Jan 4 20:42 /cake/Cake
PS. Add a trailing newline to /cake/cake
so cat
looks clean.
Hi ,
I'm using "build.cake" to build my .net standard project.
I need to restore nuget packages before build start
Task
/**************************
Task("Restore")
.Does(() =>
{
if (dotnetCore=="true")
{
DotNetCoreRestore(project);
}
if (dotnetCore=="false")
{
NuGetRestore(solutionFile);
}
});
*****************************/
When I'm executing this build get fail with bellow error.
Cannot determine the packages folder to restore NuGet packages. Please specify either -PackagesDirectory or -SolutionDirectory
I'm not sure how to set this value.
Docker images should be updated to latest version of Cake.
We should also update release documentation for Cake that updating Docker Image is part of the regular release process.
With
With
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.