Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Click on the "Add Task" button and search for a "Script" task. Click OK.
  • In the Task Description enter "Run Tox".
  • LINUX: As this is a Linux task put "Shell" as the Interpreter.
  • LINUX: For the script location Select "File" and put "housekeeping/scripts/linux/runtests.sh" as the script location.
  • WINDOWS: TODO
  • Click Save

Step 12 - Script Task (Build

...

Wheel)

This is only required if you wish to package your code as a module to be distributed via Pip. This isn't needed for all repositories, such as those which contain a collection of scripts.

...

  • Click on the "Add Task" button and search for a "Script" task. Click "OK".
  • In the Task Description enter "Build PIPWheel"
  • LINUX: Again, as this is a Linux task put "Shell" as the Interpreter.
  • LINUX: For the script location Select "File" and put "housekeeping/scripts/linux/build_wheel.sh" as the script location.
  • WINDOWS: TODO
  • In the Argument field put "dev my_package", where my_package is the name of the package to be built. Dev is the index to which it will be published.
  • Click Save

...

Artifacts are files that have been produced as part of the build process that you wish to make available via the Bamboo website. This may include code coverage reports or zipped builds of the code.

The locations will vary but if you have used the Build Wheel script above you should find a wheel file in a dist subdirectory of wherever your code was checked out to.

Image Added

Step 16 - Miscellaneous

...