Comments (8)
Hi,
Silly question: but does the Lab manage to build in VSTS? Is there a artifact?
from partsunlimited.
Hi,
Yeah, the lab generates build artifacts and then takes those and deploys to azure. I just ran through it though and the build is breaking, there's been a change affecting one of the tasks. Will have an update shortly to fix it, will let you know what that's done.
Thanks for flagging,
Eamonn
from partsunlimited.
Thanks! I ended up getting past it and deploying successfully with the help with a colleague. Let me know how I can help.
from partsunlimited.
So what's the solution then?
from partsunlimited.
Just FYI as well that am still working through this, the issue seems to be around node and grunt paths and versions on the agent, don't have an end to end working solution yet to roll out but as soon as I have it I'll share it.
The options I'm working on are some changes to the source files and tasks, or potentially creating our own agent, not using provided hosted agent, and being able to more tightly control the build environment.
I'll possibly be another day or so with it, but if there's any other working solutions in the meantime feel free to share.
Thanks,
Eamonn
from partsunlimited.
Hi,
Have updated the PartsUnlimitedWebsite.csproj, with the below. The issue was caused by changes in the hosted agent resulting in errors with versions and paths for grunt and python. The below changes will address those it should now run and generate artifacts.
You will see deprecation and some security warnings and some errors as it builds in VSTS but its fine ot ignore those, they don't affect the result and the source files now run and build successfully, have run through it a couple of times and it seems to be running fine with these updated source files.
Have also updated the buld.ps1 verbosity to detailed to provide more output when running, so it may take a small bit longer to run.
Anyway, grab the latest source files and run it with those and let us know if you have any problems.
Thanks,
Eamonn
from partsunlimited.
just realized the csproj update was commented out, have repasted it below just fyi
<Target Name="PrecompileScript" BeforeTargets="BeforeBuild">
<Exec Command="npm install --python=python2.7" />
<Exec Command="npm config set python python2.7" />
<Exec Command="npm install -g grunt-cli" />
<Exec Command="grunt" />
</Target>
thanks again,
eamonn
from partsunlimited.
I just had this same issue where pushing changes to master was not triggering a CI build.
I believe Task 4 here: http://microsoft.github.io/PartsUnlimited/pandp/200.1x-PandP-CICDQuickstartwithVSTS.html needs to include an instruction (maybe between instruction #8 and #9) to:
Click on the "Triggers" tab and make sure the "Branch specification" dropdown says "master".
I checked this when the CI build was not getting triggered, and it said one of the "update - .net core 2" selections I believe. I changed it to master, pushed a code change to master, and CI build was automatically triggered followed by automatic release deployment....working now as expected.
I hope this helps others!
from partsunlimited.
Related Issues (20)
- PartsUnlimited.UnitTests.dll provided was not found HOT 2
- Laravel HOT 1
- error MSB3073: The command "grunt" exited with code 1 ;Set-Content : Could not find a part of the path 'D:\a\1\a\Publish\manifest.xml'. At D:\a\1\s\build.ps1:49 char:1
- VS2019 support?
- 200.2x-IaC-AZ-400T05AppInfra - Typos
- 200.2x-IaC-AZ-400T05AppInfra - Outdated command
- Web project is not building HOT 2
- MSB3073 command "grunt" exited with code 3.
- category change.cs
- Site.css not found
- VS2022 support with .NET 4/5/6 and .NET Core 3
- Unable to find Azure CLI in PC
- A compatible SDK version for global.json version: [2.2.102] from [D:\a\1\s\global.json] was not found
- Build failing due to missing variables
- grunt-sass not installed
- Change Category.cs
- This repo is missing important files HOT 5
- GitHub Ribbon (Fork me on GitHub) not displaying on the Home page
- NuGet version out of date
- I successfully deployed this project code to my Azure app service. unfortunately, I am getting this error page. I tried troubleshooting but can't figure out the problem! What might be the problem?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from partsunlimited.