#GitLab local checks

1 messages Ā· Page 1 of 1 (latest)

full lodge
#

Love this idea! Is there a GitLab API for updating a check on the project/repo? if so, should be easy to do šŸ™‚

slow lark
steel sun
steel sun
slow lark
#
steel sun
#

Yeah great take imo!

#

I've not yet found a great solution for this, will checkout how DHH did it for github

slow lark
# steel sun Yeah great take imo!

@steel sun you might also like @rugged steppe's kubecon presentation which also revolves around to this topic: https://www.youtube.com/watch?v=tsH3eTo2GLI

You're Overpaying for CI - Kyle Penfound, Dagger

In recent years, the computational power of developer workstations has surged dramatically. With so much compute available at every developer's fingertips, why do we continue to waste time and money with lengthy build times on sluggish CI compute? Some forward-thinking organizations are re-evalua...

ā–¶ Play video
steel sun
#

Pretty cool. Seems like good ideas

steel sun
#

So right now I'm thinking of the following challenges:

Environment variables used by the steps

  • I could probably set something up with 1password so that all environment variables are shared
  • There would probably need to be some kind of sha hash for guarantees

How does the Gitlab CI runner know which steps to do and which steps to skip

  • The dagger local steps could be triggered by a precommit hook, that adds a certain

How can the Gitlab CI runner know with absolute certainty that the local CI has ran with the exact same configuration as it would have run in the runner

  • Hashes?
  • Maybe just share the cache somehow, so it runs but all computation can be skipped?
#

Disclaimer, I've not yet daggerized anything. So some of there challenges might already been solved by dagger. I'm gonna play with dagger now, I'm hyped for this

deft storm
#

hi Tony here, i too am a devops engineer and have similar goals as Pieter. i am just getting started and the main challenge on my mind is Peiter’s second bullet, although i am thinking of the problem a little differently. i am thinking of running dagger in Gitlab runner in addition to on dev workstation, the idea being the developer can develop with quick CI cycles, but still need to open MR to run the ā€œofficialā€ pipeline, the difference being the developer does not push and pray they push with confidence and less often. i also would like the Gitlab CI pipeline to be very simple, just one dagger job, so my question is how to map the current Gitlab rules into the logic in my dagger code, which is what i take Pieter’s second bullet to mean… am i unrealistic to think i can move all logic, including rules (ie what runs when) into dagger, or are most people still maintaining multiple Gitlab jobs that call specific dagger functions?