Skip to content
Snippets Groups Projects

jobs/templates: Add GitLab suport for debian packages related jobs

2 unresolved threads

SWH migration to GitLab is incoming and we are not using elastic workers yet in production so we still need to build debian packages for swh modules.

So add support for building the debian packages when pushing tags to swh module repositories hosted on GitLab.


Migrated from D8994 (view on Phabricator)

Merge request reports

Closed by Phabricator Migration userPhabricator Migration user 2 years ago (Jan 4, 2023 4:22pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 1 - job-template: &gbp_buildpackage
2 name: 'debian/packages/{name}/gbp-buildpackage'
2 name: "debian/packages/{name}/gbp-buildpackage"
3 3 description: |
4 4 Build Debian package
5 auth-token: 'ph4br1cat0r'
5 auth-token: "ph4br1cat0r"
  • 55 57 {%- endif %}
    56 58 parameters: [
    57 59 {%- if gitlab_project %}
    58 string(name: 'GIT_TAG', value: "${env.gitlabSourceBranch}"),
    60 // remove refs/tags/ prefix from source branch
  • SWH migration to GitLab is incoming and we are not using elastic workers yet in production so we still need to build debian packages for swh modules.

    But even when it will be wired, we'll still need those for the rpc services that will need to be wired at some point too.

  • lgtm

    Couple of remarks/questions inline.

  • Merge request was accepted

  • Antoine R. Dumont approved this merge request

    approved this merge request

  • Author Maintainer

    Add comments about removing prefix from tag source branch

  • Author Maintainer

    Merge request was merged

  • Please register or sign in to reply
    Loading