Joaquin de Andres
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Charla debconf ## Esqueleto - 1: Que es Salsa.CI (intro) - Primero: que es ci y por que lo necesitamos - Salsa.CI y su origen - La idea del proyecto: proveer un template genérico para los proyectos/paquetes de Debian - Que es Gitlab CI y que es un template. - nosotros proveemos un template de ci, que se puede personalizar. - no somos debci - 2: Como crecio el proyecto - Curva de adopción - Proyectos vs tiempo. - Cuantos equipos y maintainers importantes lo usan. - Que % de proyectos tiene nuestro pipeline, cuantos no tienen. - Como: - Podemos buscar el commit en el que la config fue agregada al repositorio. - Podemos buscar el primer pipeline que tenga los jobs nuestros - Identificar la linea vertical - Curva contribuciones: Hablar de como el proyecto fue creciendo en intersados y como la comunidad se sumo. - Contribuidores acumulativo - Commits acumulativo - 3: Como sumarte (usando) - Explicar como agregar salsa ci - Explicar como agregar salsa ci en un equipo. - Tuco (veo en la semana de acomodar y probar el codigo) - git options -o ci.skip y [skip ci] - Como personalizar el pipeline, cambiar jobs, buildear otros releases en el mismo pipeline - Por ejemplo el proyecto lintian - Que hace: build bin y source, todos los tests que tiene. - Personalización: un poco sobre como desactivar jobs, como cambiar el release, etc - 4: Como sumarte (contribuyendo) - Links del pipeline ### Descartado - ~~Promedio de fallas encontradas en el pipelines.~~ - ~~Cuantos jobs fallan~~ - ~~Relacion con el ratio de fallas en debian archive~~ - ~~Antes de pushear cuantas fallas tenían en promedio?~~ - ~~Y después?~~ Title: - ~~What has Salsa CI improved?~~ - ~~Did Salsa CI improve any thing?~~ - Where we are with Salsa CI. - Where is Salsa CI right now? - .. Summary: Introduction on what is and how Salsa CI can ease your work. The Salsa CI pipeline was created 2 years ago, since then the adoption has grown a lot. Did Salsa CI make things better? Does it help anyone? We will show you an analisys of the impact and how the project has grown. ## Extra ### otros proyectos usando nuestro CI - kali Linux - ALBA España # Chamuyo. --INA ## Intro - Introducción, nombres ? - Short review of what CI and Gitlab CI are, so we're all on the same page. ## What is CI - The following definition explains pretty well what CI is: - Continuous Integration is the practice of building and testing each change automatically, as early as possible. - Every time you push your changes to a repository, a previously defined set of scripts build and test you changes and you get quick feedback. ## Slide con diagrama de branches y CI de GitLab (Queda ese slide?, creería que no) - workflow - When working on git repositories, the normal workflow is branching from the main branch of the tree and commiting your changes. - When you push your changes, CI comes and builds and tests your changes. - If something goes wrong, you go and push again to fix the problems. - After the changes are reviewed and approved, the proposed changes are merged into the main branch. ## Goals. - So, what is the intention of having CI on your project? - Main Goals. - Detect problems before the packages are released. - Having a good set of tests is obviously necessary for this. - But also basic problems can some times be found when building and testing on a different environment. - And this is achieved with .. (next slide) - Build and test on reproducible envs. - These environments are shared by every contributor. - So every change is tested on the same environment. - But this is not the only things CI can help with. - Side effect - Help avoiding repetitive tasks. - Running the same scripts over and over is error prone. - Building and testing takes time, so sometimes we don't run some checks that we think shoulnd't be affected. - You can really focus on reviewing the changes. - Easier to attract new contributors. - Reduces the learning curve for packaging. - You can see how the code is built and tested. - It's easier to review contributions. - If you trust your CI. - Forks run all the same CI - No need to set up an environment. - Just forking the project allows people to reproduce the process. ## What is _Salsa_ CI? - Debian uses a self hosted instance of Gitlab, called Salsa. - Gitlab CI uses yaml files on the project to configure what CI does on your project. - On any push to the repository, Gitlab will look for the yaml and start jobs according to the contents of the file for that commit. - Because .gitlab-ci.yml is in the repository and is version controlled, each branch or commit can have a different definition of what CI does. - We developed and maintain a recipe for building and testing Debian packages. - It runs on salsa shared infrastructure. ## Salsa CI Pipeline - Show what the pipeline looks like. - We have 2 stages, on the first one we build the package in both binary and source-only versions. - If both builds succeed, the test stage is executed. - Test stage has different kind of test enabled by default. - Each job can be customized or even disabled. - There are some disabled-by-default jobs like aptly, check rc bugs and check missing breaks replaces. - lists the rc bugs that are not being addressed - Check the produced binary packages and checks if there are conflicting files against packages that are not declared with breaks and replaces. - It takes no longer than 7 minutes for a regular python package. -- JOA ## The project - Adoption - So... We started this because we thought that was something that will help Debian. Numbers are the only way to know. - (slide con el grafico y la linea de first commit.) - The project has grown in usage since the first commit. - After it, and until the project got some usability the adoption was low. - (slide que agrega la linea de las primeras noticias) - Is nice to see how the different efforts of the team and the maturity of the project helped with the adoption. - After the first news some more projects started to use salsa-ci. - (slide que agrega la linea del email a devel) - After the first public email to the list a good number of projects adopted, also changing the growing rate. - (slide que agrega la linea de minidebcof) - Tin and ina give the first talks about salsa-ci on Minidebconf Hanburg, convinicing some developers to adopt the project getting an slope on the adoption. - (slide que agrega la linea de debconf) - But really after the talks in last Debconf the amount of projects using salsa-ci grow faster. The growing rate changed almost to the double. - next slide with the number - And that lead us to have today almost fortyonehundred projects using salsa-ci - (slide que agrega un circulo alrededor de la linea vertical) - As highlights we can see where some developers decided to use salsa-ci on all their projects. - (slide con una barra de adoption actual, porcentaje que lo usa y porcentaje que no) - And where some teams did that too. This was a problem beacause the trigger of more than a thousand pipelines overloaded the salsa servers. So if you intend to do that please disable the pipeline for that commit. I will show you how to do it later. - (adoption percentage) - So, in percetage right now almost 20 percent of project on salsa use some kind of CI and of thouse more than 70% uses SalsCI - and that shows that it's a generic solution for most of the projects. - An that was wath we look for. - Contribution - this was possible because we have a team - (slide con el grafico completo) Contributors - Right now the project has 35 contributors. The growt is overall constant and we hope it continous that way. - (slide con el grafico completo) Contributions - With more contributors the amount of contributions grown as well. - (slide con los highlights) - It's nice to see that we work better wen we are together ## How to use Salsa CI - Caratula - By default, Gitlab has a CI path set to a configuration file on the root of the project - This doesnt work on most Debian packages because the root of the repository belongs to upstream - and the definition will collide - There are many ways to use the pipeline definition. You can find about that on the project README. We're going to cover the most flexible way, which allows customization. - The firtst way is to set the Custom CI path to this: `recipes/debian.yml@salsa-ci-team/pipeline` - this will use directly the definition by salsa-ci-team - The second way is to set the Custom CI path to a local file with the includes. - (includes) - This allows you to customize the CI configuration. ## Adding Salsa CI to a group. - As I say before, when adding CI to a set of projects is important to not overload the system. - So, be nice to the system - Creating Pipelines to hundreds of projects at the same time can cause troubles. - 2 different ways to avoid this are available: - make the push with the option ci.skip - or add [ci skip] on the commit message - Also if you are thinking on do some automatization use tuco - This is a tool we wrote some time ago to automatize the configuration - Needs some love, if you're going to write some script for this, first take a look at tuco. ## DEMO --INA ## Contributing - We're going to have a sprint tomorrow. - You can reach us over irc (#salsaci) - We can help you set up CI on your packages, or answer any of your questions.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully