Skip to content

Commit 7b17c9c

Browse files
committed
cmd-create-legacy-oscontainer: rename cmd-upload-oscontainer
1 parent bf241cd commit 7b17c9c

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

cmd/coreos-assembler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
// commands we'd expect to use in the local dev path
1515
var buildCommands = []string{"init", "fetch", "build", "run", "prune", "clean", "list"}
16-
var advancedBuildCommands = []string{"buildfetch", "buildupload", "oc-adm-release", "push-container", "upload-oscontainer", "buildextend-extensions"}
16+
var advancedBuildCommands = []string{"buildfetch", "buildupload", "oc-adm-release", "push-container", "create-legacy-oscontainer", "buildextend-extensions"}
1717
var buildextendCommands = []string{"aliyun", "aws", "azure", "digitalocean", "exoscale", "gcp", "ibmcloud", "kubevirt", "live", "metal", "metal4k", "nutanix", "openstack", "qemu", "secex", "virtualbox", "vmware", "vultr"}
1818
var utilityCommands = []string{"aws-replicate", "build-extensions-container", "compress", "generate-hashlist", "koji-upload", "kola", "push-container-manifest", "remote-build-container", "remote-prune", "remote-session", "sign", "update-variant"}
1919
var otherCommands = []string{"shell", "meta"}

docs/cosa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ Those less commonly used commands are listed here:
7171
| [supermin-shell](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-supermin-shell) | Get a supermin shell
7272
| [tag](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-tag) | Operate on the tags in `builds.json`
7373
| [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
74-
| [upload-oscontainer](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-upload-oscontainer) | Upload an oscontainer (historical wrapper for `cosa oscontainer`)
74+
| [create-legacy-oscontainer](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-create-legacy-oscontainer) | Create an oscontainer oci-archive (historical wrapper for `cosa oscontainer`)

gangplank/internal/ocp/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ func pushOstreeToRegistry(ctx ClusterContext, push *spec.Registry, build *cosa.B
394394

395395
// pushArgs invokes cosa upload code which creates a named tag
396396
pushArgs := []string{
397-
"/usr/bin/coreos-assembler", "upload-oscontainer",
397+
"/usr/bin/coreos-assembler", "create-legacy-oscontainer",
398398
fmt.Sprintf("--name=%s", pushPath),
399399
}
400400
// copy the pushed image to the expected tag
File renamed without changes.

src/cmd-push-container

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python3 -u
22
# Upload the container to a registry. Note this
3-
# is distinct from `upload-oscontainer` which
3+
# is distinct from `create-legacy-oscontainer` which
44
# only applies to (hopefully soon only older)
55
# versions of RHCOS but not FCOS.
66

0 commit comments

Comments
 (0)