Skip to content

Commit

Permalink
Merge pull request #85 from meltwater/v1Release
Browse files Browse the repository at this point in the history
[SKIP CI] Updating paths changed to v1
  • Loading branch information
hikerspath authored Mar 15, 2022
2 parents e59ca23 + 3e995ad commit 77a9eeb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 1.0.0

### Breaking changes
- [#79](https://github.com/meltwater/drone-convert-pathschanged/pull/79) shift to drone/go-scm library support

### Added
- [#83](https://github.com/meltwater/drone-convert-pathschanged/pull/83) add missing environnment variable to stash (bitbucket-server) example
- [#77](https://github.com/meltwater/drone-convert-pathschanged/pull/77) add bitbucket cloud support
- [#76](https://github.com/meltwater/drone-convert-pathschanged/pull/76) golang module updates
- [#74](https://github.com/meltwater/drone-convert-pathschanged/pull/74) update drone/go and drone/go-scm modules
- [#73](https://github.com/meltwater/drone-convert-pathschanged/pull/74) golang tidy

## 0.6.0
### Added
- [#72](https://github.com/meltwater/drone-convert-pathschanged/pull/72) add GitHub Server support
Expand Down
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[![Build Status](https://cloud.drone.io/api/badges/meltwater/drone-convert-pathschanged/status.svg)](https://cloud.drone.io/meltwater/drone-convert-pathschanged)
[![Docker Pulls](https://img.shields.io/docker/pulls/meltwater/drone-convert-pathschanged)](https://hub.docker.com/r/meltwater/drone-convert-pathschanged)
# Drone Conversion Extension: Paths Changed | [![Build Status](https://cloud.drone.io/api/badges/meltwater/drone-convert-pathschanged/status.svg)](https://cloud.drone.io/meltwater/drone-convert-pathschanged) [![Docker Pulls](https://img.shields.io/docker/pulls/meltwater/drone-convert-pathschanged)](https://hub.docker.com/r/meltwater/drone-convert-pathschanged)

A [Drone](https://drone.io/) [conversion extension](https://docs.drone.io/extensions/conversion/) to include/exclude pipelines and steps based on paths changed.

_Please note this project requires Drone server version 1.4 or higher._

## Installation

## Github
## Github Cloud

1. Create a github token via https://github.com/settings/tokens with the scope of`repo` (see [issue 13](https://github.com/meltwater/drone-convert-pathschanged/issues/13) for background).

2. Create a shared secret:
Expand Down Expand Up @@ -69,9 +69,7 @@ DRONE_CONVERT_PLUGIN_ENDPOINT=http://1.2.3.4:3000
DRONE_CONVERT_PLUGIN_SECRET=bea26a2221fd8090ea38720fc445eca6
```

## Bitbucket

_Bitbucket support is currently considered experimental_
## Bitbucket Cloud

1. Create an "App password" via https://bitbucket.org/account/settings/app-passwords and select only "Read" under "Repositories"

Expand Down Expand Up @@ -103,11 +101,9 @@ DRONE_CONVERT_PLUGIN_ENDPOINT=http://1.2.3.4:3000
DRONE_CONVERT_PLUGIN_SECRET=bea26a2221fd8090ea38720fc445eca6
```

## Bitbucket Server

_Bitbucket Server support is currently considered experimental_
## Stash (Bitbucket Server)

1. Create a BitBucket access token via https://your-bitbucket-address/plugins/servlet/access-tokens/manage with read-only rights
1. Create a Stash access token via https://your-bitbucket-address/plugins/servlet/access-tokens/manage with read-only rights

2. Create a shared secret:

Expand All @@ -125,7 +121,7 @@ $ docker run -d \
--env=DRONE_SECRET=bea26a2221fd8090ea38720fc445eca6 \
--env=TOKEN=9e6eij3ckzvpe9mrhnqcis6zf8dhopmm46e3pi96 \
--env=PROVIDER=bitbucket-server \
--env=BB_ADDRESS=https://your-bitbucket-server-address
--env=STASH_SERVER=https://your-bitbucket-server-address
--restart=always \
--name=converter meltwater/drone-convert-pathschanged
```
Expand Down

0 comments on commit 77a9eeb

Please sign in to comment.