Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
Emmanuel Mathot edited this page Nov 11, 2020 · 11 revisions

Getting started ⚡️

Test Site Preparation

The Test Suite and the Test Scenarios are executed from a Test Site which can be any computer anywhere.

Software requirements

For running this Test Suite properly, you only need docker installed. The getting started guide on Docker has detailed instructions for setting up Docker on Mac, Linux and Windows.

Once you are done installing Docker, test your Docker installation by running the following:

$ docker run hello-world

Hello from Docker.
This message shows that your installation appears to be working correctly.
...

Using a Test Suite container

It is higly recommended to use the Test Suite from a container to ensure benchmark isolation as we do in this benchmark. The Test Suite is packaged and delivered as a Docker image ready to run Test Scenarios.

You can either

👷‍♀️ Build and deploy your own Test Suite

or

🚢 Use the latest release version available on Docker Hub as esacdab/testsuite:latest

Pull the latest version of the image with this command

$ docker pull esacdab/testsuite:latest

latest: Pulling from esacdab/testsuite
af4b0a2388c6: Already exists
c62fd00f9e96: Pulling fs layer
6689ef7e656b: Pulling fs layer
...
Digest: sha256:5b0f66149f946884af5a9993abe17ff7c2717070c6b2fd9b95091301e3016de4
Status: Downloaded newer image for esacdab/testsuite:latest
docker.io/esacdab/testsuite:latest

In this guide, we assume using a locally packaged Test Suite so we will refer to esacdab/testsuite:latest as the docker image. Please substitute with your image tag.

Prepare the Test Suite configuration (config.yaml)

In this Getting Started Guide, we will copy the sample configuration file that is ready to be used. The last necessary step is to set the user credentials with yours.

First download the comfig.sample.yaml to your working directory as config.yaml

For instance, we will set the credentials for the SciHub and MUNDI DIAS.

Scihub uses the username and the password that you set at the registration of the Copernicus Open Access Hub.

Edit the downloaded config.yaml and find the SciHub section in service_providers node. Change the username:password string by your username and password.

...
  SciHub:
    max_catalogue_thread: 1
    max_download_thread: 2
    data:
      url: https://scihub.copernicus.eu/dhus
      credentials: username:password
...

Same for MUNDI section. Here in addition, you must set your S3 secret and id as described in the section "Download with S3 API" in Mundi Web Services documentation.

...
   MUNDI:
    max_catalogue_thread: 5
    max_download_thread: 2
    data:
      url: https://mundiwebservices.com/acdc/catalog/proxy/search
      credentials: username:password
      s3_secret_key: "secret"
      s3_key_id: id
...

🎉 Your are now ready for the next step:

⏭️ Run your first Test Scenario

Clone this wiki locally