Skip to content

Commit

Permalink
snaps: build base: core20 from snapcraft/candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
Saviq committed Oct 9, 2024
1 parent b06749a commit e5b2ee2
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions bin/process_snaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
TEAM = "mir-team"
SOURCE_NAME = "mir"

SNAPCRAFT_CANDIDATE = {
"snapcraft": "candidate",
}

SNAPS = {
"checkbox-mir": {
"edge": {"ppa": "release", "recipe": "checkbox-mir-edge", "release": "jammy"},
Expand All @@ -38,7 +42,7 @@
"edge": {"ppa": "dev", "recipe": "confined-shell-edge"},
},
"graphics-test-tools": {
"20/beta": {"recipe": "graphics-test-tools-20-beta"},
"20/beta": {"recipe": "graphics-test-tools-20-beta", **SNAPCRAFT_CANDIDATE},
"22/beta": {"recipe": "graphics-test-tools-22-beta"},
"24/beta": {"recipe": "graphics-test-tools-24-beta"},
},
Expand All @@ -55,7 +59,7 @@
"edge": {"recipe": "mir-kiosk-scummvm-edge"},
},
"mir-test-tools": {
"20/beta": {"ppa": "rc", "recipe": "mir-test-tools-20-beta", "release": "focal"},
"20/beta": {"ppa": "rc", "recipe": "mir-test-tools-20-beta", "release": "focal", **SNAPCRAFT_CANDIDATE},
"22/beta": {"ppa": "rc", "recipe": "mir-test-tools-22-beta", "release": "jammy"},
"24/beta": {"ppa": "rc", "recipe": "mir-test-tools-24-beta"},
"24/edge": {"ppa": "dev", "recipe": "mir-test-tools-24-edge"},
Expand All @@ -65,25 +69,25 @@
"edge": {"ppa": "dev", "recipe": "miriway-edge"},
},
"ubuntu-frame": {
"20/beta": {"ppa": "rc", "recipe": "ubuntu-frame-20-beta", "release": "focal"},
"20/beta": {"ppa": "rc", "recipe": "ubuntu-frame-20-beta", "release": "focal", **SNAPCRAFT_CANDIDATE},
"22/beta": {"ppa": "rc", "recipe": "ubuntu-frame-22-beta", "release": "jammy"},
"24/beta": {"ppa": "rc", "recipe": "ubuntu-frame-24-beta"},
"24/edge": {"ppa": "dev", "recipe": "ubuntu-frame-24-edge"},
},
"ubuntu-frame-osk": {
"20/beta": {"recipe": "ubuntu-frame-osk-20-beta"},
"20/beta": {"recipe": "ubuntu-frame-osk-20-beta", **SNAPCRAFT_CANDIDATE},
"22/beta": {"recipe": "ubuntu-frame-osk-22-beta"},
"24/beta": {"recipe": "ubuntu-frame-osk-24-beta"},
"24/edge": {"recipe": "ubuntu-frame-osk-24-edge"},
},
"ubuntu-frame-vnc": {
"20/beta": {"recipe": "ubuntu-frame-vnc-20-beta"},
"20/beta": {"recipe": "ubuntu-frame-vnc-20-beta", **SNAPCRAFT_CANDIDATE},
"22/beta": {"recipe": "ubuntu-frame-vnc-22-beta"},
"24/beta": {"recipe": "ubuntu-frame-vnc-24-beta"},
"24/edge": {"recipe": "ubuntu-frame-vnc-24-edge"},
},
"mesa-core20": {
"beta": {"recipe": "mesa-core20-beta"},
"beta": {"recipe": "mesa-core20-beta", **SNAPCRAFT_CANDIDATE},
},
"mesa-core22": {
"beta": {"recipe": "mesa-core22-beta"},
Expand Down Expand Up @@ -334,7 +338,8 @@ def getSeries(name):
logger.info("::warning::Triggering %s…", snap_recipe.description or snap_recipe.name)

snap_recipe.requestBuilds(archive=archive,
pocket=snap_recipe.auto_build_pocket)
pocket=snap_recipe.auto_build_pocket,
channels=snap_map.get("channels", {}))
logger.debug("Triggered builds: %s", snap_recipe.web_link)

for error in errors:
Expand Down

0 comments on commit e5b2ee2

Please sign in to comment.