Rename all occurrences of "Compute Node" to "Compute Engine"
This is an error, there is no such thing as "Compute Node" in GCP. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
e799f752be
commit
c91f3b11f6
6 changed files with 61 additions and 61 deletions
|
|
@ -40,7 +40,7 @@ func main() {
|
|||
flag.StringVar(&objectName, "object", "", "Target Storage Object name")
|
||||
flag.StringVar(®ion, "region", "", "Target region for the uploaded image")
|
||||
flag.StringVar(&osFamily, "os", "", "OS type used to determine which version of GCP guest tools to install")
|
||||
flag.StringVar(&imageName, "image-name", "", "Image name after import to Compute Node")
|
||||
flag.StringVar(&imageName, "image-name", "", "Image name after import to Compute Engine")
|
||||
flag.StringVar(&imageFile, "image", "", "Image file to upload")
|
||||
flag.Var(&shareWith, "share-with", "Accounts to share the image with. Can be set multiple times. Allowed values are 'user:{emailid}' / 'serviceAccount:{emailid}' / 'group:{emailid}' / 'domain:{domain}'.")
|
||||
flag.BoolVar(&skipUpload, "skip-upload", false, "Use to skip Image Upload step")
|
||||
|
|
@ -73,9 +73,9 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
// Import Image to Compute Node
|
||||
// Import Image to Compute Engine
|
||||
if !skipImport {
|
||||
log.Printf("[GCP] 📥 Importing image into Compute Node as '%s'", imageName)
|
||||
log.Printf("[GCP] 📥 Importing image into Compute Engine as '%s'", imageName)
|
||||
imageBuild, importErr := g.ComputeImageImport(ctx, bucketName, objectName, imageName, osFamily, region)
|
||||
if imageBuild != nil {
|
||||
log.Printf("[GCP] 📜 Image import log URL: %s", imageBuild.LogUrl)
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
log.Printf("[GCP] 📥 Importing image into Compute Node as '%s'", args.Targets[0].ImageName)
|
||||
log.Printf("[GCP] 📥 Importing image into Compute Engine as '%s'", args.Targets[0].ImageName)
|
||||
imageBuild, importErr := g.ComputeImageImport(ctx, options.Bucket, options.Object, args.Targets[0].ImageName, options.Os, options.Region)
|
||||
if imageBuild != nil {
|
||||
log.Printf("[GCP] 📜 Image import log URL: %s", imageBuild.LogUrl)
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import (
|
|||
)
|
||||
|
||||
// ComputeImageImport imports a previously uploaded image by submitting a Cloud Build API
|
||||
// job. The job builds an image into Compute Node from an image uploaded to the
|
||||
// job. The job builds an image into Compute Engine from an image uploaded to the
|
||||
// storage.
|
||||
//
|
||||
// The Build job usually creates a number of cache files in the Storage.
|
||||
|
|
@ -211,7 +211,7 @@ func (g *GCP) ComputeImageShare(ctx context.Context, imageName string, shareWith
|
|||
// they can't use because of insufficient permissions.
|
||||
//
|
||||
// Even without the ability to view / list shared images, the user can still
|
||||
// create a Compute Node instance using the image via API or 'gcloud' tool.
|
||||
// create a Compute Engine instance using the image via API or 'gcloud' tool.
|
||||
//
|
||||
// Custom role to enable account to only list images in the project.
|
||||
// Without this role, the account won't be able to list and see the image
|
||||
|
|
@ -223,7 +223,7 @@ func (g *GCP) ComputeImageShare(ctx context.Context, imageName string, shareWith
|
|||
return nil
|
||||
}
|
||||
|
||||
// ComputeImageDelete deletes a Compute Node image with the given name. If the
|
||||
// ComputeImageDelete deletes a Compute Engine image with the given name. If the
|
||||
// image existed and was successfully deleted, no error is returned.
|
||||
//
|
||||
// Uses:
|
||||
|
|
@ -239,7 +239,7 @@ func (g *GCP) ComputeImageDelete(ctx context.Context, image string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// ComputeInstanceDelete deletes a Compute Node instance with the given name and
|
||||
// ComputeInstanceDelete deletes a Compute Engine instance with the given name and
|
||||
// running in the given zone. If the instance existed and was successfully deleted,
|
||||
// no error is returned.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ type GCPUploadRequestOptions struct {
|
|||
// Name of an existing STANDARD Storage class Bucket.
|
||||
Bucket string `json:"bucket"`
|
||||
|
||||
// The name to use for the imported and shared Compute Node image.
|
||||
// The name to use for the imported and shared Compute Engine image.
|
||||
// The image name must be unique within the GCP project, which is used
|
||||
// for the OS image upload and import. If not specified a random
|
||||
// 'composer-api-<uuid>' string is used as the image name.
|
||||
|
|
@ -119,7 +119,7 @@ type GCPUploadRequestOptions struct {
|
|||
// (source Storage Bucket location) is chosen automatically.
|
||||
Region *string `json:"region,omitempty"`
|
||||
|
||||
// List of valid Google accounts to share the imported Compute Node image with.
|
||||
// List of valid Google accounts to share the imported Compute Engine image with.
|
||||
// Each string must contain a specifier of the account type. Valid formats are:
|
||||
// - 'user:{emailid}': An email address that represents a specific
|
||||
// Google account. For example, 'alice@example.com'.
|
||||
|
|
@ -129,7 +129,7 @@ type GCPUploadRequestOptions struct {
|
|||
// For example, 'admins@example.com'.
|
||||
// - 'domain:{domain}': The G Suite domain (primary) that represents all
|
||||
// the users of that domain. For example, 'google.com' or 'example.com'.
|
||||
// If not specified, the imported Compute Node image is not shared with any
|
||||
// If not specified, the imported Compute Engine image is not shared with any
|
||||
// account.
|
||||
ShareWithAccounts *[]string `json:"share_with_accounts,omitempty"`
|
||||
}
|
||||
|
|
@ -868,52 +868,52 @@ func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler {
|
|||
// Base64 encoded, gzipped, json marshaled Swagger object
|
||||
var swaggerSpec = []string{
|
||||
|
||||
"H4sIAAAAAAAC/8RZe2/bNtf/KoT2AtkAS3Js52Zg2LI0K7JLUtRp3w11ENDSscVVIjWSipsV/u4PDknJ",
|
||||
"usVx+nR4/rIlkufyO4fnps9eJLJccOBaedPPnooSyKj5e/7/s3d5Kmj8Fv4uQOmbXDPBzVIuRQ5SMzBP",
|
||||
"EI3w5/8kLL2p9024pRg6cuETtC6jkbcZeBJWTHBD6hPN8hS8qQeFvwal/UNv4OnHHF8pLRlf4QE1/kKG",
|
||||
"s7G3MQz/LpiE2Jt+KJkbogOjy13FUSz+gkgjxx0KdPCgUQRK3X+Ex3sWN7U6//Xq/Opm9vPNq+vrk8s/",
|
||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azF4zz9xseYNBg3fv2m5b+MSuFAXlJC6S9D0tdeg",
|
||||
"r+2+X5Sptvps1ZRKgi4kV0TjbYhFVGSoZ1OwlbtbTgaCMlRDuLKw03SFHm26FUw0Ay+s5afeO1vSLcdo",
|
||||
"5f5BV60P1dK/5n4lix7T0Y6I/QB1d202/wkAAP//LjDNaEAmAAA=",
|
||||
}
|
||||
|
||||
// GetSwagger returns the Swagger specification corresponding to the generated code
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@ components:
|
|||
type: string
|
||||
example: 'my-image'
|
||||
description: |
|
||||
The name to use for the imported and shared Compute Node image.
|
||||
The name to use for the imported and shared Compute Engine image.
|
||||
The image name must be unique within the GCP project, which is used
|
||||
for the OS image upload and import. If not specified a random
|
||||
'composer-api-<uuid>' string is used as the image name.
|
||||
|
|
@ -315,7 +315,7 @@ components:
|
|||
'domain:example.com'
|
||||
]
|
||||
description: |
|
||||
List of valid Google accounts to share the imported Compute Node image with.
|
||||
List of valid Google accounts to share the imported Compute Engine image with.
|
||||
Each string must contain a specifier of the account type. Valid formats are:
|
||||
- 'user:{emailid}': An email address that represents a specific
|
||||
Google account. For example, 'alice@example.com'.
|
||||
|
|
@ -325,7 +325,7 @@ components:
|
|||
For example, 'admins@example.com'.
|
||||
- 'domain:{domain}': The G Suite domain (primary) that represents all
|
||||
the users of that domain. For example, 'google.com' or 'example.com'.
|
||||
If not specified, the imported Compute Node image is not shared with any
|
||||
If not specified, the imported Compute Engine image is not shared with any
|
||||
account.
|
||||
items:
|
||||
type: string
|
||||
|
|
|
|||
|
|
@ -576,7 +576,7 @@ function verifyInAWS() {
|
|||
fi
|
||||
}
|
||||
|
||||
# Verify image in Compute Node on GCP
|
||||
# Verify image in Compute Engine on GCP
|
||||
function verifyInGCP() {
|
||||
# Authenticate
|
||||
$GCP_CMD auth activate-service-account --key-file "$GOOGLE_APPLICATION_CREDENTIALS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue