Code Monkey home page Code Monkey logo

Comments (9)

jfversluis avatar jfversluis commented on September 21, 2024 1

Yeah really like the idea! I know why you would want it. But didn't really work with it yet 🙂

But a quick Google action taught me that you can also add a .vsts-ci.yml file which automatically provides you with a pipeline in VSTS ADO. More info: https://blogs.msdn.microsoft.com/devops/2017/11/15/pipeline-as-code-yaml-preview/

Anyway, I'll export the definitions I have now and will put them in the Deployment folder. We'll evolve from there.

from cfpexchange.

SebastianSchuetze avatar SebastianSchuetze commented on September 21, 2024 1

@jfversluis I am currently going through the pipeline, since the last PR is submitted.

You have some problems there. ;-)

The following things do not work properly or are not supported:

  • All projects are using .net core except the Model project. The unit testing within pipelines cannot handle this very well.
  • No unit test are executed within the pipeline
  • no code coverage is published
  • the publish symbols do not working with GitHub based source code
  • you are using mostly msbuild, but it is better to use only the .net core CLI
  • you are not at least validating the ARM templates in the builds.

But I am close to fixing this. Here is a public log of the pipeline:
https://dev.azure.com/razorspoint/GitHub_CfPExchange/_build?definitionId=28&_a=summary

it is based on JSON still. After I got it working, I will put it into a YAML pipeline and create a PR.

from cfpexchange.

jfversluis avatar jfversluis commented on September 21, 2024

How would you want to use this?

Just static YAML files in a subfolder for you to use? I see also the possibility to create an automatic CI pipeline based on a specially named YAML file. Not too familiar with them myself yet.

from cfpexchange.

Jandev avatar Jandev commented on September 21, 2024

Yup, somewhere in the Deployment folder, or some other folder for that matter.

Last week @faniereynders mentioned YAML builds in VSTS and I just read some stuff about it for a course I'm preparing. Looks like static files indeed which you can export from an existing pipeline and import from a file. Continuous-integration-as-code!

Also makes it easier to add additional steps if 'someone' wants to add new stuff to the overall solution and it would need additional build steps. Saves us writing a complete how-to workflow in a PR 😄

BTW: I'm not familiar with it either, yet!

from cfpexchange.

SebastianSchuetze avatar SebastianSchuetze commented on September 21, 2024

@jfversluis I can take this up! I got somewhat familiar with YAML. I would suggest recreating the pipeline you have into a YAML build.

Would that be okay? Then I would just fork and start a topic branch on it.

from cfpexchange.

jfversluis avatar jfversluis commented on September 21, 2024

Hi @SebastianSchuetze sorry for the delay! Some personal developments that needed my attention :)

That would definitely be OK! Thank you so much.
It might be worth to wait a little on #109 which brings in a lot of framework updates. That might affect the pipeline. If I can assist you in any way, please let me know!

from cfpexchange.

SebastianSchuetze avatar SebastianSchuetze commented on September 21, 2024

@jfversluis It would probably help if you could give me your pipeline exported as JSON. Don't worry variables marked as secrets properly are not exported. But it would help with the configuration of the tasks. Then you don't need to screenshot them or anything.

And a list of custom tasks that you might use and have installed on your organization

from cfpexchange.

jfversluis avatar jfversluis commented on September 21, 2024

Here you go! AFAIK no custom tasks or anything exotic.

[master] CI.txt

from cfpexchange.

jfversluis avatar jfversluis commented on September 21, 2024

This also done. Just evolving from here.

from cfpexchange.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.