Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

satrapu/peak-it-2020

Repository files navigation

Peak IT - Brașov - 2020

Table of Contents

Build Status Quality Gate Status

This repo contains the resources used during the "Use Docker Compose when running integration tests with Azure Pipelines" presentation at the 3rd edition of the Peak IT conference, which took place in Brașov between October 17th and 18th 2020 (online event due to COVID-19).

This presentation is based on this article: Use Docker Compose when running integration tests with Azure Pipelines.

https://www.slideshare.net/satrapu/use-docker-compose-when-running-integration-tests-with-azure-pipelines

https://www.youtube.com/watch?v=k1awtLtSXWQ&list=PLF3C06z30q25DaH90VLApE5bYjYv1_vSb&index=6

In order to have a clear image of the CI pipeline used to build the source code from this repo, please visit: https://github.com/satrapu/aspnet-core-logging.

  • Start compose services
# Start compose services founder under a specific project
docker-compose --file="docker-compose.yml" --project-name="peak-it-2020" up --detach
  • List running Docker containers found under a specific compose project
docker container ls -a --filter "label=com.docker.compose.project=peak-it-2020" --format "{{ .ID }}"
  • Display details of a particular Docker container
docker container inspect --format "{{ json .Config.Labels }}" peak-it-2020-db-dev
  • Check the health state of a particular Docker container
docker container inspect --format "{{.State.Health.Status}}" peak-it-2020-db-dev
  • List all ports exposed by a particular Docker container
docker container port peak-it-2020-db-dev

About

Resources for "Use Docker Compose when running integration tests with Azure Pipelines" presentation given at Peak IT conference in October 17th 2020.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published