diff --git a/.all-contributorsrc b/.all-contributorsrc index 7315d5d..41abd91 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -124,7 +124,7 @@ ], "contributorsPerLine": 7, "projectName": "monorepo-diff-buildkite-plugin", - "projectOwner": "chronotc", + "projectOwner": "monebag", "repoType": "github", "repoHost": "https://github.com", "skipCi": true diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 8f96f5a..acea76d 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -9,7 +9,7 @@ steps: run: plugin_test - label: ":bomb: Triggers" plugins: - - chronotc/monorepo-diff: + - monebag/monorepo-diff: diff: "cat ./e2e/one-match-one-miss" watch: - path: "foo-service/" @@ -23,7 +23,7 @@ steps: - command: echo "command hook 2" - label: ":bomb: Testing groups" plugins: - - chronotc/monorepo-diff: + - monebag/monorepo-diff: diff: "cat ./e2e/multiple-paths" watch: - path: @@ -34,7 +34,7 @@ steps: command: "echo i-am-running-in-a-group" - label: ":bomb: Testing hooks" plugins: - - chronotc/monorepo-diff: + - monebag/monorepo-diff: diff: "cat ./e2e/multiple-paths" watch: - path: "user-service/" @@ -53,7 +53,7 @@ steps: - command: echo "command hook 1" - label: ":bomb: Testing wait" plugins: - - chronotc/monorepo-diff: + - monebag/monorepo-diff: diff: "cat ./e2e/multiple-paths" watch: - path: @@ -64,7 +64,7 @@ steps: wait: true - label: ":bomb: Testing triggers and commands" plugins: - - chronotc/monorepo-diff: + - monebag/monorepo-diff: diff: "cat ./e2e/commands-or-triggers" watch: - path: "user-service/" diff --git a/CHANGELOG.md b/CHANGELOG.md index c5ae2c9..abae1dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,61 +5,61 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [2.4.0] -- Support both "commands" and "command" key, of any type by @glittershark in https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/104 -- use log.Fatalf when logging error by @pmenglund in https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/102 -- Allow all tags when specifying the agent on a step by @uniquefine in https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/85 +- Support both "commands" and "command" key, of any type by @glittershark in https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/104 +- use log.Fatalf when logging error by @pmenglund in https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/102 +- Allow all tags when specifying the agent on a step by @uniquefine in https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/85 ## [2.3.0] ### Added -- Added support for `soft_failure` step attribute. [#93](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/93) from [@isaacsu](https://github.com/isaacsu) +- Added support for `soft_failure` step attribute. [#93](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/93) from [@isaacsu](https://github.com/isaacsu) ## [2.2.1] ### Fixed -- Detection of arm64 arch. [#84](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/84) from [@LColman-SEEK](https://github.com/LColman-SEEK) -- Panic when adjectent plugins used the same YAML fields. [#92](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/92) from [@isaacsu](https://github.com/isaacsu) +- Detection of arm64 arch. [#84](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/84) from [@LColman-SEEK](https://github.com/LColman-SEEK) +- Panic when adjectent plugins used the same YAML fields. [#92](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/92) from [@isaacsu](https://github.com/isaacsu) ## [2.2.0] ### Added -- Added support for [Group Steps](https://buildkite.com/docs/pipelines/group-step). [#89](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/89) from [@xzyfer](https://github.com/xzyfer) +- Added support for [Group Steps](https://buildkite.com/docs/pipelines/group-step). [#89](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/89) from [@xzyfer](https://github.com/xzyfer) ## [2.1.4] ### Fixed -- Fix failing MacOS builds. [#87](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/87) from [@xzyfer](https://github.com/xzyfer) +- Fix failing MacOS builds. [#87](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/87) from [@xzyfer](https://github.com/xzyfer) ## [2.1.3] ### Fixed -- Log pipeline generation and upload errors. [#86](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/86) from [@xzyfer](https://github.com/xzyfer) +- Log pipeline generation and upload errors. [#86](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/86) from [@xzyfer](https://github.com/xzyfer) ## [2.1.2] ### Fixed -- Prevent incorrect interpolation of env on trigger steps. [#80](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/80) from [@chronotc](https://github.com/chronotc) +- Prevent incorrect interpolation of env on trigger steps. [#80](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/80) from [@chronotc](https://github.com/monebag) ## [2.1.1] ### Added -- Support for linux-ppc64le platforms. [#78](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/78) from [@runlevel5](https://github.com/runlevel5) +- Support for linux-ppc64le platforms. [#78](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/78) from [@runlevel5](https://github.com/runlevel5) ## [2.1.0] ### Added -- Support for darwin-amd64 and darwin-arm64 platforms. [#74](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/74) from [@runlevel5](https://github.com/runlevel5) +- Support for darwin-amd64 and darwin-arm64 platforms. [#74](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/74) from [@runlevel5](https://github.com/runlevel5) ## [2.0.5] ### Added -- Support for linux-arm64 platform. [#73](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/73) from [@runlevel5](https://github.com/runlevel5) -- Upgrade go version to 1.7.2 [#74](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/74) from [@runlevel5](https://github.com/runlevel5) +- Support for linux-arm64 platform. [#73](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/73) from [@runlevel5](https://github.com/runlevel5) +- Upgrade go version to 1.7.2 [#74](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/74) from [@runlevel5](https://github.com/runlevel5) ## [2.0.4] ### Added -- Glob support in path configuration. [#62](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/62) from [@worxli](https://github.com/worxli) +- Glob support in path configuration. [#62](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/62) from [@worxli](https://github.com/worxli) ## [2.0.3] @@ -68,7 +68,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.0.2] -[#49](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/49) from [@adikari](https://github.com/adikari) +[#49](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/49) from [@adikari](https://github.com/adikari) ### Added - Download the latest version of binary if plugin version is not specified @@ -77,17 +77,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.0.1] ### Fixed -- Incorrect binary path to download and docker service name [commit](https://github.com/chronotc/monorepo-diff-buildkite-plugin/commit/a48753476822596c181d0f66cffb0d21fdc10214) from [@adikari](https://github.com/adikari) +- Incorrect binary path to download and docker service name [commit](https://github.com/monebag/monorepo-diff-buildkite-plugin/commit/a48753476822596c181d0f66cffb0d21fdc10214) from [@adikari](https://github.com/adikari) ## [2.0.0] ### Changed - Rewrite plugin in go from [@adikari](https://github.com/adikari) -## [[1.3.2]](https://github.com/chronotc/monorepo-diff-buildkite-plugin/releases/tag/1.3.2) - 2021-03-10 +## [[1.3.2]](https://github.com/monebag/monorepo-diff-buildkite-plugin/releases/tag/1.3.2) - 2021-03-10 ### Added -- Ability to pass `env` config in the `command` [#43](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/43) from [@jullianoacqio](https://github.com/jullianoacqio) +- Ability to pass `env` config in the `command` [#43](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/43) from [@jullianoacqio](https://github.com/jullianoacqio) ```yaml ... @@ -97,10 +97,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ... ``` -## [[1.3.1]](https://github.com/chronotc/monorepo-diff-buildkite-plugin/releases/tag/v1.3.1) - 2021-02-19 +## [[1.3.1]](https://github.com/monebag/monorepo-diff-buildkite-plugin/releases/tag/v1.3.1) - 2021-02-19 ### Added -- Ability to pass `artificates` configuration [#41](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/41) from [@worxli](https://github.com/worxli) +- Ability to pass `artificates` configuration [#41](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/41) from [@worxli](https://github.com/worxli) ```yaml config: @@ -110,21 +110,21 @@ config: ``` ### Fixed -- Fix parsing of queue name [#38](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/38) from [@ronaldmiranda](https://github.com/ronaldmiranda) +- Fix parsing of queue name [#38](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/38) from [@ronaldmiranda](https://github.com/ronaldmiranda) -## [[1.3.0]](https://github.com/chronotc/monorepo-diff-buildkite-plugin/releases/tag/v1.3.0) - 2020-02-19 +## [[1.3.0]](https://github.com/monebag/monorepo-diff-buildkite-plugin/releases/tag/v1.3.0) - 2020-02-19 ### Added -- Add support for leading emojis [#33](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/33) from [@worxli](https://github.com/worxli) +- Add support for leading emojis [#33](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/33) from [@worxli](https://github.com/worxli) ### Changed -- Extend command support with `label` and `queues` [#33](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/33) from [@worxli](https://github.com/worxli) +- Extend command support with `label` and `queues` [#33](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/33) from [@worxli](https://github.com/worxli) ```yaml steps: - label: "Deploying frontends" plugins: - - chronotc/monorepo-diff#v1.3.0: + - monebag/monorepo-diff#v1.3.0: diff: "git diff --name-only HEAD~1" watch: - path: "react/" @@ -135,13 +135,13 @@ steps: queue: "deploy" ``` -## [[1.2.0]](https://github.com/chronotc/monorepo-diff-buildkite-plugin/releases/tag/v1.2.0) - 2020-08-16 +## [[1.2.0]](https://github.com/monebag/monorepo-diff-buildkite-plugin/releases/tag/v1.2.0) - 2020-08-16 ### Added -- Add support for `command` [#30](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/30) from [@chronotc](https://github.com/chronotc) +- Add support for `command` [#30](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/30) from [@chronotc](https://github.com/monebag) ```yaml -- chronotc/monorepo-diff#v1.2.0: +- monebag/monorepo-diff#v1.2.0: diff: "git diff --name-only $(head -n 1 last_successful_build)" watch: - path: @@ -152,22 +152,22 @@ steps: ``` -## [[1.1.1]](https://github.com/chronotc/monorepo-diff-buildkite-plugin/releases/tag/v1.1.1) - 2019-05-21 +## [[1.1.1]](https://github.com/monebag/monorepo-diff-buildkite-plugin/releases/tag/v1.1.1) - 2019-05-21 ### Fixed -- Fix `has_changed` with large diff output [#13](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/13) from [@elliott-davis](https://github.com/elliott-davis) +- Fix `has_changed` with large diff output [#13](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/13) from [@elliott-davis](https://github.com/elliott-davis) -## [[1.1.0]](https://github.com/chronotc/monorepo-diff-buildkite-plugin/releases/tag/v1.1.1) - 2019-02-19 +## [[1.1.0]](https://github.com/monebag/monorepo-diff-buildkite-plugin/releases/tag/v1.1.1) - 2019-02-19 ### Added -- Ability to watch multiple paths and trigger a single pipeline [#10](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/10) from [@elliott-davis](https://github.com/elliott-davis) +- Ability to watch multiple paths and trigger a single pipeline [#10](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/10) from [@elliott-davis](https://github.com/elliott-davis) ### Changed -- Updated examples to be consistent with recommended Buildkite plugin syntax [#11](https://github.com/chronotc/monorepo-diff-buildkite-plugin/pull/11) from [@harrietgrace](https://github.com/harrietgrace) +- Updated examples to be consistent with recommended Buildkite plugin syntax [#11](https://github.com/monebag/monorepo-diff-buildkite-plugin/pull/11) from [@harrietgrace](https://github.com/harrietgrace) -## [[1.0.0]](https://github.com/chronotc/monorepo-diff-buildkite-plugin/releases/tag/v1.1.0) - 2018-10-04 +## [[1.0.0]](https://github.com/monebag/monorepo-diff-buildkite-plugin/releases/tag/v1.1.0) - 2018-10-04 ### Added -- Initial Release from [@chronotc](https://github.com/chronotc) +- Initial Release from [@chronotc](https://github.com/monebag) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index afa19cb..0fe5b0e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,9 +3,9 @@ First of all, thank you for your interest in contributing to this project. Before creating a pull request, please read and follow this contributing guide. -Before participating in this project's activities, please read and follow [code of conduct](https://github.com/chronotc/monorepo-diff-buildkite-plugin/blob/master/CODE_OF_CONDUCT.md). +Before participating in this project's activities, please read and follow [code of conduct](https://github.com/monebag/monorepo-diff-buildkite-plugin/blob/master/CODE_OF_CONDUCT.md). -Please create an [issue](https://github.com/chronotc/monorepo-diff-buildkite-plugin/issues) before submitting a pull request. If it is a proposal for a new feature or changing existing functionality, initiate a discussion with maintainers first. If it's a fix for know bugs, a discussion is not required. +Please create an [issue](https://github.com/monebag/monorepo-diff-buildkite-plugin/issues) before submitting a pull request. If it is a proposal for a new feature or changing existing functionality, initiate a discussion with maintainers first. If it's a fix for know bugs, a discussion is not required. ## Developing @@ -13,13 +13,13 @@ Please create an [issue](https://github.com/chronotc/monorepo-diff-buildkite-plu - The project uses Makefile. Install `make` command. - Fork this repository. - Clone the forked repository. -- Make changes (see [Formatting](https://github.com/chronotc/monorepo-diff-buildkite-plugin/blob/master/CONTRIBUTING.md#formatting)) and commit to your fork. Commit messages should follow the [Conventional Commits](https://www.conventionalcommits.org/) style. -- Add appropriate unit tests (see [Testing](https://github.com/chronotc/monorepo-diff-buildkite-plugin/blob/master/CONTRIBUTING.md#testing)) for your changes. +- Make changes (see [Formatting](https://github.com/monebag/monorepo-diff-buildkite-plugin/blob/master/CONTRIBUTING.md#formatting)) and commit to your fork. Commit messages should follow the [Conventional Commits](https://www.conventionalcommits.org/) style. +- Add appropriate unit tests (see [Testing](https://github.com/monebag/monorepo-diff-buildkite-plugin/blob/master/CONTRIBUTING.md#testing)) for your changes. - Update documentation if appropriate. - Create a pull request with your changes. - Github action will run the necessary checks against your pull request. - A maintainer will review the pull request once all checks are -- A maintainer will merge and create a release (see [Releasing](https://github.com/chronotc/monorepo-diff-buildkite-plugin/blob/master/CONTRIBUTING.md#releasing)). +- A maintainer will merge and create a release (see [Releasing](https://github.com/monebag/monorepo-diff-buildkite-plugin/blob/master/CONTRIBUTING.md#releasing)). ## Testing @@ -38,8 +38,8 @@ All code must be formatted with `gofmt` (with the latest Go version) and pass `g One of the maintainers will create a release after merging the pull request. - Ensure documentation is updated appropriately. -- Update [README.md]( https://github.com/chronotc/monorepo-diff-buildkite-plugin/blob/master/README.md ) to the next version number. -- Update [ changelog ]( https://github.com/chronotc/monorepo-diff-buildkite-plugin/blob/master/CHANGELOG.md ) using guidelines from [Keep a Changelog](https://keepachangelog.com/). +- Update [README.md]( https://github.com/monebag/monorepo-diff-buildkite-plugin/blob/master/README.md ) to the next version number. +- Update [ changelog ]( https://github.com/monebag/monorepo-diff-buildkite-plugin/blob/master/CHANGELOG.md ) using guidelines from [Keep a Changelog](https://keepachangelog.com/). - Merge changes to master. - Create a new release. The version number must follow the format of `v..`. Eg. `v2.0.1` - Github actions automatically builds and attachs the binary to the release. diff --git a/README.md b/README.md index 3dbe847..34e2d5e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![e2e status](https://badge.buildkite.com/719d0b895285367c9c57a09e07f1e853148d2509f0667e0ae8.svg?branch=master)](https://buildkite.com/kuda/monorepo-diff-buildkite-plugin) -[![codecov](https://codecov.io/gh/chronotc/monorepo-diff-buildkite-plugin/branch/master/graph/badge.svg?token=DQ3B4FIYD2)](https://codecov.io/gh/chronotc/monorepo-diff-buildkite-plugin) -[![Publish](https://github.com/chronotc/monorepo-diff-buildkite-plugin/actions/workflows/publish.yml/badge.svg)](https://github.com/chronotc/monorepo-diff-buildkite-plugin/actions/workflows/publish.yml) +[![codecov](https://codecov.io/gh/monebag/monorepo-diff-buildkite-plugin/branch/master/graph/badge.svg?token=DQ3B4FIYD2)](https://codecov.io/gh/monebag/monorepo-diff-buildkite-plugin) +[![Publish](https://github.com/monebag/monorepo-diff-buildkite-plugin/actions/workflows/publish.yml/badge.svg)](https://github.com/monebag/monorepo-diff-buildkite-plugin/actions/workflows/publish.yml) [![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-) # monorepo-diff-buildkite-plugin @@ -19,7 +19,7 @@ If the version number is not provided then the most recent version of the plugin steps: - label: "Triggering pipelines" plugins: - - chronotc/monorepo-diff#v2.4.0: + - monebag/monorepo-diff#v2.4.0: diff: "git diff --name-only HEAD~1" watch: - path: "bar-service/" @@ -36,7 +36,7 @@ steps: steps: - label: "Triggering pipelines" plugins: - - chronotc/monorepo-diff#v2.4.0: + - monebag/monorepo-diff#v2.4.0: diff: "git diff --name-only $(head -n 1 last_successful_build)" interpolation: false env: @@ -132,7 +132,7 @@ Add `log_level` property to set the log level. Supported log levels are `debug` steps: - label: "Triggering pipelines" plugins: - - chronotc/monorepo-diff#v2.4.0: + - monebag/monorepo-diff#v2.4.0: diff: "git diff --name-only HEAD~1" log_level: "debug" # defaults to "info" watch: @@ -208,7 +208,7 @@ hooks: steps: - label: "Triggering pipelines" plugins: - - chronotc/monorepo-diff#v2.4.0: + - monebag/monorepo-diff#v2.4.0: diff: "git diff --name-only HEAD~1" watch: - path: app/cms/ @@ -240,7 +240,7 @@ Using commands, it is also possible to use this to upload other pipeline definit ## How to Contribute -Please read [contributing guide](https://github.com/chronotc/monorepo-diff-buildkite-plugin/blob/master/CONTRIBUTING.md). +Please read [contributing guide](https://github.com/monebag/monorepo-diff-buildkite-plugin/blob/master/CONTRIBUTING.md). ## Contributors @@ -249,18 +249,18 @@ Please read [contributing guide](https://github.com/chronotc/monorepo-diff-build - - - - - - - + + + + + + + - - - + + +

