Giter Site home page Giter Site logo

Setup CI about specification HOT 13 CLOSED

opencyphal avatar opencyphal commented on May 27, 2024
Setup CI

from specification.

Comments (13)

pavel-kirienko avatar pavel-kirienko commented on May 27, 2024

@clyde-johnston can you please look into this?

@thirtytwobits why Buildkite, why not GitHub Actions?

from specification.

TSC21 avatar TSC21 commented on May 27, 2024

I would go for actions. Quite easy to setup and use.

from specification.

thirtytwobits avatar thirtytwobits commented on May 27, 2024

Or Travis? It'd be nice to not have so many different CI solutions. Can we keep it at two? Can we move our Travis builds to actions?

from specification.

pavel-kirienko avatar pavel-kirienko commented on May 27, 2024

Can we keep it at two? Can we move our Travis builds to actions?

Someday, sure, but we already use GitHub Actions for website deployment.

from specification.

clyde-johnston avatar clyde-johnston commented on May 27, 2024

What event should trigger the build? Any push? Any push to master? Any change to the specification directory?

from specification.

pavel-kirienko avatar pavel-kirienko commented on May 27, 2024

from specification.

thirtytwobits avatar thirtytwobits commented on May 27, 2024

Any push.

On Tue, Jul 14, 2020, 09:21 clyde-johnston @.***> wrote: What event should trigger the build? Any push? Any push to master? Any push to the specification directory? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#72 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFIZDMGXDERQRYCK5MTOTR3P2O3ANCNFSM4K6QOBDA .

any push to master, right @pavel-kirienko ?

from specification.

pavel-kirienko avatar pavel-kirienko commented on May 27, 2024

Why? Let it be any push to any branch.

from specification.

thirtytwobits avatar thirtytwobits commented on May 27, 2024

consistency. Having a single branch that can publish the spec from means there's no risk of another branch being created that publishes different versions. This would create a condition where the last branch to accept a change would be the one that the public-specification was published from. That seems dangerous.

from specification.

clyde-johnston avatar clyde-johnston commented on May 27, 2024

This should not be a problem as each artifact is associated with its respective commit ID. Presumably the artifacts associated with commits in the master branch will be canonical. You would need to switch branches to download a more recent artifact in another branch. When the pull request for this branch has been approved and merged, a new artifact will be built from the new commit in the master branch.

from specification.

pavel-kirienko avatar pavel-kirienko commented on May 27, 2024

Automatic builds and automatic publications are two different things.

The doc should be always built and stored somewhere temporarily regardless of the current branch. If the branch is master, the doc should also be published somewhere so that it can be redirected to from uavcan.org/specification. Do we have any ideas on how to implement that?

Currently, I update the published doc manually by simply overwriting this file here: https://github.com/UAVCAN/uavcan.org/tree/master/specification

from specification.

clyde-johnston avatar clyde-johnston commented on May 27, 2024

The normal method is to deploy the artifact (i.e. publish the document) to the web server once the build is complete. This can be done directly from the specification repository without copying the PDF to the uavcan.org repository.

If you want the specification to be part of the web source, you might want to consider making the specification repo a submodule of the uavcan.org repo. The limitation here is that you would need to check in and commit the submodule directory every time there was a change in the specification repo. It might be possible to automate this by sending a custom event from one repo to another but I am not sure. It would be unusual to do it this way.

from specification.

pavel-kirienko avatar pavel-kirienko commented on May 27, 2024

Clyde has set up auto-build but not auto-publish. Closing because this issue is about the former only, which is done.

from specification.

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.