NSS/Release Management: Difference between revisions

Jump to navigation Jump to search
Change upload instructions following switch to google cloud
(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/amazon s3. =====
===== 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 aws command installed.
# Ensure you have the gcloud command installed.
# (see also: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html )
# (see also: https://cloud.google.com/sdk/docs/install )
# Upload the release
# Upload the release
#: <code>$ aws s3 cp NSS_3_26_RTM s3://net-mozaws-prod-delivery-contrib/pub/security/nss/releases/NSS_3_26_RTM --recursive</code>
#: <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>$ aws s3 ls s3://net-mozaws-prod-delivery-contrib/pub/security/nss/releases/</code>
#: <code>$ gcloud storage ls gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/security/nss/releases/</code>
#: <code>$ aws s3 ls s3://net-mozaws-prod-delivery-contrib/pub/security/nss/releases/NSS_3_26_RTM/</code>
#: <code>$ gcloud storage ls gs://moz-fx-productdelivery-pr-38b5-productdelivery/pub/security/nss/releases/NSS_3_26_RTM/</code>
#: <code>$ aws s3 ls s3://net-mozaws-prod-delivery-contrib/pub/security/nss/releases/NSS_3_26_RTM/src/</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) =====
9

edits

Navigation menu