metafresh logo and link to homepage

How do I create a branch-based testing environment?

Steps

  1. Select the task you want to test. The task has to be in review and must not be integrated in master yet!
  2. Open the GitHub issue for your task and check the pull requests. The issue must have at least 1 pull request.

    img:"Pull Requests"

  3. Click the tab “Pull requests”, and make sure that the branch has no conflicts with the base branch. It should say it somewhere at the bottom of the page.

    img

  4. Right-click the link to the jenkins page.

    continuous-integration/jenkins/branch: Details

  5. Look for the link to the dist build in the console where it should say [metasfresh_dist] Starting building:... somewhere towards the end. The link after that is the one you need.

  6. Use this link to get to the build in metasfresh.dist where you want to perform the test:
  7. Click the second link to create the build.

    Something along the lines "..and this link lets you jump to a jenkins-job that will create and publish deployable docker images from this build"

  8. Enter your email address to be informed by email when the instance was built.
  9. You will receive an email with the link to your testing docker environment with the respective username and password.
  10. Click and open the link from the email. The login screen for your testing environment opens up.
  11. Check the database version (dbVersion) to make sure the correct one was built. The database version shall be the same as the one in tag/name of the version you copied earlier.

Zur Quelldatei auf github.com