export function createFullRepoScanBuildSpec()

in cdk-project/lib/buildspecs.ts [78:99]


export function createFullRepoScanBuildSpec(): codebuild.BuildSpec {
    return codebuild.BuildSpec.fromObject({
        version: "0.2",
        env: {
            variables: {
                INSTANCE_TYPE: "ml.m5.xlarge",
            },
        },
        phases: {
            build: {
                commands: [
                    `find reinforcement_learning/*/common -maxdepth 0 -type f | xargs -I R1 sh -c "cat R1 | xargs -I R2 ln -sf R2 R1"`,
                    `run-all-notebooks --instance $INSTANCE_TYPE`,
                ],
            },
        },
        artifacts: {
            files: ["*.csv"],
            name: "ARTIFACT_1",
        },
    });
}