-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Auto test the PKGBUILD before push when there's no AUR dependencies #30
Comments
TODO: Create a api as the callback function for build test to call the push workflow. Details: Write a script for a cloudflare worker. It accepts the following parameters: pkgbase, pkgver, nonce and signature. Then it downloads a yaml file via https://raw.githubusercontent.com/arch4edu/aur-auto-update/main/config/{pkgbase}.yaml. Then the api key is used to validate the signature. If the calculated signature matches the one signature, |
TODO: Create a workflow to perform a basic build test Details: It accepts the following parameters: pkgbase, pkgver. Hint: |
TODO: Create a script and a workflow to push a version of a package to AUR. Details: For the script, it has 3 parameters: pkgbase, pkgver, and force. For the script, it clones the git repo on AUR. For the workflow, it verifies the signature using the way described in the callback api. |
TODO: Test configuration Details:
test:
enable: true This one uses the default build test workflow.
test:
enable: true
url: https://your.test.url.com
test:
enable: true
url: https://your.test.url.com
key: example-api-key You need to call the callback api and create the signature with
test:
enable: true
url: |
jWyfbrKLab8ni0lyQnjGvwwfPzsJ51vJ+FMlu7p9r+PUipgu1ZJ7Qorx0F4RuHcGFXS6W3QYFUL7
...
tr94uhoFXQMGIo3I1yI4EwPTxtR4mC43/h1eoIGv3OyD5ZH3kHZ0RADt+XynESZ9mOMgqGD3Y+4=
key: |
jWyfbrKLab8ni0lyQnjGvwwfPzsJ51vJ+FMlu7p9r+PUipgu1ZJ7Qorx0F4RuHcGFXS6W3QYFUL7
...
tr94uhoFXQMGIo3I1yI4EwPTxtR4mC43/h1eoIGv3OyD5ZH3kHZ0RADt+XynESZ9mOMgqGD3Y+4= |
Closed since the build test is already implemented. |
https://lists.archlinux.org/archives/list/[email protected]/thread/FFNIQ4CQ64OSRCYZRDEJJW2QBOGXEO4X/
For those do have AUR dependencies, the maintainers can set a custom url to perform the tests themselves and use the callback api to push the changes.
The text was updated successfully, but these errors were encountered: