Skip to content

Commit

Permalink
Merge pull request #108 from Aaradhyaa717/aaradhyaa
Browse files Browse the repository at this point in the history
Remove the default value of aqa-systemtestsRepo #105
  • Loading branch information
smlambert authored Oct 13, 2021
2 parents 7cba685 + a94cb76 commit 41c5b8a
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 41c5b8a

Please sign in to comment.