diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-22 08:45:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 08:45:15 -0400 |
commit | 9f5d1462be20c86afe363750ecc20ee89e0b3978 (patch) | |
tree | 31da9901f4bf0068b670afb4c81276ca5ad2274c | |
parent | 558809d4bbd735eca2a31bb07249ac42850f37de (diff) | |
parent | 7bdf93ee630a1a2b9a2ec8d444763bcc9c23271d (diff) | |
download | podman-9f5d1462be20c86afe363750ecc20ee89e0b3978.tar.gz podman-9f5d1462be20c86afe363750ecc20ee89e0b3978.tar.bz2 podman-9f5d1462be20c86afe363750ecc20ee89e0b3978.zip |
Merge pull request #6955 from edsantiago/logformatter_fix_bucket_name
logformatter: update MAGIC BLOB string
-rw-r--r-- | .cirrus.yml | 2 | ||||
-rwxr-xr-x | contrib/cirrus/logformatter | 21 |
2 files changed, 20 insertions, 3 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index b1aa1b475..9a5e0472f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -71,7 +71,7 @@ env: # Service-account client_email - needed to build images SERVICE_ACCOUNT: ENCRYPTED[702a8e07e27a6faf7988fcddcc068c2ef2bb182a5aa671f5ccb7fbbfb891c823aa4a7856fb17240766845dbd68bd3f90] # Service account username part of client_email - for ssh'ing into VMs - GCE_SSH_USERNAME: ENCRYPTED[d579f2d3000bb678c9af37c3615e92bcf3726e9afc47748c129cef23ee799faaafd4baba64048329205d162069d90060] + GCE_SSH_USERNAME: 'cirrus-ci' # Default VM to use unless set or modified by task gce_instance: diff --git a/contrib/cirrus/logformatter b/contrib/cirrus/logformatter index 60c1e5985..86de98803 100755 --- a/contrib/cirrus/logformatter +++ b/contrib/cirrus/logformatter @@ -418,10 +418,27 @@ END_HTML } } - # FIXME: if Cirrus magic envariables are available, write a link to results + # If Cirrus magic envariables are available, write a link to results. + # FIXME: it'd be so nice to make this a clickable live link. + # + # STATIC_MAGIC_BLOB is the name of a google-storage bucket. It is + # unlikely to change often, but if it does you will suddenly start + # seeing errors when trying to view formatted logs: + # + # AccessDeniedAccess denied.Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object. + # + # This happened in July 2020 when github.com/containers/libpod was + # renamed to podman. If something like that ever happens again, you + # will need to get the new magic blob value from: + # + # https://console.cloud.google.com/storage/browser?project=libpod-218412 + # + # You will also probably need to set the bucket Public by clicking on + # the bucket name, then the Permissions tab. This is safe, since this + # project is fully open-source. if ($have_formatted_log && $ENV{CIRRUS_TASK_ID}) { my $URL_BASE = "https://storage.googleapis.com"; - my $STATIC_MAGIC_BLOB = "cirrus-ci-5385732420009984-fcae48"; + my $STATIC_MAGIC_BLOB = "cirrus-ci-6707778565701632-fcae48"; my $ARTIFACT_NAME = "html"; my $URL = "${URL_BASE}/${STATIC_MAGIC_BLOB}/artifacts/$ENV{CIRRUS_REPO_FULL_NAME}/$ENV{CIRRUS_TASK_ID}/${ARTIFACT_NAME}/${outfile}"; |