9
edits
Beurdouche (talk | contribs) (→Create the NSS release archive: Fix instructions) |
(Change upload instructions following switch to google cloud) |
||
Line 103: | Line 103: | ||
# Remove the extracted directory, to ensure you won't upload the individual files. | # Remove the extracted directory, to ensure you won't upload the individual files. | ||
===== Upload release to public ftp/ | ===== Upload release to public ftp/google cloud. ===== | ||
When running the following command ensure that you use the directory name NSS_3_26_RTM twice, both in source and in destination. | When running the following command ensure that you use the directory name NSS_3_26_RTM twice, both in source and in destination. | ||
$ cd /your/path/to/stage | $ cd /your/path/to/stage | ||
Line 116: | Line 116: | ||
# Check that there's no NSS_3_26_RTM directory at https://ftp.mozilla.org/pub/security/nss/releases/. | # Check that there's no NSS_3_26_RTM directory at https://ftp.mozilla.org/pub/security/nss/releases/. | ||
# Ensure you have | # Ensure you have the gcloud command installed. | ||
# (see also: https:// | # (see also: https://cloud.google.com/sdk/docs/install ) | ||
# Upload the release | # Upload the release | ||
#: < | #: <syntaxhighlight> | ||
$ NSS_RELEASE=NSS_3_26_RTM \ | |||
GCP_PROJECT=moz-fx-productdelivery-pr-38b5 \ | |||
GCP_ENV=prod \ | |||
gcloud --project $GCP_PROJECT --impersonate-service-account=nss-team-$GCP_ENV@$GCP_PROJECT.iam.gserviceaccount.com \ | |||
storage cp --recursive --no-clobber $NSS_RELEASE gs://$GCP_PROJECT-productdelivery/pub/security/nss/releases/ | |||
</syntaxhighlight> | |||
# Check https://ftp.mozilla.org/pub/security/nss/releases/ (the indexing of the new directory can be delayed but it can be accessed immediately through the url.) | # Check https://ftp.mozilla.org/pub/security/nss/releases/ (the indexing of the new directory can be delayed but it can be accessed immediately through the url.) | ||
# Check upload: | # Check upload: | ||
#: <code>$ | #: <code>$ gcloud storage ls gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/security/nss/releases/</code> | ||
#: <code>$ | #: <code>$ gcloud storage ls gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/security/nss/releases/NSS_3_26_RTM/</code> | ||
#: <code>$ | #: <code>$ gcloud storage ls gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/security/nss/releases/NSS_3_26_RTM/src/</code> | ||
===== Upgrading mozilla-central (automated) ===== | ===== Upgrading mozilla-central (automated) ===== |
edits