Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

testcase: support individual build #398

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mahjonp
Copy link
Contributor

@mahjonp mahjonp commented Apr 2, 2021

Signed-off-by: mahjonp junpeng.man@gmail.com

What problem does this PR solve?

This PR supports the individual builds of test cases.

What is changed and how does it work?

When execute make init c=xxxx to make a new test case, the tipocket scaffold also creates a Dockerfile under that case directory by default which enables each test case to wrap its software dependencies(e.g. sysbench, go-tpc, etc.) on the docker image.

Besides, I decide to open individual builds for newcomer cases since the size of the all-in-one image gets larger and larger when we continually add new cases :(

Check List

Tests

  • Unit test
  • E2E test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has Go code change
  • Has CI related scripts change
  • Has Terraform scripts change

Side effects

  • Breaking backward compatibility

Related changes

  • Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

mahjonp added 2 commits April 2, 2021 15:35
Signed-off-by: mahjonp <junpeng.man@gmail.com>
Signed-off-by: mahjonp <junpeng.man@gmail.com>
@mahjonp mahjonp force-pushed the individual_build branch from 4a85d1d to 0cd38d5 Compare April 2, 2021 08:14
Signed-off-by: mahjonp <junpeng.man@gmail.com>
@mahjonp mahjonp requested a review from cosven April 2, 2021 08:55
@mahjonp mahjonp marked this pull request as ready for review April 2, 2021 08:59
Signed-off-by: mahjonp <junpeng.man@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant