From 2c5571a8b96069a907683f7f9c79f485aacffe27 Mon Sep 17 00:00:00 2001 From: Sibiraj <20282546+sibiraj-s@users.noreply.github.com> Date: Sun, 29 Oct 2023 10:20:47 +0530 Subject: [PATCH] chore: remove Shippable CI --- README.md | 3 +-- index.d.ts | 1 - test.js | 38 -------------------------------------- vendors.json | 8 -------- 4 files changed, 1 insertion(+), 49 deletions(-) diff --git a/README.md b/README.md index 8907c7a..203d13e 100644 --- a/README.md +++ b/README.md @@ -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` | 🚫 | diff --git a/index.d.ts b/index.d.ts index 8aebdcf..fcc32d5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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; diff --git a/test.js b/test.js index e7b6af9..c0fcd31 100644 --- a/test.js +++ b/test.js @@ -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' diff --git a/vendors.json b/vendors.json index 7bedd96..831fe84 100644 --- a/vendors.json +++ b/vendors.json @@ -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",