Skip to content

WAVE Streaming Media Test Suite – User Agents: This is the repository to install and deploy this test suite. Please read the README.md file for installation information. More: This is a repository for the test suite that verifies against the WAVE WMAS series of specifications.

License

Notifications You must be signed in to change notification settings

cta-wave/WMAS-deploy

 
 

Repository files navigation

WMAS Deployment

Requirements

  • Docker v18 or higher
  • docker-compose v1.18 or higher

Create the image

The server is deployed in a virtual environment. An image with the desired version is required to run it. To build an image run the following command, passing a commit id:

$ sudo ./build.sh <commit id/branch/version tag> <image-tag>

For example:

$ sudo ./build.sh wmas2023 latest
$ sudo ./build.sh wmas2023-v1.0.0 1.0.0

Run the image in a container

What image version to use when creating a container is defined inside the docker-compose.yml. By default it is latest. To run the image in a docker container, make sure directories data and results exist with ownership uid=1000,gid=1000. Then run the following command:

$ sudo docker-compose up

Run it in background

$ sudo docker-compose up -d

Note that upon first start, generating the MANIFEST.json can take some time. Restarting the server should be significantly faster.

For more information on how to use and configure the server, please refer to the documentation.

Access test runner

To access the test runner and perform tests, open web-platform.test/_wave/.

View logs

To display the logs, simply run:

$ sudo docker logs wmas2023

Start, Stop and Restart existing container

You can control an existing container with a set of commands.

Start container:

$ sudo docker start wmas2023

Stop container:

$ sudo docker stop wmas2023

Restart container:

$ sudo docker restart wmas2023

Update to new version

To update to a new version the image needs to be recreated with the new commit, just as described in Create the image.

Network deployment

To make the test runner accessible by other devices in a network, put the host machine's IP address into the TEST_RUNNER_IP environment variable in the docker-compose.yml, to configure the built-in DNS server properly. Alternatively, you can set up your own DNS server that resolves all domains listed in the docker-compose.ymls extra_host list to the host machines IP address. Then configure the DUT's or the router's DNS accordingly.

SSL

To utilize the SSL certificates for your domain, make sure the directory certs exists with ownership uid=1000,gid=1000 and put them in there. Then change the path to the certificates in config.json to something similar to ./certs/your-key.pem.

About

WAVE Streaming Media Test Suite – User Agents: This is the repository to install and deploy this test suite. Please read the README.md file for installation information. More: This is a repository for the test suite that verifies against the WAVE WMAS series of specifications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •