Skip to content

Releases: iver-wharf/wharf-provider-azuredevops

v3.0.1 wharf-provider-azuredevops

20 May 04:38
64f032f
Compare
Choose a tag to compare

Docker image

Hosted over at https://quay.io/repository/iver-wharf/wharf-provider-azuredevops

docker pull quay.io/iver-wharf/wharf-provider-azuredevops:v3.0.1

Changes (since v3.0.0)

  • Fixed code overriding the path in the provider's URL. It will now join together the given URL path with the API endpoint's path. (#54)

    E.g:

    • Given: https://azuredevops.example.com/customprefix
    • Before: https://azuredevops.example.com/DefaultCollection/_apis/projects
    • Now: https://azuredevops.example.com/customprefix/DefaultCollection/_apis/projects
  • Fixed not finding existing provider if one already existed in the wharf-api. (#54)

v3.0.0 wharf-provider-azuredevops

10 May 09:26
3df4a18
Compare
Choose a tag to compare

Docker image

Hosted over at https://quay.io/repository/iver-wharf/wharf-provider-azuredevops

docker pull quay.io/iver-wharf/wharf-provider-azuredevops:v3.0.0

Changes (since v2.0.1)

  • BREAKING: Removed support for github.com/iver-wharf/wharf-api v4. Now requires a minimum of wharf-api v5.0.0. (#49)

  • Changed version of dependencies:

    • github.com/gin-gonic/gin from v1.7.4 to v1.7.7 (#50)
    • github.com/iver-wharf/wharf-api-client-go from v1.3.1 to v2.0.0 (#28, #49)
    • github.com/iver-wharf/wharf-core from v1.1.0 to v1.3.0 (#28, #47)
    • github.com/swaggo/gin-swagger from v1.3.1 to v1.4.3 (#50)
    • github.com/swaggo/swag from v1.7.1 to v1.8.1 (#50)
  • Removed internal/httputils, which was moved to github.com/iver-wharf/wharf-core/pkg/cacertutil. (#28)

  • Removed UploadURL field from the importBody struct, and all references to wharfapi.Provider.UploadURL, which will be removed in wharf-api v5.0.0 as it did not provide any functionality. (#39)

  • Changed Dockerfile for easier windows building. (#48)

  • Changed Go runtime from v1.16 to v1.18. (#52)

  • Changed version of Docker base images:

    • Alpine: 3.14 -> 3.15 (#52)
    • Golang: 1.16 -> 1.18 (#52)

v2.0.1 wharf-provider-azuredevops

10 Sep 11:07
06d217a
Compare
Choose a tag to compare

Docker image

Hosted over at https://quay.io/repository/iver-wharf/wharf-provider-azuredevops

docker pull quay.io/iver-wharf/wharf-provider-azuredevops:v2.0.1

Changes (since v2.0.0)

  • Changed version of Docker base images, relying on "latest" patch version:

    • Alpine: 3.14.0 -> 3.14 (#35)
    • Golang: 1.16.5 -> 1.16 (#35)

v2.0.0 wharf-provider-azuredevops

09 Sep 05:41
81ae2e8
Compare
Choose a tag to compare

Docker image

Hosted over at https://quay.io/repository/iver-wharf/wharf-provider-azuredevops

docker pull quay.io/iver-wharf/wharf-provider-azuredevops:v2.0.0

Changes (since v1.2.0)

  • ⚠️ BREAKING: Changed import procedure to import each Azure DevOps Git repository as its own Wharf project, compared to before where it imported each Azure DevOps project as its own Wharf project. (#31)

  • ⚠️ BREAKING: Changed name format of imported Wharf projects.

    • Before v2.0.0:

      • Wharf group name: {azure org name}
      • Wharf project name: {azure project name}
    • Since v2.0.0:

      • Wharf group name: {azure org name}/{azure project name}
      • Wharf project name: {azure Git repo name}

    There are migrations in place to try and rename Wharf projects imported via wharf-provider-azuredevops before v2.0.0, but that also requires the use of wharf-api v4.2.0 or higher (see: iver-wharf/wharf-api#55).

    This may break your builds! If you rely on the Wharf group or project names in your .wharf-ci.yml build pipeline then you need to update those accordingly. Recommended to use the built-in variables REPO_GROUP and REPO_NAME throughout your build pipeline instead (see: https://iver-wharf.github.io/#/usage-wharfyml/variables/built-in-variables?id=repo_group).

  • ⚠️ BREAKING: Added a config for skipping TLS certificate chain verification to make it opt-in, where it always skipped the TLS certificates before. (#33)

    While skipping this verification is heavily discouraged, if you truly do rely on it then this can be re-enabled by setting either the YAML configuration value ca.insecureSkipVerify or the environment variable WHARF_CA_INSECURESKIPVERIFY to true.

  • Fixed Git SSH URL when importing from https://dev.azure.com. (#31)

  • Fixed duplicate token and provider creation in wharf-api. It will now reuse existing tokens and providers from the wharf-api appropriately. (#31)

  • Changed to return IETF RFC-7807 compatible problem responses on failures instead of solely JSON-formatted strings. (#14)

  • Changed version of github.com/iver-wharf/wharf-core from v0.0.0 -> v1.1.0. (#14, #23)

  • Changed version of github.com/iver-wharf/wharf-api-client-go from v1.2.0 -> v1.3.1. (#26)

  • Added Makefile to simplify building and developing the project locally. (#21, #22, #23)

  • Added logging and custom exit code when app fails to bind the IP address and port. (#23)

  • Added configs via wharf-core/pkg/config. Now supports both environment vars and YAML config files. (#23)

  • Added possibility to load self-signed certs into the Go http.DefaultClient via the new config ca.certsFile or environment variable WHARF_CA_CERTSFILE, on top of the system's/OS's cert store. (#23)

  • Added support for the TZ environment variable (setting timezones ex. "Europe/Stockholm") through the tzdata package. (#20)

v1.2.0 wharf-provider-azuredevops

12 Jul 08:01
v1.2.0
44fbe7b
Compare
Choose a tag to compare

Docker image

Hosted over at https://quay.io/repository/iver-wharf/wharf-provider-azuredevops

docker pull quay.io/iver-wharf/wharf-provider-azuredevops:v1.2.0

Changes (since v1.1.1)

  • Added environment variable BIND_ADDRESS for setting bind address and port, which defaults to 0.0.0.0:8080 when left unset. (#11)

  • Added endpoint GET /version that returns an object of version data of the API itself. (#3)

  • Added Swagger spec metadata such as version that equals the version of the API, contact information, and license. (#3)

  • Changed version of Docker base images:

    • Alpine: 3.13.4 -> 3.14.0 (#12, #15)
    • Golang: 1.16.4 -> 1.16.5 (#15)

v1.1.1 First open source release

27 May 14:50
v1.1.1
fbd6f57
Compare
Choose a tag to compare

First OSS release for this repo. This project has a lengthy history but this is the first public release.

Docker image

Hosted over at https://quay.io/repository/iver-wharf/wharf-provider-azuredevops

docker pull quay.io/iver-wharf/wharf-provider-azuredevops:v1.1.1

Changes since dawn of this repo

Since we had to remove the entire Git history (see #1), here's at least our entire changelog so far, for those that may still use our older (closed source) versions.

The !1 are GitLab merge request references. They're only kept so we Iver employees can refer back to them. All future changes will be created through GitHub and reference GitHub PRs instead.

v1.1.1 (2021-04-09)

  • Added CHANGELOG.md to repository. (!17)

  • Changed to use new open sourced Wharf API client
    github.com/iver-wharf/wharf-api-client-go
    and bumped said package version from v1.1.0 to v1.2.0. (!18)

  • Added .dockerignore to make Docker builds agnostic to wether you've ran
    swag init locally. (!19)

  • Changed base Docker image to be alpine:3.13.4 instead of scratch to get
    certificates from the Alpine package manager, APK, instead of embedding a
    list of certificates inside the repository. (#1)

v1.1.0 (2021-01-07)

  • Changed version of Wharf API Go client, from v0.1.5 to v1.1.0, that contained
    a lot of refactors in type and package name changes. (!15, !16)

v1.0.0 (2020-11-27)

  • Removed groups table, a reflection of the changes from the API v1.0.0. (!14)

  • Changed version of Wharf API Go client from v0.1.3 to v0.1.4. (!13)

v0.8.0 (2020-10-23)

  • Changed all types to be named AzureDevOps- instead of Tfs-. (!10)

  • Changed all endpoints to begin with /import/azuredevops instead of
    /import/tfs. (!11)

v0.7.8 (2020-05-07)

  • Changed version of Wharf API Go client from v0.1.1 to v0.1.3. (!9)

v0.7.7 (2020-04-30)

  • Version bump.

v0.7.6 (2020-04-30)

  • Added TFS webhook endpoint
    POST /import/tfs/triggers/{projectid}/pr/created. (!8)

v0.7.5 (2020-04-08)

  • Fixed regression from !4, as branches are prefixed with refs/heads/, and not
    ref/heads/. (!7)

v0.7.4 (2020-04-07)

  • Fixed invalid URL construction by composing URLs via the url package instead
    of fmt.Sprintf. (!6)

v0.7.3 (2020-04-07)

  • Fixed regressions introduced in !4 regarding fmt.Sprintf formatting and an
    invalid return type. (!5)

v0.7.2 (2020-04-06)

  • Fixed branches being prefixed with ref/heads/. (!4)

v0.7.1 (2020-03-11)

  • Added supplying of git_url value when importing a project. (!3)

v0.7.0 (2020-01-30)

  • Version bump.

v0.6.0 (2020-01-30)

  • Changed Docker build to use Go modules instead of referencing each .go
    file explicitly. (db7f2ec5)

v0.5.5 (2020-01-22)

  • Added repo, as extracted from previous mono-repo. (08353015)

  • Added go.mod & go.sum. (90853db4)

  • Added .wharf-ci.yml. (e0259aff)

  • Changed Docker build to use Go modules via GO111MODULE=on environment
    variable. (be84491b)

  • Fixed Docker build to use go.mod instead of explicit references.
    (3ebebafd, e0259aff)