Skip to content
Snippets Groups Projects
  1. Oct 17, 2024
  2. Oct 07, 2024
  3. Sep 30, 2024
  4. Sep 22, 2024
    • Oliver Smith's avatar
      jobs/get_depends: always enable systemd · 1cebbbe9
      Oliver Smith authored
      I just realized that since switching to pmbootstrap v3, the
      "repo_missing" action will not output systemd packages anymore if
      systemd is disabled. Explicitly enable it.
      1cebbbe9
  5. Sep 19, 2024
    • Oliver Smith's avatar
      repo.final.publish: trigger building next packages · d1399447
      Oliver Smith authored
      BPO holds off from building packages for other branches, if the x86_64
      branch is not built yet. As this is our native branch and holds the
      cross compilers. Add the missing trigger that ensures bpo checks after
      publishing packages, if it can now build packages from other
      architectures.
      
      Fixes: issue 139
      d1399447
  6. Sep 18, 2024
    • Oliver Smith's avatar
      CI: pytest: reset pmaports mirrors before start · bd0fb46b
      Oliver Smith authored
      The sets these, make sure to reset them before running tests.
      bd0fb46b
    • Oliver Smith's avatar
      febc3476
    • Oliver Smith's avatar
      bpo.helpers.job: add job_check_rate_limit · 42ace88e
      Oliver Smith authored
      Detect when bpo has a bug that causes it to start the same job over and
      over, and shut it down in that case.
      42ace88e
    • Oliver Smith's avatar
      jobs: get rid of BPO_WIP_REPO_{URL,ARG} vars · 963eafd6
      Oliver Smith authored
      Previous code set these shell variables for the sourcehut job service:
      
        BPO_WIP_REPO_URL: """ + shlex.quote(url_repo_wip) + """
        BPO_WIP_REPO_ARG: '-mp """ + shlex.quote(url_repo_wip) + """'
      
      ...and local job service:
      
        BPO_WIP_REPO_URL="" # empty, because we copy it instead
        BPO_WIP_REPO_ARG="" # empty, because we copy it instead
      
      And then used them later on in the tasks describing the jobs. When they
      were used, it was hard to understand what the actual value would be, and
      the behavior differed greatly from local job service (testsuite) and
      sourcehut, so it lead to bugs like issue 141.
      
      Remove these variables, and call bpo.helpers.pmb.get_pmos_mirror()
      instead.
      
      Let the local job service always use the real server's WIP repo URL to
      ensure these code paths get tested with the local job service too. To
      make this work:
      * When building packages: having the real WIP repo mirror enabled in
        addition to having the local WIP packages copied to pmbootstrap's work
        dir should not cause any problems as long as it exists (so not when
        testing staging branches).
      * When signing the APKINDEX: download the unsigned APKINDEX from the
        WIP repo mirror first to test that code path. Then remove it and copy
        the local unsigned APKINDEX in its place.
      963eafd6
    • Oliver Smith's avatar
      bpo/helpers/pmb: move get_pmos_mirror here · f5485144
      Oliver Smith authored
      Move bpo.helpers.job.get_pmos_mirror_for_pmbootstrap to
      bpo.helpers.pmb.get_pmos_mirror. It makes sense there, it gets closer
      to set_repos_task which uses it in the same file and the function name
      is shorter.
      f5485144
    • Oliver Smith's avatar
      Merge url-repo-wip-http and url-repo-wip-https · 691cd2cf
      Oliver Smith authored
      Reduce complexity of the url-repo-wip parameter by merging the -http and
      -https variants into one that always uses https.
      
      I had split this in 2020 in 920e6ce7 to work around a bug that is no
      longer relevant. Nowadays we always run apk natively, this was
      introduced in pmbootstrap 2.2.0 (pmbootstrap MR 2242).
      691cd2cf
    • Oliver Smith's avatar
      bpo/jobs/sign_index: move env_force_missing_repos · 1e43b58d
      Oliver Smith authored
      Move this block closer to where it is used (we can do this now, since
      tasks is built iteratively).
      1e43b58d
    • Oliver Smith's avatar
      bpo/jobs/sign_index: refactor task list · 069618d8
      Oliver Smith authored
      Like the refactoring done for other jobs recently:
      - Use f-strings.
      - Fill tasks into the OrderedDict separately instead of doing it at
        once. This is needed because I'll add a step to add the mirrors for
        pmbootstrap v3.
      069618d8
  7. Aug 13, 2024
  8. Aug 11, 2024
  9. Aug 08, 2024
    • Oliver Smith's avatar
      bpo.config.const.branches: use pmb 2.3.x for all · 76970be4
      Oliver Smith authored
      Use pmbootstrap 2.3.x again for master and master_staging_systemd for
      now, until the fallout from switching to v3 is fixed.
      
      Related: bpo issue 141
      76970be4
    • Luca Weiss's avatar
      jobs/build_image: fix pmb_v2_mirrors_arg position · 42c8451c
      Luca Weiss authored and Oliver Smith's avatar Oliver Smith committed
      Without this patch, the -m and -mp arguments are at the wrong position.
      They line must look like:
          pmbootstrap -m … -mp … install …
      Instead of:
          pmbootstrap install … -m … -mp …
      
      (Thanks Luca for the patch! Oliver wrote this commit msg, adjusted tests.)
      42c8451c
    • Oliver Smith's avatar
      ci/pytest: set *_PMB_BRANCH=master · c89faf9b
      Oliver Smith authored
      This test is for running with pmbootstrap v3 (unlike ci/pytest-pmb-v2).
      Set the *_PMB_BRANCH=master variables, so bpo uses the pmbootstrap v3
      code paths for this, even if the default is 2.3.x again.
      c89faf9b
  10. Aug 04, 2024
  11. Jul 31, 2024
  12. Jul 30, 2024
    • Caleb Connolly's avatar
      images: add traiblazer (MR 108) · 4fa9438a
      Caleb Connolly authored
      Build edge images for trailblazer every 3 days. This gives us a
      reasonable cadence for linux-next while accounting for the fact that
      there aren't many trailblazer users yet.
      
      We may bump this up if it's justified later on.
      4fa9438a
  13. Jul 01, 2024
    • Duje Mihanović's avatar
      images: add samsung-coreprimevelte (MR 109) · 58cb81e1
      Duje Mihanović authored
      Feature support is average:
      
      * SimpleDRM
      * WiFi (somewhat unstable due to incomplete MMC driver, clock driver or
        both)
      * Bluetooth (same as above)
      * Haptics (confirmed to work in Sxmo and Plasma Mobile)
      
      Despite this, I think the phone is good enough for official images,
      especially since no Android custom ROMs were ever released for it.
      58cb81e1
Loading