Skip to content

Commit

Permalink
fix: remove denylist cli (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Aug 5, 2022
1 parent 240edb7 commit 618e8c9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 231 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/cron-denylist.yml

This file was deleted.

27 changes: 0 additions & 27 deletions packages/edge-gateway/scripts/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions packages/edge-gateway/scripts/cli.js
Expand Up @@ -8,7 +8,6 @@ import git from 'git-rev-sync'
import Sentry from '@sentry/cli'

import { ipfsCmd } from './ipfs.js'
import { denylistSyncCmd, denylistAddCmd } from './denylist.js'
import { heartbeatCmd } from './heartbeat.js'

const __dirname = path.dirname(fileURLToPath(import.meta.url))
Expand All @@ -32,17 +31,6 @@ prog
.option('--token', 'Opsgenie Token')
.option('--name', 'Heartbeat Name')
.action(heartbeatCmd)
.command('denylist sync')
.describe('Sync the gateway deny list with various sources.')
.option('--env', 'Wrangler environment to use.', process.env.ENV)
.action(denylistSyncCmd)
.command('denylist add <cid>')
.describe(
'Add a CID (or CID + path) to the local deny list. Note: we currently DO NOT support denying by CID + path in the API.'
)
.option('--status', 'HTTP status to send in response.')
.option('--reason', 'Reason for deny. Note: may be communicated in response')
.action(denylistAddCmd)

async function buildCmd(opts) {
const sentryRelease = `nft-gateway@${pkg.version}-${opts.env}+${git.short(
Expand Down
155 changes: 0 additions & 155 deletions packages/edge-gateway/scripts/denylist.js

This file was deleted.

0 comments on commit 618e8c9

Please sign in to comment.