Skip to content

Releases: Widen/buildkite-gradle-plugin

0.5.1

25 Sep 21:50
3b46700
Compare
Choose a tag to compare

What's Changed

  • fix(plugin): publishing by @dbeg in #9

Full Changelog: 0.5.0...0.5.1

0.5.0

24 Sep 21:00
5a392aa
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.4...0.5.0

Support array syntax inside plugins

21 Oct 22:15
Compare
Choose a tag to compare

Added

  • You can now use array syntax ([]) for defining JSON arrays in plugin configuration. For example, in addition to something like this:

    plugin `myCoolPlugin#v2`, {
      features 'foo', 'bar'
    }

    You can also now write it equivalently like this:

    plugin `myCoolPlugin#v2`, {
      features ['foo', 'bar']
    }

    This just improves the overall consistency of the DSL.

Multiple passthrough variables for Docker & Docker Compose 🐳

28 Feb 15:38
Compare
Choose a tag to compare

Changed

  • Docker#environment and DockerCompose#environment can now accept multiple string arguments to set a list of variables to pass through into a container all at once:

    docker {
        // Just one, previously supported
        environment 'FOO'
        environment 'BAR'
        // New - multiple arguments
        environment(
            'FOO',
            'BAR',
            'BAZ',
        )
        // Or more concisely
        environment 'FOO', 'BAR', 'BAZ'
    }
    

Public release + DSL improvements

21 Feb 19:06
Compare
Choose a tag to compare

This is the first public release of the plugin! Check out the plugin at the Gradle Plugins portal: https://plugins.gradle.org/plugin/com.widen.buildkite

There are a few breaking changes here as well as some quality-of-life improvements.

Breaking changes

  • The gradleStep and publishDocsStep DSLs have been removed, as they assumed Widen-specific practices and patterns. Widen projects are recommended to replace these with the appropriate Buildkite plugins instead.
  • The commandStep.plugin DSL no longer accepts two string arguments for a plugin version because it was confusing and unclear when to use the single argument vs. the double argument. Plugins are now always specified with a single string that follows the Buildkite naming convention for referencing a plugin (version is specified after a hash #).
  • buildkite.agentQueue has been renamed to buildkite.defaultAgentQueue.
  • The plugin ID changed from widen.buildkite to com.widen.buildkite.

Added

  • Standalone pipeline scripts (.buildkite/pipeline*.gradle) now define pipelines automatically based on the camel-case version of the filename, and the script evaluates inside the context of the pipeline automatically. Generally this means you can just remove any top-level buildkite.pipeline() calls.
  • The commandStep.plugin DSL now also accepts closures as a way of configuring a plugin in addition to maps. This results in a much more natural looking configuration of plugins.

Block and trigger steps

20 Aug 19:56
Compare
Choose a tag to compare

Added

Add docker-compose push support

08 Aug 21:42
Compare
Choose a tag to compare

Added

  • Add docker-compose push support.

Docker-compose cache-from support

08 Aug 20:42
Compare
Choose a tag to compare

Added

  • Add support for specifying cache-from images through the DSL.

Environment block ergonomics

31 Jul 16:35
Compare
Choose a tag to compare

Changed

  • Invoking an environment {} block will now use owner first resolve strategy, meaning that Groovy will assume first that you are referring to a local variable if not specified, and assume you are referring to an environment variable only if a local variable with that name does not exist.

Expand Docker plugin options

31 Jul 16:05
Compare
Choose a tag to compare

Added

  • Expose the entrypoint and shell properties for the Docker Buildkite plugin.