Skip to content
New issue

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

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

Already on GitHub? # to your account

Support container tests inherit Jenkins aqa-tests repo and testenv #5356

Merged
merged 1 commit into from
May 30, 2024

Conversation

LongyuZhang
Copy link
Contributor

  • Support container tests inherit Jenkins aqa-tests repo and testenv
  • The mismatch previously caused failure in release
  • Related Issue: ibm_backlog/issues/1433

- Support container tests inherit Jenkins aqa-tests repo and testenv
- The mismatch previously caused failure in release

Signed-off-by: LongyuZhang <longyu.zhang@ibm.com>
@LongyuZhang
Copy link
Contributor Author

Test Links:

Set USE_TESTENV_PROPERTIES to true in Jenkins (hyc_grinder 40928)

  • Inherited aqa-tests repo and branch when building docker image
11:40:01       [exec] STEP 19/27: RUN git clone https://github.com/longyuzhang/aqa-tests.git
11:40:02       [exec] Cloning into 'aqa-tests'...
11:40:09       [exec] Updating files:  94% (1618/1717)
11:40:17       [exec] --> aa3962599a50
11:40:17       [exec] STEP 20/27: WORKDIR /aqa-tests/
11:40:18       [exec] --> 52186625540a
11:40:18       [exec] STEP 21/27: RUN git checkout cc2
  • Inside the docker, set other repos based on testenv.properties (e.g. the release branch)
11:40:40  testtest USE_TESTENV_PROPERTIES value is true
11:40:40  TESTDIR: /aqa-tests
11:40:40  load ./testenv/testenv.properties
11:40:40  get testKitGen...
11:40:40  git clone -q https://github.com/adoptium/TKG.git
11:40:42  git rev-parse v1.0.1.1
11:40:42  git checkout -q -f 0bc8be5f10c2c9e471e4bd195803bcdad234b74a

@LongyuZhang LongyuZhang requested a review from llxia May 30, 2024 16:18
@llxia llxia merged commit a0accb3 into adoptium:master May 30, 2024
1 check passed
Nagata-Haruhito pushed a commit to Nagata-Haruhito/aqa-tests that referenced this pull request Jun 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants