Support for GitHub actions

    • bluey@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Current implementations would be shell(sh/pwsh/…) command run defined in yaml.

      The proposed implementation will allow you to break down your pipeline into composable steps and reuse github actions within the same build job. Without this, you will have to use DIND to run these steps.

      # Example job using action
      my-job:
        run:
          - name: greet_user
            step: gitlab.com/gitlab-org/ci-cd/runner-tools/echo-step@v1
            inputs:
              echo: hello $[[ GITLAB_USER_LOGIN ]]
          - name: greet_user_again
            action: mikefarah/yq@master
            inputs:
              cmd: echo ["${{ steps.greet_user.outputs.echo }} again!"] | yq .[0]
      
  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    3 months ago

    In fact, one of the quotes from a recent customer survey states: “GitLab needs to embrace a post-YAML world for CI.”

    So, over the past two years, our pipeline authoring team, led by Product Manager Dov Hershkovitch, has been working extensively on improving the pipeline authoring experience.

    Then in the tutorial

    1. Create a step.yml file.

    So much for being post-YAML…

    It sounds like they want to reinvent Dagger but are at the YAML phase.

    Anti Commercial-AI license