apigee-pull-push

apigee-pull-push.sh is a utility that pulls all the images for the current Google Cloud project from the Google Cloud Container Registry and pushes them to your specified repository.

Requirements

Usage

Syntax

apigee-pull-push [REPO] [--list] [--help]

Optional: Check the current project in your gcloud context

This step is optional, because apigee-pull-push.sh will confirm the project and allow you to proceed or abort.

apigee-pull-push.sh pulls the images for the current project in your gcloud context. Check the project with the following command:

gcloud config list core/project --format='value(core.project)'

You can set the current project with the following command:

gcloud config set project PROJECT_ID

Where PROJECT_ID is the ID of the Google Cloud project for your Apigee hybrid installation.

Push the Apigee hybrid image to a repository you name

apigee-pull-push.sh REPO

Where REPO is the URL of the repository, for example https://gcr.io/apigee-release.

Push the Apigee image to the default repository

apigee-pull-push.sh 

This command pushes the image to us.gcr.io/PROJECT_ID, for example us.gcr.io/my-project.

List the images in your repository

Use the --list or -l option to list all the images in your repository.

apigee-pull-push.sh --list

Example output:

apigee:
        gcr.io/apigee-release/hybrid/apigee-mart-server:1.3.6
        gcr.io/apigee-release/hybrid/apigee-synchronizer:1.3.6
        gcr.io/apigee-release/hybrid/apigee-runtime:1.3.6
        gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra-client:1.3.6
        gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra:1.3.6
        gcr.io/apigee-release/hybrid/apigee-cassandra-backup-utility:1.3.6
        gcr.io/apigee-release/hybrid/apigee-udca:1.3.6
        gcr.io/apigee-release/hybrid/apigee-connect-agent:1.8.0
        gcr.io/apigee-release/hybrid/apigee-watcher:1.8.0
        gcr.io/apigee-release/hybrid/apigee-operators:1.8.0
        gcr.io/apigee-release/hybrid/apigee-installer:1.8.0
        gcr.io/apigee-release/hybrid/apigee-redis:1.8.0
        gcr.io/apigee-release/hybrid/apigee-diagnostics-collector:1.8.0
        gcr.io/apigee-release/hybrid/apigee-diagnostics-runner:1.8.0
third party:
        gcr.io/apigee-release/hybrid/apigee-stackdriver-logging-agent:1.10.1
        gcr.io/apigee-release/hybrid/apigee-prom-prometheus:v2.48.0
        gcr.io/apigee-release/hybrid/apigee-stackdriver-prometheus-sidecar:0.9.0
        gcr.io/apigee-release/hybrid/apigee-kube-rbac-proxy:v0.15.0
        gcr.io/apigee-release/hybrid/apigee-envoy:v1.27.0
        gcr.io/apigee-release/hybrid/apigee-prometheus-adapter:v0.11.2
        gcr.io/apigee-release/hybrid/apigee-asm-ingress:1.18.7-asm.26-distroless
        gcr.io/apigee-release/hybrid/apigee-asm-istiod:1.18.7-asm.26-distroless
        gcr.io/apigee-release/hybrid/apigee-fluent-bit:2.2.0

Get help for apigee-pull-push.sh

apigee-pull-push.sh --help