apigee-pull-push

apigee-pull-push.sh é um utilitário que extrai todas as imagens do projeto atual do Google Cloud a partir do Google Cloud Container Registry e as envia para o repositório especificado.

Requisitos

Uso

Sintaxe

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

Opcional: verifique o projeto atual no contexto gcloud

Esta etapa é opcional, porque apigee-pull-push.sh confirmará o projeto e permitirá que você continue ou cancele.

apigee-pull-push.sh extrai as imagens do projeto atual no contexto gcloud. Verifique o projeto com o seguinte comando:

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

Você pode definir o projeto atual com o seguinte comando:

gcloud config set project PROJECT_ID

Em que PROJECT_ID é o ID do projeto do Google Cloud para a instalação híbrida da Apigee.

Envie a imagem da Apigee para um repositório que você nomear

apigee-pull-push.sh REPO

Em que REPO é o URL do repositório, por exemplo, https://gcr.io/apigee-release.

Enviar a imagem da Apigee para o repositório padrão

apigee-pull-push.sh 

Isso envia a imagem para us.gcr.io/PROJECT_ID, por exemplo, us.gcr.io/my-project.

Liste as imagens no seu repositório

Use a opção --list ou -l para listar todas as imagens no repositório.

apigee-pull-push.sh --list

Exemplo de saída:

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

Receber ajuda com apigee-pull-push.sh

apigee-pull-push.sh --help