Skip to content

Commit

Permalink
chore: Remove RepoCop 😢
Browse files Browse the repository at this point in the history
RepoCop as a service uses the GitHub Lens API as its source of data.

In #202, we deleted the GitHub Lens API.
This means in its current form, RepoCop is failing to run.

Remove the service for a later day.
  • Loading branch information
akash1810 committed Jun 7, 2023
1 parent d736db6 commit f91e65f
Show file tree
Hide file tree
Showing 23 changed files with 5,670 additions and 12,125 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ jobs:
node-version-file: '.nvmrc'
cache: 'npm'

# Configuring caching is also recommended.
# See https://github.com/actions/setup-java
- name: Setup Java 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'corretto'
cache: 'sbt'

- uses: guardian/actions-read-private-repos@v0.1.1
with:
private-ssh-keys: ${{ secrets.PRIVATE_INFRASTRUCTURE_CONFIG_DEPLOY_KEY }}
Expand All @@ -62,8 +53,6 @@ jobs:
contentDirectories: |
cdk.out:
- packages/cdk/cdk.out
repocop:
- packages/repocop/target/scala-3.2.1/repocop.jar
env:
NODE_OPTIONS: '--max_old_space_size=4096'
1 change: 0 additions & 1 deletion .scalafmt.conf

This file was deleted.

16,800 changes: 5,670 additions & 11,130 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions packages/cdk/bin/cdk.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
import 'source-map-support/register';
import { GuRootExperimental } from '@guardian/cdk/lib/experimental/constructs/root';
import { CloudQuery } from '../lib/cloudquery';
import { Repocop } from '../lib/repocop';

const app = new GuRootExperimental();

new Repocop(app, 'Repocop-INFRA', {
stack: 'deploy',
stage: 'INFRA',
env: { region: 'eu-west-1' },
});

new CloudQuery(app, 'CloudQuery-INFRA', {
stack: 'deploy',
stage: 'INFRA',
Expand Down
Loading

0 comments on commit f91e65f

Please sign in to comment.