34
Si les Startups le peuvent pourquoi pas vous ?

Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Si les Startups le peuvent pourquoi pas vous ?

Page 2: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Qui suis-jeOswald De Riemaecker

• CEO & Co-Founder of Continuous S.A. / continuousphp©

• Cloud Architect/Agile Enthousiaste

https://lu.linkedin.com/in/oswaldderiemaecker

@oswald_odr

Page 3: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Il est plus difficile que jamais de rester au TOP ...

@cbinsights

Page 4: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide
Page 5: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Imaginez … “Et si vous étiez une Startup”

Page 6: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Traits d’une Startup

● Lean Startup

Page 7: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Traits d’une Startup

● Lean Startup

● Agilité

Page 8: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Traits d’une Startup

● Lean Startup

● Agilité

● DevOps

Page 9: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide
Page 10: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Regardons maintenant un cas d’étude

Page 11: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Scrum pour la gestion de Produit Agile

As a continuousphp user I want to select Behat Testing Framework in the Testing Settings

As a continuousphp user I want to provide the path(s) of application behat.yml

As a continuousphp user I want to provide the target(s) I want to run before starting behat scenarios

As a continuousphp user I want to make the build blocking if behat fails

………...

Product Backlog

- As a continuousphp user I want to select Behat Testing Framework in the Testing Settings

- As a continuousphp user I want to provide the path(s) of application behat.yml

- As a continuousphp user I want to provide the target(s) I want to run before starting behat scenarios

- As a continuousphp user I want to make the build blocking if behat fails

……

Prio

riser

Page 12: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Gestion du flux de travail (Kanban)

As a continuousphp user I want to select Behat Testing Framework in the Testing Settings

As a continuousphp user I want to provide the path(s) of application behat.yml

As a continuousphp user I want to provide the target(s) I want to run before starting behat scenarios

As a continuousphp user I want to make the build blocking if behat fails

………...

Product Backlog

TODO (3) WIP (2) DONE

PullAs a continuousphp user I want to select Behat Testing Framework in the Testing Settings

As a continuousphp user I want to provide the path(s) of application behat.yml

As a continuousphp user I want to provide the target(s) I want to run before starting behat scenarios

As a continuousphp user I want to make the build blocking if behat fails

………...

Page 13: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Gestion du flux de travail (Kanban)

As a continuousphp user I want to select Behat Testing Framework in the Testing Settings

As a continuousphp user I want to provide the path(s) of application behat.yml

As a continuousphp user I want to provide the target(s) I want to run before starting behat scenarios

As a continuousphp user I want to make the build blocking if behat fails

………...

Product Backlog

TODO (3) WIP (2) DONE

Page 14: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Gestion du flux de travail (Kanban)

As a continuousphp user I want to select Behat Testing Framework in the Testing Settings

As a continuousphp user I want to provide the path(s) of application behat.yml

As a continuousphp user I want to provide the target(s) I want to run before starting behat scenarios

As a continuousphp user I want to make the build blocking if behat fails

………...

Product Backlog

TODO (3) WIP (2) DONE

Page 15: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Définition du terminé (Done)● Une Pull Request est ouverte de la branche de feature vers la branche master● Tous les tests passent sur le pipeline de la Pull Request ● Un environnement éphémère est prêt pour faire des tests d'acceptance pour

cette Pull Request si les tests sont passés● Après les tests d’acceptance, la Pull Request est acceptée et mergée dans la

branche master● Une fois mergé, le pipeline de la master mets à jour la production.

TODO (3) WIP (2) DONE

Page 16: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Environnement d'acceptance à la demande● Infrastructure en tant que dépendance● Fournisseur de cloud (IaaS)

○ Infrastructure Codée reproductible à la demande pour n’importe quel environment○ réduire les coûts (OPEX vs CAPEX)

[aws-cf-runstack] 2016-03-17T14:38:03+00:00: AWS::CloudFormation::Stack (CREATE_IN_PROGRESS)

[aws-cf-runstack] 2016-03-17T14:38:25+00:00: AWS::EC2::SecurityGroup (CREATE_COMPLETE)

[aws-cf-runstack] 2016-03-17T14:38:25+00:00: AWS::EC2::EIP (CREATE_COMPLETE)

[aws-cf-runstack] 2016-03-17T14:39:02+00:00: AWS::Route53::RecordSetGroup (CREATE_COMPLETE)

[aws-cf-runstack] 2016-03-17T14:39:20+00:00: AWS::IAM::Role (CREATE_COMPLETE)

[aws-cf-runstack] 2016-03-17T14:39:24+00:00: AWS::IAM::Policy (CREATE_COMPLETE)

[aws-cf-runstack] 2016-03-17T14:41:24+00:00: AWS::IAM::InstanceProfile (CREATE_COMPLETE)

[aws-cf-runstack] 2016-03-17T14:42:20+00:00: AWS::EC2::Instance (CREATE_COMPLETE)

[aws-cf-runstack]

WebServerIP: 52.19.236.43

WebServerURL: http://demo.subsite-starterkit.ec-europa.continuous.lu/

Page 17: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1

Fork

Page 18: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1

Page 19: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1PR #1

Page 20: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1

Page 21: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1

Page 22: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1

Infra Éphémère

Page 23: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1

Infra ÉphémèrePR Accepté

Page 24: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1

Infra Éphémère

Page 25: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Le branching model et pipelines

Master

Feature #1

Production

Page 26: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Stratégie de Déploiement● Livraison Continue● Déploiement Continu

Page 27: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Challenge● Faites que votre Application soit Deployment-ready/Cloud-ready

○ Phing, Rake, Make, Grunt

...

PullPush

Page 28: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Challenge● Brisez vos dépendances

○ Service Adapter, Gestionnaire de Package, Gestion de versions, Injection de dépendances

File System

Page 29: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Challenge● Migration de base de données

○ Phinx, Doctrine Migration, Liquibase

V2.1.1 V2.1.2

Page 30: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Challenge● Automatisez vos tests (spécification par l’exemple)

○ Behat, PHPUnit, rspec, jasmine

Page 31: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Challenge● Accélérez la gestion de vos systèmes (Système provisioning)

○ Vagrant, Chef, Kitchen, Ansible, Puppets, Packer, Docker

Page 32: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Challenge● Migrez vers une infrastructure Cloud hybride ou complète

Development Staging ProductionTesting

Page 33: Si les Startups le peuvent pourquoi pas vous · As a continuousphp user I want to select Behat Testing Framework in the Testing Settings As a continuousphp user I want to provide

Quelques références complémentaires