1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 15:39:42 +00:00
gcloud-help/gcloud/beta/artifacts/apt/import

96 lines
3.5 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud beta artifacts apt import - import one or more Debian packages into
an artifact repository
SYNOPSIS
2022-07-13 09:59:38 +00:00
gcloud beta artifacts apt import [[REPOSITORY] --location=LOCATION]
2022-03-01 04:29:52 +00:00
--gcs-source=[GCS_SOURCE,...] [--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) gcloud beta artifacts apt import imports Debian packages from Google
Cloud Storage into the specified artifact repository.
EXAMPLES
To import the package my-package.deb from Google Cloud Storage into
my-repo, run:
$ gcloud beta artifacts apt import my-repo --location=us-central1 \
--gcs-source=gs://my-bucket/path/to/my-package.deb
To import the packages my-package.deb and other-package.deb into my-repo,
run:
$ gcloud beta artifacts apt import my-repo --location=us-central1 \
--gcs-source=gs://my-bucket/path/to/my-package.deb,gs://\
my-bucket/path/to/other-package.deb
To import all packages from my-directory into my-repo, run:
$ gcloud beta artifacts apt import my-repo --location=us-central1 \
--gcs-source=gs://my-bucket/my-directory/*
To import all packages in all subdirectories from a Google Cloud Storage
bucket into my-repo, run:
$ gcloud beta artifacts apt import my-repo --location=us-central1 \
--gcs-source=gs://my-bucket/**
POSITIONAL ARGUMENTS
Repository resource - The Artifact Registry repository. If not specified,
the current artifacts/repository is used. The arguments in this group can
be used to specify the attributes of this resource. (NOTE) Some attributes
2023-05-04 10:43:54 +00:00
are not given arguments in this group but can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ provide the argument repository on the command line with a fully
specified name;
2022-07-13 09:59:38 +00:00
◆ set the property artifacts/repository with a fully specified name;
2022-03-01 04:29:52 +00:00
◆ provide the argument --project on the command line;
◆ set the property core/project.
2022-07-13 09:59:38 +00:00
[REPOSITORY]
2022-03-01 04:29:52 +00:00
ID of the repository or fully qualified identifier for the
2023-05-04 10:43:54 +00:00
repository.
To set the repository attribute:
2022-07-13 09:59:38 +00:00
▸ provide the argument repository on the command line;
▸ set the property artifacts/repository.
2022-03-01 04:29:52 +00:00
--location=LOCATION
2023-05-04 10:43:54 +00:00
Location of the repository.
To set the location attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument repository on the command line with a fully
specified name;
2022-07-13 09:59:38 +00:00
▸ set the property artifacts/repository with a fully specified
name;
▸ provide the argument --location on the command line;
▸ set the property artifacts/location.
2022-03-01 04:29:52 +00:00
REQUIRED FLAGS
--gcs-source=[GCS_SOURCE,...]
2022-03-30 09:07:09 +00:00
The Google Cloud Storage location of a package to import. To import
multiple packages, use wildcards at the end of the path.
2022-03-01 04:29:52 +00:00
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
2022-03-30 09:07:09 +00:00
This command is currently in beta and might change without notice. These
variants are also available:
$ gcloud artifacts apt import
2022-03-01 04:29:52 +00:00
$ gcloud alpha artifacts apt import