Closed Atry closed 2 years ago
@Atry has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@Atry has updated the pull request. You must reimport the pull request before landing.
@Atry has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@Atry has updated the pull request. You must reimport the pull request before landing.
@Atry has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@Atry has updated the pull request. You must reimport the pull request before landing.
@Atry has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@Atry has updated the pull request. You must reimport the pull request before landing.
@Atry has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@Atry has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
This PR creates a
upload-deb
GitHub Action job, which downloadsbundle.deb
built from previous GitHub Action job, then uploadbundle.deb
to S3 with the help of s3fs. The indices will be updated with reprepro. The suite/codename to upload will be created if it does not exist, then the script will upload the deb package to the suite/codename.gpg-key.kms-ciphertext is the encrypted GPG private key, copied from https://github.com/hhvm/packaging/blob/master/aws/gpg-key.kms-ciphertext
Test Plan:
Another branch
upload-deb-to-s3fs-test
is created for testing. It removes conditions in the GitHub Actions and it unconditional uploads a deb package.upload-deb-to-s3fs-test
and this PRThen the test deb package can be installed in a fresh Ubuntu, by running the following command as root:
Output: