Skip to content

Commit

Permalink
Deprecate [Bintray] service
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Apr 24, 2021
1 parent f0b6c7a commit b6e6a79
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 336 deletions.
2 changes: 0 additions & 2 deletions config/custom-environment-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ public:

private:
azure_devops_token: 'AZURE_DEVOPS_TOKEN'
bintray_user: 'BINTRAY_USER'
bintray_apikey: 'BINTRAY_API_KEY'
bitbucket_username: 'BITBUCKET_USER'
bitbucket_password: 'BITBUCKET_PASS'
bitbucket_server_username: 'BITBUCKET_SERVER_USER'
Expand Down
2 changes: 0 additions & 2 deletions core/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ const publicConfigSchema = Joi.object({

const privateConfigSchema = Joi.object({
azure_devops_token: Joi.string(),
bintray_user: Joi.string(),
bintray_apikey: Joi.string(),
discord_bot_token: Joi.string(),
drone_token: Joi.string(),
gh_client_id: Joi.string(),
Expand Down
8 changes: 0 additions & 8 deletions doc/server-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ An Azure DevOps Token (PAT) is required for accessing [private Azure DevOps proj
[ado personal access tokens]: https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=vsts#create-personal-access-tokens-to-authenticate-access
[ado token scopes]: https://docs.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=vsts#scopes

### Bintray

- `BINTRAY_USER` (yml: `private.bintray_user`)
- `BINTRAY_API_KEY` (yml: `private.bintray_apikey`)

The bintray API [requires authentication](https://bintray.com/docs/api/#_authentication)
Create an account and obtain a token from the user profile page.

### Bitbucket (Cloud)

- `BITBUCKET_USER` (yml: `private.bitbucket_username`)
Expand Down
115 changes: 0 additions & 115 deletions services/bintray/bintray-downloads.service.js

This file was deleted.

47 changes: 0 additions & 47 deletions services/bintray/bintray-downloads.spec.js

This file was deleted.

32 changes: 0 additions & 32 deletions services/bintray/bintray-downloads.tester.js

This file was deleted.

51 changes: 0 additions & 51 deletions services/bintray/bintray-version.service.js

This file was deleted.

46 changes: 0 additions & 46 deletions services/bintray/bintray-version.spec.js

This file was deleted.

33 changes: 0 additions & 33 deletions services/bintray/bintray-version.tester.js

This file was deleted.

24 changes: 24 additions & 0 deletions services/bintray/bintray.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
'use strict'

const { deprecatedService } = require('..')

module.exports = [
deprecatedService({
category: 'downloads',
route: {
base: 'bintray/dt',
pattern: ':various+',
},
label: 'bintray',
dateAdded: new Date('2021-04-24'),
}),
deprecatedService({
category: 'version',
route: {
base: 'bintray/v',
pattern: ':various+',
},
label: 'bintray',
dateAdded: new Date('2021-04-24'),
}),
]
Loading

0 comments on commit b6e6a79

Please sign in to comment.