Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Happy CommIting! - GitLab CI/CD with Python by André Alexandre Gomes

Happy CommIting! - GitLab CI/CD with Python by André Alexandre Gomes

DevOpsPorto

August 08, 2019
Tweet

More Decks by DevOpsPorto

Other Decks in Programming

Transcript

  1. Abstract Russ Cox said “Software engineering is what happens to

    programming when you add time and other programmers”. André Gomes in his presentation will show you how GitLab CI/CD can help you to advance from programmer to software engineer by integrating and delivering software, including, but not limited to Python packages.
  2. (Rhetorical) Question Russ Cox says: Software engineering is what happens

    to programming when you add time and other programmers.
  3. Programming, Time and People Being agile and releasing often matters.

    Testing matters. Code readability matters. Software development is a social effort that needs to me managed over time.
  4. Less jargon, please! CI/CD can be thought of as Happy

    CommIting! Pushing changes to a remote repository triggers safety belts, such as: does it pass the tests? does it compile? is the code properly formatted? . . .
  5. Cool, but how to. . . ? Today we will

    be looking at GitLab CI/CD. "Safety belts" are stages. A set of stages is a pipeline.
  6. Demo Let’s start simple and fast forward boring steps. Here’s

    the source code of a Hello World program (Python). Here’s the yaml file. Here are the pipelines.
  7. Conclusions Managing time and the social side of software development

    is key! A CI/CD mindset sets you apart from being just a programmer. Start integrating and deploying those python packages!
  8. Thank you! Questions? Slides available at https://gitlab.com/aadcg/happy_commiting. Licensed under the

    GNU Free Documentation License (copyleft). I’m looking for new projects and challenges!