Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mantle/kola: optionally attach GCP service account/AWS instance profile to instances #2851

Merged
merged 3 commits into from
May 16, 2022

Commits on May 10, 2022

  1. mantle/platform/api/gcloud: report underlying error when pending op f…

    …ails
    
    op.Error.Errors is a slice of pointers, which isn't helpful.  Extract
    the underlying error messages.
    bgilbert committed May 10, 2022
    Configuration menu
    Copy the full SHA
    5078a62 View commit details
    Browse the repository at this point in the history
  2. mantle/platform/api/gcloud: attach service account to instances

    In order to test authenticated GCS fetches from instances, we need to
    attach some service account with GCS read access to each instance.  Use
    the project's default service account unless the command line specifies
    otherwise.
    
    Note that this requires kola's service account to have Service Account
    User permission for the instance service account.  Otherwise, the GCP SDK
    will fail with a helpful error message.
    bgilbert committed May 10, 2022
    Configuration menu
    Copy the full SHA
    21470d8 View commit details
    Browse the repository at this point in the history
  3. mantle/kola: add test flag to skip passing credentials to instance

    We want to be able to test that anonymous fetches S3 -> EC2 and
    GCS -> GCE work without instance credentials.  This has been a
    problem in the past: coreos/ignition#1363
    bgilbert committed May 10, 2022
    Configuration menu
    Copy the full SHA
    28417b3 View commit details
    Browse the repository at this point in the history