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

File location

Depending on the tool you are using to install and manage Apigee hybrid, apigee-pull-push.sh can be found in the following directories:

  • Helm Charts: $APIGEE_HELM_CHARTS_HOME/apigee-operator/etc/tools/
  • apigeectl: $APIGEECTL_HOME/apigeectl/tools/

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 /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.8.0
        gcr.io/apigee-release/hybrid/apigee-synchronizer:1.8.0
        gcr.io/apigee-release/hybrid/apigee-runtime:1.8.0
        gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra-client:1.8.0
        gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra:1.8.0
        gcr.io/apigee-release/hybrid/apigee-cassandra-backup-utility:1.8.0
        gcr.io/apigee-release/hybrid/apigee-udca:1.8.0
        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.8.9
        gcr.io/apigee-release/hybrid/apigee-prom-prometheus:v2.33.5
        gcr.io/apigee-release/hybrid/apigee-stackdriver-prometheus-sidecar:0.9.0
        gcr.io/apigee-release/hybrid/apigee-kube-rbac-proxy:v0.8.0
        gcr.io/apigee-release/hybrid/apigee-envoy:v1.16-latest
        gcr.io/apigee-release/hybrid/apigee-prometheus-adapter:v0.9.1
        gcr.io/apigee-release/hybrid/apigee-asm-ingress:1.12.6-asm.2-distroless
        gcr.io/apigee-release/hybrid/apigee-asm-istiod:1.12.6-asm.2

Get help for apigee-pull-push.sh

apigee-pull-push.sh --help