Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOP-4306: Remove legacy build code from autobuilder #985

Merged
merged 13 commits into from
Feb 12, 2024
Prev Previous commit
Next Next commit
DOP-4306 push 4306 to preprd
anabellabuckvar committed Feb 6, 2024
commit 1b19585ee24c75b45ccdf2d8bbdbbcaabb76cae7
1 change: 1 addition & 0 deletions .github/workflows/deploy-stg-ecs.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ on:
branches:
- "main"
- "integration"
- "DOP-4306"
concurrency:
group: environment-stg-${{ github.ref }}
cancel-in-progress: true

Unchanged files with check annotations Beta

import { ConsoleLogger } from '../../../src/services/logger';
import { CDNCreds } from '../../../src/entities/creds';
export const UpsertEdgeDictionaryItem = async (event: any = {}): Promise<any> => {

Check warning on line 5 in api/controllers/v1/dochub.ts

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 5 in api/controllers/v1/dochub.ts

GitHub Actions / test

Unexpected any. Specify a different type
const body = JSON.parse(event.body);
const pair = {
key: body.source,
import { PushEvent } from '@octokit/webhooks-types';
async function prepGithubPushPayload(
githubEvent: any,

Check warning on line 12 in api/controllers/v1/github.ts

GitHub Actions / test

Unexpected any. Specify a different type
repoBranchesRepository: RepoBranchesRepository,
prefix: string,
repoInfo: ReposBranchesDocsetsDocument
};
}
export const TriggerBuild = async (event: any = {}, context: any = {}): Promise<any> => {

Check warning on line 64 in api/controllers/v1/github.ts

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 64 in api/controllers/v1/github.ts

GitHub Actions / test

'context' is assigned a value but never used

Check warning on line 64 in api/controllers/v1/github.ts

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 64 in api/controllers/v1/github.ts

GitHub Actions / test

Unexpected any. Specify a different type
const client = new mongodb.MongoClient(c.get('dbUrl'));
await client.connect();
const db = client.db(c.get('dbName'));
import { notifyBuildSummary, snootyBuildComplete } from '../../handlers/jobs';
import { DocsetsRepository } from '../../../src/repositories/docsetsRepository';
export const TriggerLocalBuild = async (event: any = {}, context: any = {}): Promise<any> => {

Check warning on line 16 in api/controllers/v1/jobs.ts

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 16 in api/controllers/v1/jobs.ts

GitHub Actions / test

'context' is assigned a value but never used

Check warning on line 16 in api/controllers/v1/jobs.ts

GitHub Actions / test

Unexpected any. Specify a different type
const client = new mongodb.MongoClient(c.get('dbUrl'));
await client.connect();
const db = client.db(c.get('dbName'));