subash adhikari

πŸ’» πŸ’‘ πŸ“– 🚧 πŸ‘€ ⚠️ πŸš‡

Silla Tan

πŸ’» πŸ’‘ πŸ“– 🚧 πŸ‘€ ⚠️ πŸš‡

Elliott Davis

πŸ’» ⚠️ πŸ€”

Julliano Gonçalves

πŸ’» ⚠️

Lukas Bischofberger

πŸ’» ⚠️ πŸ“– πŸ’‘

Martin Englund

πŸ’» ⚠️

Jacek Szubert

πŸ’»

subash adhikari

πŸ’» πŸ’‘ πŸ“– 🚧 πŸ‘€ ⚠️ πŸš‡

Silla Tan

πŸ’» πŸ’‘ πŸ“– 🚧 πŸ‘€ ⚠️ πŸš‡

Elliott Davis

πŸ’» ⚠️ πŸ€”

Julliano Gonçalves

πŸ’» ⚠️

Lukas Bischofberger

πŸ’» ⚠️ πŸ“– πŸ’‘

Martin Englund

πŸ’» ⚠️

Jacek Szubert

πŸ’»

Ronald Carvalho

πŸ›

Harriet Lawrence

πŸ“– πŸ’‘

Michael Mifsud

πŸ’» πŸ’‘ πŸ“– 🚧 πŸ‘€ ⚠️ πŸš‡

