CircleCI-Public / gcp-gcr-orb

Orb for interacting with Google Container Registry from within a CircleCI build job
https://circleci.com/orbs/registry/orb/circleci/gcp-gcr
MIT License
13 stars 30 forks source link

gcloud installation failure #28

Closed t12g closed 4 years ago

t12g commented 4 years ago

Orb version

2.1

What happened

I encountered a gcloud installation failure:

Err:9 http://packages.cloud.google.com/apt cloud-sdk-/main amd64 Packages
  404  Not Found

Reading package lists... Done

W: The repository 'http://packages.cloud.google.com/apt cloud-sdk- Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://packages.cloud.google.com/apt/dists/cloud-sdk-/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Exited with code 100

My config:

version: 2.1                                                                                                             
orbs:                                                                                                                                                                                                        
  gcp-gcr: circleci/gcp-gcr@0.6.1                                                                                        
jobs:                                                                                                                    
  mvn-push:                                                                                                              
    docker:                                                                                                              
      - image: circleci/openjdk:11.0.2                                                                                   
    steps:                                                                                                               
      - gcp-gcr/gcr-auth                                                                                                 
workflows:                                                                                                               
  build-and-push:                                                                                                        
    jobs:                                                                                                                
      - mvn-push:                                                                                                        
          context: my-context

As a reference, circleci/gcp-cli@1.8.2 is working fine.

Expected behavior

gcloud should install successfully.

FelicianoTech commented 4 years ago

This is being confirmed.

KyleTryon commented 4 years ago

Confirmed in tests latest version working. @t12g please update to 0.7.0 and re-open an issue if still experiencing a problem. Thank you. https://circleci.com/orbs/registry/orb/circleci/gcp-gcr