Skip to content

Commit

Permalink
chore: remove Shippable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Oct 29, 2023
1 parent bff314d commit 2c5571a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 49 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ Officially supported CI servers:
| [Render](https://render.com/) | `ci.RENDER` ||
| [Sail CI](https://sail.ci/) | `ci.SAIL` ||
| [Screwdriver](https://screwdriver.cd/) | `ci.SCREWDRIVER` ||
| [Semaphore](https://semaphoreci.com) | `ci.SEMAPHORE` ||
| [Shippable](https://www.shippable.com/) | `ci.SHIPPABLE` ||
| [Semaphore](https://semaphoreci.com) | `ci.SEMAPHORE` | ✅ |-
| [Solano CI](https://www.solanolabs.com/) | `ci.SOLANO` ||
| [Sourcehut](https://sourcehut.org/) | `ci.SOURCEHUT` | 🚫 |
| [Strider CD](https://strider-cd.github.io/) | `ci.STRIDER` | 🚫 |
Expand Down
1 change: 0 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export const RENDER: boolean;
export const SAIL: boolean;
export const SCREWDRIVER: boolean;
export const SEMAPHORE: boolean;
export const SHIPPABLE: boolean;
export const SOLANO: boolean;
export const SOURCEHUT: boolean;
export const STRIDER: boolean;
Expand Down
38 changes: 0 additions & 38 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,44 +467,6 @@ test('Semaphore - Not PR', function (t) {
t.end()
})

test('Shippable - PR', function (t) {
process.env.SHIPPABLE = 'true'
process.env.IS_PULL_REQUEST = 'true'

clearModule('./')
const ci = require('./')

t.equal(ci.isCI, true)
t.equal(ci.isPR, true)
t.equal(ci.name, 'Shippable')
t.equal(ci.SHIPPABLE, true)
assertVendorConstants('SHIPPABLE', ci, t)

delete process.env.SHIPPABLE
delete process.env.IS_PULL_REQUEST

t.end()
})

test('Semaphore - Not PR', function (t) {
process.env.SHIPPABLE = 'true'
process.env.IS_PULL_REQUEST = 'false'

clearModule('./')
const ci = require('./')

t.equal(ci.isCI, true)
t.equal(ci.isPR, false)
t.equal(ci.name, 'Shippable')
t.equal(ci.SHIPPABLE, true)
assertVendorConstants('SHIPPABLE', ci, t)

delete process.env.SHIPPABLE
delete process.env.IS_PULL_REQUEST

t.end()
})

test('Solano CI - PR', function (t) {
process.env.TDDIUM = 'true'
process.env.TDDIUM_PR_ID = '42'
Expand Down
8 changes: 0 additions & 8 deletions vendors.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,6 @@
"env": "SEMAPHORE",
"pr": "PULL_REQUEST_NUMBER"
},
{
"name": "Shippable",
"constant": "SHIPPABLE",
"env": "SHIPPABLE",
"pr": {
"IS_PULL_REQUEST": "true"
}
},
{
"name": "Solano CI",
"constant": "SOLANO",
Expand Down

0 comments on commit 2c5571a

Please sign in to comment.