Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dep signing #8

Merged
merged 11 commits into from
Apr 30, 2020
Merged

Dep signing #8

merged 11 commits into from
Apr 30, 2020

Conversation

escapewindow
Copy link
Contributor

@escapewindow escapewindow commented Apr 23, 2020

@escapewindow
Copy link
Contributor Author

@tomprince This is based on #5 . Not sure if we want to get that reviewed and landed first, or if it's easier to review all of it at once here.

@escapewindow escapewindow removed the request for review from tomprince April 29, 2020 21:14
# githubCloneSecret: project/xpi/xpi-github-clone-ssh
githubCloneSecret: ""
# XXX use "privileged" or "system" to enable signing
xpiSigningType: ""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this is something that could be put in package.json metadata; pulling metadata from there might also address the issue that I saw mentioned about having packages that are not extensions, if we have metadata indicating that a package is an xpi that should be processed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly. I also want to add the expected extension name(s) in there as a string or list of strings. I've avoided modifying package.json to date, since the xpi-manifest is the source of truth for release builds, and the CI provided here is a best effort attempt at making new source repositories super simple to drop in.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continue
dep = task["primary-dependency"]
task["dependencies"] = {"build": dep.label}
artifact_prefix = dep.task["payload"]["env"]["ARTIFACT_PREFIX"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should put this value in an attribute and consume it from there.

@escapewindow
Copy link
Contributor Author

@escapewindow escapewindow force-pushed the escapewindow:dep-signing branch from ff653c7 to d243a9f

git diff ff653c7 output

@escapewindow
Copy link
Contributor Author

mozilla-releng/staging-xpi-public#7 has green dep-signing. Phew.

@escapewindow
Copy link
Contributor Author

Thanks! Going to address the XXX .tc.yml and tc/ci/config.yml changes before merging.

@escapewindow escapewindow merged commit 08b6d29 into mozilla-extensions:master Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants