Git Product home page Git Product logo

Comments (3)

munnerz avatar munnerz commented on August 24, 2024 1

Hey Richard,

It looks like your local git client is doing something that is tripping Bazel up with auth: ERROR: /home/richard/go/src/github.com/jetstack/testing/images/BUILD.bazel:23:1: no such package '@test_infra//images/bootstrap/barnacle': Error cloning repository: [email protected]:jetstack/test-infra.git: Auth cancel caused by [email protected]:jetstack/test-infra.git: Auth cancel caused by Auth cancel and referenced by '//images:barnacle'

You can see that barncale does exist in our repo okay here: https://github.com/jetstack/test-infra/tree/master/images/bootstrap/barnacle

Do you:

  1. have a line in ~/.gitconfig replacing all https:// github URLs with git@ equivalents?
  2. have a passphrase associated with your SSH private key?

I imagine a combination of these two would cause the issues you're seeing!

from testing.

munnerz avatar munnerz commented on August 24, 2024 1

👋 ping on the above 😄

from testing.

wallrj avatar wallrj commented on August 24, 2024

Aha! Yes, you're right. I had the git config rewriting the URLs.

Now works:

bazel run //images/bazelbuild
INFO: Analysed target //images/bazelbuild:bazelbuild (43 packages loaded).
INFO: Found 1 target...
Target //images/bazelbuild:bazelbuild up-to-date (nothing to build)
INFO: Elapsed time: 162.187s, Critical Path: 23.21s
INFO: 69 processes: 69 linux-sandbox.
INFO: Build completed successfully, 85 total actions
INFO: Build completed successfully, 85 total actions
190b62a26aae: Loading layer [==================================================>]  6.083MB/6.083MB
Loaded image ID: sha256:e52ccd47f6bb0eb26b76acb68c1e5d0c228e16e50563a5fa27f56f8fd8e3eafd
190b62a26aae: Loading layer [==================================================>]  6.083MB/6.083MB
Loaded image ID: sha256:64fb2fff76677bd7b2d7fa4848f7ca12398f192fd1d2ad27ce66569f647da9ee
Tagging e52ccd47f6bb0eb26b76acb68c1e5d0c228e16e50563a5fa27f56f8fd8e3eafd as eu.gcr.io/jetstack-build-infra-images/bazelbuild:v20181023-5017cc7-0.16.1
Tagging 64fb2fff76677bd7b2d7fa4848f7ca12398f192fd1d2ad27ce66569f647da9ee as eu.gcr.io/jetstack-build-infra-images/bazelbuild:v20181023-5017cc7-0.18.0
eu.gcr.io/jetstack-build-infra-images/bazelbuild      v20181023-5017cc7-0.16.1   e52ccd47f6bb        48 years ago        798MB
eu.gcr.io/jetstack-build-infra-images/bazelbuild      v20181023-5017cc7-0.18.0   64fb2fff7667        48 years ago        801MB

I like the 48 year old Docker images :-)

from testing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.