Coder Social home page Coder Social logo

buildkite's People

Contributors

dilumaluthge avatar jpsamaroo avatar maleadt avatar thomasfaingnaert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

buildkite's Issues

Note to self on the "pipeline upload"

For posterity, here is what I did. I went to https://buildkite.com/julialang/dagger-dot-jl, and I clicked on the "Edit Steps" button. The contents looked like this originally:

steps:
  - command: buildkite-agent pipeline upload

I instead changed the contents to look like this (taken from the steps for the CUDA.jl pipeline):

steps:
  - label: ":buildkite: Pipeline upload"
    command: buildkite-agent pipeline upload
    branches: "!gh-pages"
    agents:
      queue: "juliagpu"

Feature request: a convenient syntax that always expands to the latest stable 1.x release

It's kind of annoying that once Julia 1.6 is released, we have to make a bunch of pull requests to change Buildkite from '1.5' to '1.6'. Would be nice to support something like '1' or '1-stable'. I don't feel strongly about the syntax.

As far as implementing it, probably its easiest to just do the following:

  1. Download the https://julialang-s3.julialang.org/bin/versions.json file and parse it.
  2. If we have version = '1-stable', then collect all versions that begin with 1. and have stable=true. For each version, extract the minor version number. Take the largest minor version number.

An alternate implementation would be to use something like https://github.com/npm/node-semver, but that might be fancier than we need.

All we really need is something that expands to the latest 1.X.

Permissions: status updates, retry/cancel

Setting-up a repo currently doesn't give Buildkite proper permissions to post a status update. The suggested app integration in the README only works for Buildkite org <-> GitHub org integration, which requires admin permissions at both sides.

Alternatively, by creating a Buildkite account for the user, we could maybe use that to post a status update: https://buildkite.com/docs/integrations/github#to-connect-your-buildkite-account-to-github-using-oauth

Furthermore, that user account could also be user to cancel/retry builds, which currently isn't possible.

Pull on start

That way we can just stop agents and expect the latest configuration to be used when restarting.

README: default YAML steps

steps:
  - label: ":buildkite: Pipeline upload"
    command: buildkite-agent pipeline upload
    branches: "!gh-pages"
    agents:
      queue: "juliagpu"

Use Sys.CPU_THREADS, not Threads.nthreads()

... and override it by setting JULIA_CPU_THREADS in the configuration.

This aligns with what Elliot's infrastructure does, and also avoids defaulting to potentially unwanted multithreaded behavior (we use the number to do multi-process testing in CUDA.jl/oneAPI.jl).

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.