CI jobs artifacts should not be difficult

(deadsimpleci.sparrowhub.io)

15 points | by melezhik 4 hours ago

5 comments

  • tuxie_ 2 hours ago
    > The idea is that - Git server + YAMLess pipelines for CICD (...)

    The first thing I see in the introduction [0] is a YAML configuration. What is YAMLess supposed to mean? I assumed it was "no YAML".

    [0] https://deadsimpleci.sparrowhub.io/doc/introduction

    • melezhik 2 hours ago
      Yep - tiny , simple structured YAML on the top ( only to list jobs technically) everything else is general purpose programming languages
      • tuxie_ 2 hours ago
        But then your claim is immediately false. It's confusing at best, a loss of trust with the reader at worst.
        • melezhik 2 hours ago
          Ok, maybe I will need to add better wording , but the idea stays the same unlike in many ci systems ( GitHub/gitlab/etc pipeline code is general purpose programming language not YAML ), if you read further jobs/tasks you will see
          • drfloyd51 2 hours ago
            Some of your intended audience will not read further. Which is the point about trust.

            You’ve got something cool to show, and a reader is telling you an impediment to your sharing.

            Fix your description. 99% less YAML!

            • melezhik 1 hour ago
              I like the idea, thanks
  • melezhik 4 hours ago
    IN DSCI CI artifacts are easy, every job can create a file inside ~/artifacts directory and all subsequent will see it. If any job remove a file for ~/artifacts all the subsequent jobs won't see it.

    So artifacts works as a pipeline data buffer

    Very easy. No need for explicit links via YAML/whatever ...

  • nkapias 2 hours ago
    What's difficult about artifacts ?
    • melezhik 2 hours ago
      In the systems I am familiar with one has to explicitly describe jobs artifacts via YAML files as dependencies, for the most cases it’s not needed as all I need is to pass files between jobs. I don’t want explicit syntax for that, just shared ~/artifacts directory
  • formerly_proven 3 hours ago
    The example contradicts itself in such a short blog post (the example creates and reads ~/artifacts.txt, the prose claims repeatedly artifacts are anything in ~/artifacts/).

    This is also an even worse design than path artifacts in Gitlab CI.

    • melezhik 3 hours ago
      Oh. It’s just a typo. Why it’s worse ?
      • thenewnewguy 2 hours ago
        It's a typo that carried over to the second code example of trying to read the file too? Is the sample code completely untested?
        • melezhik 34 minutes ago
          the example is fixed, thanks for spotting that
  • anon7000 1 hour ago
    This feels like it’s not built for massively parallelized CI steps