Skip to content

Building TAP from Sources

Joskowski Andrzej edited this page Jun 14, 2016 · 11 revisions

Wiki HomeBuilding TAP from Sources

Before you start, make sure that you have the required [ tools ] (Development Environment Setup) installed. You should have completed previous step for infrastructure building (AWS or Openstack).

Building Trusted Analytics Platform artifacts from sources

  1. Clone platform-parent repository.

  2. Set platform-parent version using command git checkout v0.7

  3. Create a new directory where prepared artifacts will be stored:

    mkdir <ARTIFACTS_OUTPUT_PATH>
    
  4. Enter platform-parent/docker directory.

  5. Run following command to create docker image: ./build_tap.sh build.

  6. Run docker container by executing: ./build_tap.sh run PLATFORM_PARENT_PATH ARTIFACTS_OUTPUT_PATH --release-tag=v0.7 where

PLATFORM_PARENT_PATH = path to cloned platform-parent repository
ARTIFACTS_OUTPUT_PATH = path to directory created in point 3

Artifacts should be created and ready to deploy.

Artifacts deployment

At this stage apployer tool will be used:

  • Enter <PLATFORM_PARENT_PATH>/apployer directory.

  • Follow setup instructions

  • Fill the fetcher_config.yml file with values corresponding to your TAP instance.

  • If needed change values in VARIABLES FOR MANUAL CHANGE section of templates/template_variables.yml.

  • Run apployer deploy command. Example: apployer deploy -p CF_PASSWORD -o CF_ORG_NAME -s CF_SPACE_NAME PLATFORM_PARENT_ARTIFACTS_OUTPUT_PATH/apps/ https://cf-api.{{ CF_DOMAIN }}

Clone this wiki locally