Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
the_artic_one ( the_artic_one@programming.dev )  to Programmer Humor@programming.devEnglish · 3 years ago

Who is this "Jenkins" and what now has broken him?

programming.dev

message-square
29
link
fedilink
388

Who is this "Jenkins" and what now has broken him?

programming.dev

the_artic_one ( the_artic_one@programming.dev )  to Programmer Humor@programming.devEnglish · 3 years ago
message-square
29
link
fedilink
alert-triangle
You must log in or # to comment.
  • CodeBlooded ( CodeBlooded@programming.dev ) 
    link
    fedilink
    arrow-up
    30
    ·
    3 years ago

    Real talk- I agree with this meme as truth.

    The more and more I use CICD tools, the more I see value in scripting out my deployment with shell scripts and Dockerfiles that can be run anywhere, to include within a CICD tool.

    This way, the CICD tool is merely a launch point for the aforementioned deployment scripts, and its only other responsibility is injecting deployment tokens and credentials into the scripts as necessary.

    Anyone else in the same boat as me?

    I’d be curious to hear about projects where my approach would not work, if anyone is willing to share!

    Edit: In no way does my approach to deployment reduce my appreciation for the efforts required to make a CICD pipeline happen. I’m just saying that in my experience, I don’t find most CICD platforms’ features to be necessary.

    • synae[he/him] ( synae@lemmy.sdf.org ) 
      link
      fedilink
      arrow-up
      11
      ·
      3 years ago

      You’re not advocating against CI like the meme seems to be, but rather for CI builds to be runnable on human’s machines and the results should be same/similar as in when running w/in the CI system. Which is what CI folks want anyway.

    • xilliah ( xilliah@beehaw.org ) 
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      2 years ago

      deleted by creator

      • CodeBlooded ( CodeBlooded@programming.dev ) 
        link
        fedilink
        arrow-up
        3
        ·
        3 years ago

        Most of those things mentioned aren’t bona fide needs for me. Once a developer is deploying their project, they’re watching it go through the pipeline so they can quickly respond to issues and validate that everything in production looks good before they switch contexts to something else.

        I see what you’re saying though, depending on what exactly is being deployed, the policies of your organization, and maybe expectations that developers are working in another context once they kick off a deployment, it could be necessary to have alerting like that. In that case it may be wise to flex some features of your CICD platform (or build a more robust script for deployment that can handle error alerting, which may or may not be worth it).

        • xilliah ( xilliah@beehaw.org ) 
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 years ago

          deleted by creator

    • killabeezio ( killabeezio@lemm.ee ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Then you would probably enjoy concourse

    • gandalf_der_12te ( gandalf_der_12te@feddit.de ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Honestly, CI is only meaningful on bigger projects (more than 100 man-hours invested in total). So I most often go without.

      But I do see its point.

  • Lanthanae ( Lanthanae@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    21
    ·
    3 years ago

    Counterpoint: watching little green checkmarks appear when my PR passes a pipeline step gives me dopamine

    • Faresh ( Faresh@lemmy.ml ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

      I’m a bit confused. I thought “build system” referred to systems like autotools, scons or cmake. How are they related to green checkmarks? Couldn’t one also get green checkmarks when using a build shell script or makefile?

      • Lanthanae ( Lanthanae@lemmy.blahaj.zone ) 
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        Is a CI/CD pipeline not a build system?

        (this isn’t a “gotcha”, I genuinely may have misunderstood the post)

  • synae[he/him] ( synae@lemmy.sdf.org ) 
    link
    fedilink
    arrow-up
    16
    ·
    3 years ago

    Allow me to blow your mind: my Jenkins build calls build.sh because I’m not a fuckin idiot

  • argv_minus_one ( argv_minus_one@beehaw.org ) Banned
    link
    fedilink
    English
    arrow-up
    16
    ·
    3 years ago

    If you want to take Cargo away from me, you’ll have to pry it from my cold, dead claws. 🦀

    • sip ( sip@programming.dev ) 
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

      I don’t think cargo is the problem. it’s idiomatic and it’s like “build.sh”

      • argv_minus_one ( argv_minus_one@beehaw.org ) Banned
        link
        fedilink
        arrow-up
        8
        ·
        3 years ago

        Cargo fetches dependencies, runs a variety of build tasks, can build a typical Rust project with little or no build scripting, and is configured with a straightforward TOML file. It’s not at all like a hand-written shell script. It’s also much more pleasant to use than any other build system I’ve seen, including shell scripts.

        • sip ( sip@programming.dev ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          yea, as I said, it’s idiomatic. it replaces the need for a build.sh.

          • argv_minus_one ( argv_minus_one@beehaw.org ) Banned
            link
            fedilink
            arrow-up
            2
            ·
            3 years ago

            Is that not true of all build systems?

  • morrowind ( morrowind@lemmy.ml ) 
    link
    fedilink
    arrow-up
    12
    ·
    3 years ago

    WHAT THE FUCK IS BUILD.SH, ALL MY CODE IS IN MAIN.C JUST COMPILE THE DAMN THING

  • r00ty ( r00ty@kbin.life ) 
    link
    fedilink
    arrow-up
    11
    ·
    3 years ago

    Joke’s on you. I have a Jenkins hook from github to trigger build.bat! :P

  • Sigmatics ( Sigmatics@lemmy.ca ) 
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    Yeah sure. Try building anything more complex than helloworld.c with a build.sh

    • jcg ( jcg@halubilo.social ) 
      link
      fedilink
      arrow-up
      11
      ·
      3 years ago

      More complex build systems are just build.sh calling other build.sh in different configurations and using different software. It’s build.sh all the way down.

      • Sigmatics ( Sigmatics@lemmy.ca ) 
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        The point is that “build.sh” implies a single file, which becomes an absolute nightmare to maintain on larger projects

  • katy ✨ ( cupcakezealot@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    I believe he goes by Leroy

  • katre ( katre@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 years ago

    Ha ha. I work on Bazel (a great build tools, https://bazel.build), and I agree 100%.

    • socsa ( socsa@lemmy.ml ) Banned
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      Hey buddy can you step over here, there’s a very tall cliff I want you to see

    • dingleberry ( dingleberry@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      God I hate bazel/blaze.

      • katre ( katre@programming.dev ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 years ago

        Thanks? I’m not sure why you wanted to share that with me.

        • lukini ( lukini@beehaw.org ) 
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 years ago

          You shared randomly, they shared randomly. Balance in all things.

    • Azzy ( AzzyDev@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 years ago

      Please ignore everyone else being unkind - I’m somewhat new to build systems in general, what are the advantages/disadvantages of Bazel compared to other build systems?

  • YurkshireLad ( YurkshireLad@lemmy.ca ) 
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    If I break our master build in CI, I get multiple emails and people saying “fix this”!!! I wouldn’t have to fix it if you stopped letting people commit directly to master and stopped using git rebase! 😁

  • MattTheProgrammer ( MattTheProgrammer@kbin.social ) 
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    I’ve been using Gearset for Salesforce CI/CD for a while and it’s pretty simple to get up and running and it just kind of works. I’m looking into integrating it with Azure for our .net stack but not sure how smoothly that will go.

  • MonkderZweite ( MonkderZweite@feddit.ch ) 
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    build.sh is no build system?

    edit: URL arser should require *://.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 448 users / day
  • 1.7K users / week
  • 3.23K users / month
  • 7.27K users / 6 months
  • 463 local subscribers
  • 33.6K subscribers
  • 1.53K Posts
  • 25.1K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code