Skip to content

Commit

Permalink
My first Contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaradhyaa717 committed Oct 11, 2021
1 parent 7cba685 commit a94cb76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ inputs:
aqa-systemtestsRepo:
description: 'Personal aqa-systemtests Repo. For example, octocat/aqa-systemtests:test'
required: false
default: 'aqa-systemtest:master'
openj9_repo:
description: 'openj9 Repo'
required: false
Expand Down
7 changes: 3 additions & 4 deletions src/runaqa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export async function runaqaTest(
)

if (buildList.includes('system')) {
if (aqa-systemtestsRepo && aqa-systemtestsRepo.length !== 0) {
getAqaSystemTestsRepo(aqasystemtestsRepo);
}
dependents = await tc.downloadTool(
'https://ci.adoptopenjdk.net/view/all/job/systemtest.getDependency/lastSuccessfulBuild/artifact/*zip*/dependents.zip'
)
Expand Down Expand Up @@ -232,10 +234,7 @@ async function getAqaTestsRepo(aqatestsRepo: string): Promise<void> {
}

function getAqaSystemTestsRepo(aqasystemtestsRepo: string) {
let repoBranch = ['adoptium/aqa-systemtests', 'master']
if (aqasystemtestsRepo.length !== 0) {
repoBranch = parseRepoBranch(aqasystemtestsRepo)
}
const repoBranch = parseRepoBranch(aqasystemtestsRepo)
process.env.ADOPTOPENJDK_SYSTEMTEST_REPO = repoBranch[0];
process.env.ADOPTOPENJDK_SYSTEMTEST_BRANCH = repoBranch[1];
}
Expand Down

0 comments on commit a94cb76

Please sign in to comment.