Ronald Carvalho

πŸ›

Harriet Lawrence

πŸ“– πŸ’‘

Michael Mifsud

πŸ’» πŸ’‘ πŸ“– 🚧 πŸ‘€ ⚠️ πŸš‡
diff --git a/docker-compose.yml b/docker-compose.yml index 13f1eeb..63d28d2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,6 @@ services: dockerfile: ./tests/Dockerfile plugin_lint: image: buildkite/plugin-linter:latest - command: ['--id', 'chronotc/monorepo-diff'] + command: ['--id', 'monebag/monorepo-diff'] volumes: - ".:/plugin" diff --git a/go.mod b/go.mod index 551bb1a..f810b03 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/chronotc/monorepo-diff-buildkite-plugin +module github.com/monebag/monorepo-diff-buildkite-plugin go 1.17 diff --git a/hooks/command b/hooks/command index 828d1a6..e7648ca 100755 --- a/hooks/command +++ b/hooks/command @@ -22,7 +22,7 @@ if ! [[ "${allowed[*]}" =~ ${kernel} ]]; then exit 3 fi -repo="https://github.com/chronotc/monorepo-diff-buildkite-plugin" +repo="https://github.com/monebag/monorepo-diff-buildkite-plugin" executable="monorepo-diff-buildkite-plugin-${kernel}-${arch}" test_mode="${BUILDKITE_PLUGIN_MONOREPO_DIFF_BUILDKITE_PLUGIN_TEST_MODE:-false}" diff --git a/plugin.go b/plugin.go index a67403e..6c0cc65 100644 --- a/plugin.go +++ b/plugin.go @@ -8,7 +8,7 @@ import ( log "github.com/sirupsen/logrus" ) -const pluginName = "github.com/chronotc/monorepo-diff" +const pluginName = "github.com/monebag/monorepo-diff" // Plugin buildkite monorepo diff plugin structure type Plugin struct { diff --git a/plugin.yml b/plugin.yml index d02a1b7..6187882 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,6 +1,6 @@ name: Monorepo Diff description: Trigger pipelines on changes in watched folders -author: https://github.com/chronotc +author: https://github.com/monebag requirements: - git configuration: diff --git a/plugin_test.go b/plugin_test.go index 6f387d9..1ad20a6 100644 --- a/plugin_test.go +++ b/plugin_test.go @@ -20,7 +20,7 @@ func TestPluginWithInvalidParameter(t *testing.T) { func TestPluginShouldHaveDefaultValues(t *testing.T) { param := `[{ - "github.com/chronotc/monorepo-diff-buildkite-plugin#commit": {} + "github.com/monebag/monorepo-diff-buildkite-plugin#commit": {} }]` got, _ := initializePlugin(param) @@ -45,7 +45,7 @@ func TestPluginWithValidParameter(t *testing.T) { func TestPluginShouldUnmarshallCorrectly(t *testing.T) { param := `[{ - "github.com/chronotc/monorepo-diff-buildkite-plugin#commit": { + "github.com/monebag/monorepo-diff-buildkite-plugin#commit": { "diff": "cat ./hello.txt", "wait": true, "log_level": "debug", @@ -230,7 +230,7 @@ func TestPluginShouldOnlyFullyUnmarshallItselfAndNotOtherPlugins(t *testing.T) { } }, { - "github.com/chronotc/monorepo-diff-buildkite-plugin#commit": { + "github.com/monebag/monorepo-diff-buildkite-plugin#commit": { "watch": [ { "env": [ @@ -256,7 +256,7 @@ func TestPluginShouldOnlyFullyUnmarshallItselfAndNotOtherPlugins(t *testing.T) { func TestPluginShouldErrorIfPluginConfigIsInvalid(t *testing.T) { param := `[ { - "github.com/chronotc/monorepo-diff-buildkite-plugin#commit": { + "github.com/monebag/monorepo-diff-buildkite-plugin#commit": { "env": { "anInvalidKey": "An Invalid Value" }, diff --git a/tests/command.bats b/tests/command.bats index b6bd13d..6feb700 100644 --- a/tests/command.bats +++ b/tests/command.bats @@ -21,7 +21,7 @@ setup() { LOG_LEVEL="debug" export BUILDKITE_PLUGINS='[{ - "github.com/chronotc/monorepo-diff-buildkite-plugin": { + "github.com/monebag/monorepo-diff-buildkite-plugin": { "diff":"echo foo-service/", "log_level": "debug", "watch": [ @@ -59,7 +59,7 @@ EOM export BUILDKITE_COMMIT="commit-hash" export BUILDKITE_PLUGINS='[{ - "github.com/chronotc/monorepo-diff-buildkite-plugin": { + "github.com/monebag/monorepo-diff-buildkite-plugin": { "diff":"echo foo-service/", "log_level": "debug", "watch": [ @@ -94,7 +94,7 @@ EOM export BUILDKITE_PLUGINS='[ { - "github.com/chronotc/monorepo-diff-buildkite-plugin": { + "github.com/monebag/monorepo-diff-buildkite-plugin": { "diff": "echo foo-service/ \nbat-service/", "log_level": "debug", "wait": true,