Docker compose | Azure pipelines

 
Italiano Intermediate Development

Come usare docker-compose nelle pipelines. Scenario: - integration tests + docker database + initial database Docker compose è un ottimo strumento utilizzabile in pipeline di build/release. Quando vogliamo testare il nostro codice la best practice vorrebbe che il database fosse sostituito da un mock o da una versione inmemory. A volte non è possibile (il database usa stored procedures) oppure a volte stiamo sostituendo con una nuova implementazione, una complicata stored procedure e abbiamo costruito nel progetto di test comparazioni tra la nuova implementazione e la vecchia basata su stored comparando i dati. In tutti questi casi docker e docker compose ci permettono di inizializzare un database nello stato che vogliamo e usarlo al 100% delle sue funzionalità all'interno di un agente di build. Approfondimenti (extra talk) - pre eseguire i tests e2e dell'api per ottenere metriche di code coverage sull' nswag typed client - load tests con wrk - memory analysis con jetbrains dotmemory github repo https://github.com/sheltertake/dotnetcore-api-template azure pipelines https://dev.azure.com/sheltertake/dotnetcore-api-template/_build

Speaker

Massimiliano Balestrieri

Lead engineer | Sport Experiences at Deltatre

Developer

Code of Conduct

We seek to provide a respectful, friendly, professional experience for everyone, regardless of gender, sexual orientation, physical appearance, disability, age, race or religion. We do not tolerate any behavior that is harassing or degrading to any individual, in any form. The Code of Conduct will be enforced.

Who does this Code of Conduct apply to?

All live stream organizers using the Global Azure brand and Global Azure speakers are responsible for knowing and abiding by these standards. Each speaker who wishes to submit through our Call for Presentations needs to read and accept the Code of Conduct. We encourage every organizer and attendee to assist in creating a welcoming and safe environment. Live stream organizers are required to inform and enforce the Code of Conduct if they accept community content to their stream.

Where can I get help?

If you are being harassed, notice that someone else is being harassed, or have any other concerns, report it. Please report any concerns, suspicious or disruptive activity or behavior directly to any of the live stream organizers, or directly to the Global Azure admins at team@globalazure.net. All reports to the Global admin team will remain confidential.

Code of Conduct for local live streams

We expect local organizers to set up and enforce a Code of Conduct for all Global Azure live stream.

A good template can be found at https://confcodeofconduct.com/, including internationalized versions at https://github.com/confcodeofconduct/confcodeofconduct.com. An excellent version of a Code of Conduct, not a template, is built by the DDD Europe conference at https://dddeurope.com/2020/coc/.