Code Monkey home page Code Monkey logo

Comments (5)

jgalan avatar jgalan commented on August 15, 2024 1

Notice that libraries have a common validation script, where we may introduce rules that guarantee that a library fulfills with certain specifications. I.e. any library must call the method SetLibraryVersion at InitProcess method.

validateLibrary:
    stage: pre-build
    script:
        - python3 pipeline/validateLibrary.py .
    except:
        variables:
            - $CRONJOB == "YES"

Then, we are also executing the clang-format validation at each repository. This job is not executed at any pipeline, but it is executed only from time to time, it is defined as an scheduled job. It will be launched every week (or day), check if there are any files that do not fulfill with the clang-format specifications, prepare the commit and upload it to the repository.

clang-format:
    stage: pre-build
    script:
        - echo "**$CRONJOB**"
        - echo "**$CI_SERVER_HOST**"
        - cd ${CI_PROJECT_DIR}/pipeline/clang-format/
        - ./clangformattest.sh
          # We execute only at a schedulled pipeline that defines CRONJOB variable
    only:
        variables:
            - $CRONJOB

from framework.

lobis avatar lobis commented on August 15, 2024

I have created a milestone and linked issues for the other repositories, it would be nice if we could reference the milestone from the other repos too, (otherwise it makes little sense).

Maybe @jgalan or @juanangp know more about this?

from framework.

jgalan avatar jgalan commented on August 15, 2024

So, every library validation pipeline should include clang-format, validateLibrary, build and loadRESTLibraries tests.

Then, I created issues for those libraries that already include tests on top of those basic/common ones, and edited this issue in concordance.

from framework.

jgalan avatar jgalan commented on August 15, 2024

For the moment, most libraries only implement build, clang-format and library validation. But rawlib and axionlib are already implementing few dedicated tests. So I have added a explicit issue for them.

Also, I see that restG4 does not implement clang-format in its pipeline.

from framework.

lobis avatar lobis commented on August 15, 2024

For the moment, most libraries only implement build, clang-format and library validation. But rawlib and axionlib are already implementing few dedicated tests. So I have added a explicit issue for them.

Also, I see that restG4 does not implement clang-format in its pipeline.

You are right, this should be updated.

from framework.

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.