This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Controller() | |
export class BuildController { | |
constructor( | |
private entityManager: EntityManager, | |
private permissions: Permissions, | |
private user: User | |
) {} | |
@Query() | |
async build(args: BuildArgs, info: GraphQLResolveInfo) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function BuildItem(props: BuildItemProps) { | |
const build = useFragment<BuildItem_build$key>( | |
graphql` | |
fragment BuildItem_build on Build { | |
id | |
buildNumber | |
commitEmail | |
commitSHA | |
commitUsername | |
finished |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function BuildList(props: BuildListProps) { | |
const { data, hasPrevious, hasNext } = usePaginationFragment< | |
BuildListQuery, | |
BuildList_builds$key | |
>( | |
graphql` | |
fragment BuildList_builds on Query | |
@refetchable(queryName: "BuildListQuery") { | |
builds( | |
first: $first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pattern is [name, repo, makefile_dir, slack_channel, node_label, parallelism] | |
def job_pipelines = [ | |
["experiment-analysis","experiment-analysis","","dev-experimentation","sa_generic","1","master"], | |
["experiment-analysis-service","experiment-analysis-service","","dev-experimentation","sa_generic","1","master"], | |
["experiment-framework","experiment-framework","","dev-experimentation","sa_generic","1","master"], | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[["buildportaltest","bp-test",".","dev-team-build-alrts","sa_generic","1","master"],["bp-test-directories","bp-test",".","dev-team-build-alrts","sa_generic","1","master"],["test3","bp-test",".","dev-team-build-alrts","sa_generic","1","master"],["test4-no-include-test1","bp-test",".","dev-team-build-alrts","sa_generic","1","master"]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.prototype.spice = (() => { | |
var spices = [ | |
'Ajwain', | |
'Akudjura', | |
'Alexanders', | |
'Alkanet', | |
'Alligator Pepper', | |
'Allspice', | |
'Angelica', | |
'Anise', |