Git Product home page Git Product logo

Comments (4)

lox avatar lox commented on September 26, 2024

Yup, fair point! The hooks are basically empty scripts, but we can add them to the docker image if that makes things clearer.

from docs.

connaryscott avatar connaryscott commented on September 26, 2024

So where are they, can you at least provide a hint on if this is it:

grep hooks-path /etc/buildkite-agent/buildkite-agent.cfg 
hooks-path=/etc/buildkite-agent/hooks

 ls /etc/buildkite-agent/hooks/environment 
/etc/buildkite-agent/hooks/environment

from docs.

toolmantim avatar toolmantim commented on September 26, 2024

@baank we've since updated the docs to be a bit clearer, and moved the repo and it's no longer standalone. So it probably doesn't make any sense to include a sample hooks folder anymore. But if you spot something we can improve, please let us know 🙏🏼

from docs.

toolmantim avatar toolmantim commented on September 26, 2024

@connaryscott you can add or mount custom hooks to /buildkite/hooks — full docs are here: https://buildkite.com/docs/agent/v3/docker#adding-hooks

The standard Docker image doesn't include any hooks, but if it helps you can the sample ones included in the Linux-based packages here: https://github.com/buildkite/agent/tree/master/packaging/linux/root/usr/share/buildkite-agent/hooks

from docs.

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.