Skip to content

Commit

Permalink
ci(actions): simplified name
Browse files Browse the repository at this point in the history
  • Loading branch information
2moe committed Mar 16, 2024
1 parent efcf864 commit b092de1
Show file tree
Hide file tree
Showing 43 changed files with 54 additions and 48 deletions.
12 changes: 9 additions & 3 deletions .github/update-yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@ for series ver (${(kv)ver_map}) {
"s@/sid(\.yml)@/$new_file\1@g"

# Debian-Sid -> Debian-${series.to_title_case()} (e.g., Debian-Bookworm, 12)
# --expression
# "s@(Debian)-Sid, Unstable@\1-$title_case, $ver@g"

--expression
"s@(Debian)-Sid, Unstable@\1-$title_case, $ver@g"
"s@\(Sid, Unstable@($title_case, $ver@g"

# .SID_ -> .${series.to_upper_case()}_ (e.g., .BOOKWORM_)
--expression
Expand All @@ -136,8 +139,11 @@ for series ver (${(kv)ver_map}) {
"s@/devel\.yml@/$new_file@g"

# Ubuntu-Devel -> Ubuntu-${series.to_title_case()} (e.g., Ubuntu-Jammy, 22.04)
# --expression
# "s@(Ubuntu)-Devel@\1-$title_case, $ver@g"

--expression
"s@(Ubuntu)-Devel@\1-$title_case, $ver@g"
"s@\(Devel@($title_case, $ver@g"

# .DEVEL_ -> .${series.to_upper_case()}_ (e.g., .JAMMY_)
--expression
Expand Down Expand Up @@ -196,7 +202,7 @@ for series ver (${(kv)ver_map}) {
# args.push()
args+=(
--expression
"1a\on: { \"schedule\": [ { \"cron\": '$cron' } ] }"
"1a\on: { \"schedule\": [{ \"cron\": \"$cron\" }] }"
)
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/10.04-lucid.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Lucid, 10.04)
name: build (Lucid, 10.04)
on: { "push": { "paths": [ ".github/workflows/10.04-lucid.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/10.10-maverick.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Maverick, 10.10)
name: build (Maverick, 10.10)
on: { "push": { "paths": [ ".github/workflows/10.10-maverick.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/11.04-natty.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Natty, 11.04)
name: build (Natty, 11.04)
on: { "push": { "paths": [ ".github/workflows/11.04-natty.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/11.10-oneiric.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Oneiric, 11.10)
name: build (Oneiric, 11.10)
on: { "push": { "paths": [ ".github/workflows/11.10-oneiric.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/12.04-precise.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Precise, 12.04)
name: build (Precise, 12.04)
on: { "push": { "paths": [ ".github/workflows/12.04-precise.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/12.10-quantal.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Quantal, 12.10)
name: build (Quantal, 12.10)
on: { "push": { "paths": [ ".github/workflows/12.10-quantal.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/13.04-raring.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Raring, 13.04)
name: build (Raring, 13.04)
on: { "push": { "paths": [ ".github/workflows/13.04-raring.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/13.10-saucy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Saucy, 13.10)
name: build (Saucy, 13.10)
on: { "push": { "paths": [ ".github/workflows/13.10-saucy.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/14.04-trusty.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Trusty, 14.04)
name: build (Trusty, 14.04)
on: { "push": { "paths": [ ".github/workflows/14.04-trusty.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/14.10-utopic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Utopic, 14.10)
name: build (Utopic, 14.10)
on: { "push": { "paths": [ ".github/workflows/14.10-utopic.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/15.04-vivid.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Vivid, 15.04)
name: build (Vivid, 15.04)
on: { "push": { "paths": [ ".github/workflows/15.04-vivid.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/15.10-wily.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Wily, 15.10)
name: build (Wily, 15.10)
on: { "push": { "paths": [ ".github/workflows/15.10-wily.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/16.04-xenial.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Xenial, 16.04)
name: build (Xenial, 16.04)
on: { "push": { "paths": [ ".github/workflows/16.04-xenial.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/16.10-yakkety.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Yakkety, 16.10)
name: build (Yakkety, 16.10)
on: { "push": { "paths": [ ".github/workflows/16.10-yakkety.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/17.04-zesty.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Zesty, 17.04)
name: build (Zesty, 17.04)
on: { "push": { "paths": [ ".github/workflows/17.04-zesty.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/17.10-artful.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Artful, 17.10)
name: build (Artful, 17.10)
on: { "push": { "paths": [ ".github/workflows/17.10-artful.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/18.04-bionic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Bionic, 18.04)
name: build (Bionic, 18.04)
on: { "push": { "paths": [ ".github/workflows/18.04-bionic.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/18.10-cosmic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Cosmic, 18.10)
name: build (Cosmic, 18.10)
on: { "push": { "paths": [ ".github/workflows/18.10-cosmic.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/19.04-disco.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Disco, 19.04)
name: build (Disco, 19.04)
on: { "push": { "paths": [ ".github/workflows/19.04-disco.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/19.10-eoan.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Eoan, 19.10)
name: build (Eoan, 19.10)
on: { "push": { "paths": [ ".github/workflows/19.10-eoan.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/20.04-focal.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Focal, 20.04)
name: build (Focal, 20.04)
on: { "push": { "paths": [ ".github/workflows/20.04-focal.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/20.10-groovy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Groovy, 20.10)
name: build (Groovy, 20.10)
on: { "push": { "paths": [ ".github/workflows/20.10-groovy.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/21.04-hirsute.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Hirsute, 21.04)
name: build (Hirsute, 21.04)
on: { "push": { "paths": [ ".github/workflows/21.04-hirsute.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/21.10-impish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Impish, 21.10)
name: build (Impish, 21.10)
on: { "push": { "paths": [ ".github/workflows/21.10-impish.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/22.04-jammy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Jammy, 22.04)
name: build (Jammy, 22.04)
on: { "push": { "paths": [ ".github/workflows/22.04-jammy.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/22.10-kinetic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Kinetic, 22.10)
name: build (Kinetic, 22.10)
on: { "push": { "paths": [ ".github/workflows/22.10-kinetic.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/23.04-lunar.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Lunar, 23.04)
name: build (Lunar, 23.04)
on: { "push": { "paths": [ ".github/workflows/23.04-lunar.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/23.10-mantic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Mantic, 23.10)
name: build (Mantic, 23.10)
on: { "push": { "paths": [ ".github/workflows/23.10-mantic.yml" ] } }

env:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/24.04-noble.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: build & push (Ubuntu-Noble, 24.04)
# on: { "push": { "paths": [ ".github/workflows/24.04-noble.yml" ] } }
on: { "schedule": [ { "cron": '24 4 */3 * *' } ] }
name: build (Noble, 24.04)
on: { "push": { "paths": [ ".github/workflows/24.04-noble.yml" ] } }

env:
DEBIAN_FRONTEND: noninteractive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/4.10-warty.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Warty, 4.10)
name: build (Warty, 4.10)
on: { "push": { "paths": [ ".github/workflows/4.10-warty.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/5.04-hoary.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Hoary, 5.04)
name: build (Hoary, 5.04)
on: { "push": { "paths": [ ".github/workflows/5.04-hoary.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/5.10-breezy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Breezy, 5.10)
name: build (Breezy, 5.10)
on: { "push": { "paths": [ ".github/workflows/5.10-breezy.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/6.06-dapper.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Dapper, 6.06)
name: build (Dapper, 6.06)
on: { "push": { "paths": [ ".github/workflows/6.06-dapper.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/6.10-edgy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Edgy, 6.10)
name: build (Edgy, 6.10)
on: { "push": { "paths": [ ".github/workflows/6.10-edgy.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/7.04-feisty.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Feisty, 7.04)
name: build (Feisty, 7.04)
on: { "push": { "paths": [ ".github/workflows/7.04-feisty.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/7.10-gutsy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Gutsy, 7.10)
name: build (Gutsy, 7.10)
on: { "push": { "paths": [ ".github/workflows/7.10-gutsy.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/8.04-hardy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Hardy, 8.04)
name: build (Hardy, 8.04)
on: { "push": { "paths": [ ".github/workflows/8.04-hardy.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/8.10-intrepid.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Intrepid, 8.10)
name: build (Intrepid, 8.10)
on: { "push": { "paths": [ ".github/workflows/8.10-intrepid.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/9.04-jaunty.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Jaunty, 9.04)
name: build (Jaunty, 9.04)
on: { "push": { "paths": [ ".github/workflows/9.04-jaunty.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/9.10-karmic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Karmic, 9.10)
name: build (Karmic, 9.10)
on: { "push": { "paths": [ ".github/workflows/9.10-karmic.yml" ] } }

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build & push (Ubuntu-Devel)
name: build (Devel)
# auto-task.build-time = 2024-02-20 04:53:46.579903159+00:00
on: { "push": { "paths": [".github/workflows/devel.yml"] } }

Expand Down
5 changes: 3 additions & 2 deletions ci/create_ci_vars_using_the_gh_api.ers
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ fn main() -> anyhow::Result<()> {
let mut map = BTreeMap::new();

for (ron_file, ref file_content, gh_repo) in [
(uuu_os_file, ubuntu_ron, "ubuntu-museum"),
// (deb_os_file, debian_ron, "debian-museum"),
////
//(uuu_os_file, ubuntu_ron, "ubuntu-museum"),
(deb_os_file, debian_ron, "debian-museum"),
] {
map.clear();
let cfg = ron::from_str::<Cfg>(file_content)?;
Expand Down

0 comments on commit b092de1

Please sign in to comment.