Skip to content

Commit

Permalink
Drop support for building legacy oscontainer and extensions
Browse files Browse the repository at this point in the history
These have been replaced by the new oscontainer format output by
`cosa build ostree` and the extensions container respectively.

See also: https://issues.redhat.com/browse/MCO-392
  • Loading branch information
jlebon committed Mar 27, 2024
1 parent d833492 commit 48414b3
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 1,060 deletions.
4 changes: 2 additions & 2 deletions cmd/coreos-assembler.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

// commands we'd expect to use in the local dev path
var buildCommands = []string{"init", "fetch", "build", "run", "prune", "clean", "list"}
var advancedBuildCommands = []string{"buildfetch", "buildupload", "oc-adm-release", "push-container", "upload-oscontainer", "buildextend-extensions"}
var buildextendCommands = []string{"aliyun", "applehv", "aws", "azure", "digitalocean", "exoscale", "extensions", "extensions-container", "gcp", "hashlist-experimental", "hyperv", "ibmcloud", "kubevirt", "legacy-oscontainer", "live", "metal", "metal4k", "nutanix", "openstack", "qemu", "secex", "virtualbox", "vmware", "vultr"}
var advancedBuildCommands = []string{"buildfetch", "buildupload", "oc-adm-release", "push-container"}
var buildextendCommands = []string{"aliyun", "applehv", "aws", "azure", "digitalocean", "exoscale", "extensions-container", "gcp", "hashlist-experimental", "hyperv", "ibmcloud", "kubevirt", "live", "metal", "metal4k", "nutanix", "openstack", "qemu", "secex", "virtualbox", "vmware", "vultr"}

var utilityCommands = []string{"aws-replicate", "compress", "copy-container", "koji-upload", "kola", "push-container-manifest", "remote-build-container", "remote-prune", "remote-session", "sign", "tag", "update-variant"}
var otherCommands = []string{"shell", "meta"}
Expand Down
2 changes: 0 additions & 2 deletions docs/cosa.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ other platforms or cloud providers:
| [buildextend-{aliyun,aws,azure,digitalocean,exoscale,gcp,vultr}](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-ore-wrapper) | Generate artifacts for the given platforms
| [buildextend-{azurestack,ibmcloud,openstack,vmware}](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-artifact-disk) | Generate artifacts for the given platforms
| [{aliyun,aws}-replicate](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-ore-wrapper) | Replicate images on the platforms (AMIs for AWS)
| [buildextend-legacy-oscontainer](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-buildextend-legacy-oscontainer) | Create an oscontainer in legacy format (i.e. not OSTree-native)

## Misc commands

Expand All @@ -71,4 +70,3 @@ Those less commonly used commands are listed here:
| [supermin-shell](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-supermin-shell) | Get a supermin shell
| [tag](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-tag) | Operate on the tags in `builds.json`
| [test-coreos-installer](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-test-coreos-installer) | Automate an end-to-end run of coreos-installer with the metal image
| [upload-oscontainer](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-upload-oscontainer) | Upload an oscontainer (historical wrapper for `cosa oscontainer`)
308 changes: 0 additions & 308 deletions src/buildextend-legacy-oscontainer.py

This file was deleted.

13 changes: 0 additions & 13 deletions src/buildextend-legacy-oscontainer.sh

This file was deleted.

Loading

0 comments on commit 48414b3

Please sign in to comment.