-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Styleguide infra #10
Styleguide infra #10
Conversation
infra/README.md
Outdated
|
||
## Segundo passo: Doutrinando o time | ||
|
||
"Com grandes poderes requerem grandes responsabilidaes", dizia o sábio Tio Joe, é verdade. Como você pode ver no exemplo acima, a configuração do Pipelines fica totalmente disponível para os desenvolvedores, que podem adicionar sua branch de trabalho para que faça uma entrega contínua, rode scripts e tudo mais que ele achar necessário. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tio Ben eim?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahahahaha agor que vi que deixei Joe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ASUEHSAUEHSA
|
||
Simples assim, e com isso, o desenvolvedor é totalmente capaz de configurar se próprio ambiente com poucos cliques e repassá-lo ao time de testes sem depender do *cara da infra* ou daquele amigão que manja de servidores. | ||
|
||
## Segundo passo: Doutrinando o time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
infra/README.md
Outdated
|
||
Nós da [BeeTech](https://www.beetech.global) achamos que todo time deve ter a liberdade de explorar idéias e consumir novas tecnologias, então, junto ao nosso CI [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines), implementamos também, alguns "[custom builds](https://confluence.atlassian.com/bitbucket/run-pipelines-manually-861242583.html)" bem úteis para todos e que vamos tratar nesse guia. | ||
|
||
Para termos essa flexibilidade na infra, sem prejudicar ou onerar ninguém, optamos por utilizar a [Heroku](https://www.heroku.com) - se você não conhece a Heroku, deveria - como [PaaS](https://pt.wikipedia.org/wiki/Plataforma_como_servi%C3%A7o). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ao invés do deveria, poderia ser um "ta aí a desculpa perfeita para aprender" hihi
infra/README.md
Outdated
|
||
![Shame on you!!!](shame-on-you.jpg) | ||
|
||
Não meu caro, o que o _cara da infra_ te diria? Que isso precisa rodar em um ambiente separado, correto? Mas, então porquê não automatizar isso? Porque você mesmo não sobe seu ambiente para testar suas idéias e de quebra, cria um host para repassar para o time de testes ou para aquele seu gerente que só acredita vendo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"por que não automatizar"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BOUUUUA
infra/README.md
Outdated
|
||
## Segundo passo: Doutrinando o time | ||
|
||
"Com grandes poderes requerem grandes responsabilidaes", dizia o sábio [Tio Ben](https://pt.wikipedia.org/wiki/Ben_Parker), é verdade. Como você pode ver no exemplo acima, a configuração do Pipelines fica totalmente disponível para os desenvolvedores, que podem adicionar sua branch de trabalho para que faça uma entrega contínua, rode scripts e tudo mais que ele achar necessário. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Com grandes poderes requerem grandes responsabilidades"
infra/README.md
Outdated
Entendeu? Quer testar uma versão nova do Node? Só informar ali em *engines* a versão que você quer e pronto! | ||
Usa PHP? Não tem problema, informa no *composer.json*, Python? Vai no *requirements.txt* e por aí vai, é mais simples do que parece ;) | ||
|
||
Caso precise rodar alguma tarefa a antes ou depois do build, mas apenas na Heroku, temos a opção de criar em **scripts** os gatilhoes pré-configurados da Heroku: pre-build ou post-build. Na [documentação](https://devcenter.heroku.com/) deles você encontra mais opções. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"gatilhões"
infra/README.md
Outdated
|
||
Como podemos ver, com isso, todos do time ganham total liberdade de aplicar suas idéias, testar novas funcionalidades ou mesmo trabalhar tranquilamento em uma correção, sabendo que seu trabalho não irá afetar ninguém que esteja utilizando o mesmo ambiente. Tudo fica perfeitamente isolado e funcionando perfeitamente. | ||
|
||
Sim, é esta a infra matadora, sem trabalho, sem estresse e linda de ver funcionando. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Sim, esta é a infra matadora"
infra/README.md
Outdated
- facilidade de configuração | ||
- utilizar fortemente o Docker | ||
|
||
Por utilizar Docker, já ganhamos máxima liberdade na criação do ambiente de testes e garante total compatilidade entre os ambientes, já que podemos utilizar o mesmo container em todos. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"já ganhamos máxima liberdade na criação do ambiente de testes e garante total compatibilidade entre os ambientes"
…ish into styleguide-infra * 'styleguide-infra' of github.com:BeeTech-global/bee-stylish: fix(link): Fix link to guide chore(title): Change title
LGTM 👍 |
CADÊ CADÊ CADÊ? :( |
ta difícil :( |
approved!!!! \o/ |
No description provided.