Closed Bug 1848192 Opened 2 years ago Closed 2 years ago

Add scopes for staging-mozilla-vpn-client to upload packages to the APT repo

Categories

(Release Engineering :: Release Automation, task, P2)

Desktop
Linux

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gabriel, Assigned: gabriel)

References

Details

Attachments

(1 file)

The staging-mozilla-vpn-client project need the following scopes to upload packages to the staging APT repo on release promotion:

project:releng:beetmover:action:import-from-gcs-to-artifact-registry
project:releng:beetmover:apt-repo:dep

Here's a script that adds the APT repo to install testing packages.

# First, import the APT repository signing key:
wget -q https://repository.stage.productdelivery.nonprod.webservices.mozgcp.net/apt/repo-signing-key.gpg -O- | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/repository.stage.productdelivery.nonprod.webservices.mozgcp.net.gpg > /dev/null
# The fingerprint should be 35BA A0B3 3E9E B396 F59C A838 C0BA 5CE6 DC63 15A3

# Next, add the APT repository to your sources list:
echo "deb [signed-by=/etc/apt/trusted.gpg.d/repository.stage.productdelivery.nonprod.webservices.mozgcp.net.gpg] https://repository.stage.productdelivery.nonprod.webservices.mozgcp.net/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null

# Update the package list
sudo apt-get update

Might want to run apt-get update && apt-get install -y gnupg2 wget sudo if testing in a non-desktop Linux environment (for example, an Ubuntu docker container)

Severity: -- → N/A
Priority: -- → P2
Assignee: nobody → gabriel
Status: NEW → ASSIGNED
Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/ci/ci-configuration/rev/8667c375ae91 Add scopes for staging-mozilla-vpn-client to upload packages to the APT repo r=releng-reviewers,bhearsum
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
See Also: → 1850597
See Also: → 1915192
Component: Release Automation: Uploading → Release Automation
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: