Sha256: e36779aebb517ccbe276c92938ccf5399ec445352f49209c89b9625817f322ac

Contents?: true

Size: 325 Bytes

Versions: 12

Compression:

Stored size: 325 Bytes

Contents

#!/bin/bash

GOOGLE_PROJECT=$(curl "http://metadata.google.internal/computeMetadata/v1/project/project-id" -H "Metadata-Flavor: Google")

# fog needs the google project to be specified even if it uses application-default creds
cat >~/.fog <<EOL
test:
  google_project: ${GOOGLE_PROJECT}
  google_application_default: true
EOL

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fog-google-1.24.1 .github/scripts/setup_creds.sh
fog-google-1.24.0 .github/scripts/setup_creds.sh
fog-google-1.23.0 .github/scripts/setup_creds.sh
fog-google-1.22.0 .github/scripts/setup_creds.sh
fog-google-1.21.1 .github/scripts/setup_creds.sh
fog-google-1.21.0 .github/scripts/setup_creds.sh
fog-google-1.20.0 .github/scripts/setup_creds.sh
fog-google-1.19.0 .github/scripts/setup_creds.sh
fog-google-1.18.0 .github/scripts/setup_creds.sh
fog-google-1.17.0 .github/scripts/setup_creds.sh
fog-google-1.16.1 .github/scripts/setup_creds.sh
fog-google-1.16.0 .github/scripts/setup_creds.sh