Skip to content

Commit

Permalink
update workshop-ci
Browse files Browse the repository at this point in the history
- drop old fedora userenvs tied to a name

- create a new fedora-ci userenv that can be updated without renaming
  it

- add update-policy option testing
  • Loading branch information
k-rister committed Aug 7, 2024
1 parent 6386be3 commit d79226c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 130 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/workshop-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:
run: |
export TOOLBOX_HOME=~/toolbox
echo
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci-dump-config --userenv ./userenvs/fedora36-ci.json --dump-config true
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci-dump-config --userenv ./userenvs/fedora-ci.json --dump-config true
echo
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci-dump-files --userenv ./userenvs/fedora36-ci.json --dump-files true
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci-dump-config --userenv ./userenvs/fedora-ci.json --dump-config true --force-update-policy missing
echo
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci --userenv ./userenvs/fedora36-ci.json --log-level verbose
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci-dump-files --userenv ./userenvs/fedora-ci.json --dump-files true
echo
sudo --preserve-env=TOOLBOX_HOME ./workshop.pl --label workshop-ci --userenv ./userenvs/fedora-ci.json --log-level verbose
13 changes: 7 additions & 6 deletions userenvs/fedora36-ci.json → userenvs/fedora-ci.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"workshop": {
"schema": {
"version": "2023.02.16"
"version": "2024.08.07"
}
},
"userenv": {
"name": "fedora36",
"label": "Fedora 36",
"name": "fedora40",
"label": "Fedora 40",
"origin": {
"image": "docker.io/library/fedora",
"tag": "36"
"tag": "40",
"update-policy": "digest"
},
"properties": {
"platform": [
Expand All @@ -28,11 +29,11 @@
},
"requirements": [
{
"name": "python39",
"name": "python3",
"type": "distro",
"distro_info": {
"packages": [
"python39"
"python3"
]
}
},
Expand Down
121 changes: 0 additions & 121 deletions userenvs/fedora33.json

This file was deleted.

0 comments on commit d79226c

Please sign in to comment.