Skip to content

Commit

Permalink
Fix: Block Release of EOL Images (#320)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: clay-lake <clay-lake@localhost>
  • Loading branch information
clay-lake and clay-lake authored Dec 20, 2024
1 parent 5ee0007 commit 86eb77f
Show file tree
Hide file tree
Showing 7 changed files with 483 additions and 163 deletions.
38 changes: 37 additions & 1 deletion oci/mock-rock/_releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,41 @@
"target": "1.2-22.04_beta"
}
},
"1.0.0-22.04": {}
"1.0.0-22.04": {},
"eol": {
"end-of-life": "2030-05-01T00:00:00Z",
"beta": {
"target": "1.0-22.04_beta"
},
"edge": {
"target": "eol_beta"
}
},
"eol-release": {
"end-of-life": "2000-05-01T00:00:00Z",
"beta": {
"target": "1.1-22.04_beta"
},
"edge": {
"target": "eol-release_beta"
}
},
"eol-upload": {
"end-of-life": "2030-05-01T00:00:00Z",
"beta": {
"target": "1.0-22.04_beta"
},
"edge": {
"target": "eol-upload_beta"
}
},
"eol-all": {
"end-of-life": "2000-05-01T00:00:00Z",
"beta": {
"target": "1.0-22.04_beta"
},
"edge": {
"target": "eol-all_beta"
}
}
}
9 changes: 9 additions & 0 deletions oci/mock-rock/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ release:
test:
end-of-life: "2030-05-01T00:00:00Z"
beta: 1.1-22.04_beta
eol-upload:
end-of-life: "2030-05-01T00:00:00Z"
beta: 1.0-22.04_beta
eol-release:
end-of-life: "2000-05-01T00:00:00Z"
beta: 1.1-22.04_beta
eol-all:
end-of-life: "2000-05-01T00:00:00Z"
beta: 1.0-22.04_beta

upload:
- source: "canonical/rocks-toolbox"
Expand Down
Loading

0 comments on commit 86eb77f

Please sign in to comment.