oat-sa/extension-tao-publishing

An extension to publish tests to a delivery environment

v7.0.1 2023-08-10 14:03 UTC

This package is auto-updated.

Last update: 2024-11-16 16:16:43 UTC


README

TAO Logo

GitHub GitHub release GitHub commit activity

Publish deliveries, tests and interactions to other tao platforms during the delivery creation.

Installation instructions

These instructions assume that you have already a TAO installation on your system. If you don't, go to package/tao and follow the installation instructions.

Add the extension to your TAO composer and to the autoloader:

$ composer require oat-sa/extension-tao-publishing ^3 --prefer-source

Install the extension on the CLI from the project root:

Linux:

sudo php tao/scripts/installExtension.php taoPublishing

Windows:

php tao\scripts\installExtension.php taoPublishing

Docker

$ docker container exec -it {YOUR-TAO-INSTANCE-PHP-CONTAINER} php tao/scripts/installExtension.php taoPublishing

After the install just log out and log in again on the TAO Platform.

As a system administrator you can also install it through the TAO Extension Manager:

  • Settings (the gears on the right hand side of the menu) -> Extension manager
  • Select taoPublishing on the right hand side, check the box and hit install

Set up deliveries on TAO Platform

To be able to synchronize, you need to set up the publication targets that you want to publish. You can do it by:

  • Clicking on Settings Icon (top corner right side) -> Publication Targets -> Add Button.
  • Label: Fill the label with a good name of your choice.
  • Root URL should be the protocol + hostname of the publication target (other TAO platform). Ex: https://demo.taotesting.com/.
  • Auth type: In case of Basic Auth, just use a username and password of a real user in the system that you want to publish. Please make sure that user has proper permissions.