-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Automatic browsers and drivers download #7
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
Conversation
Signed-off-by: Evgeniy Dikevich <[email protected]>
|
My take on your questions:
|
|
If we could figure out the easiest way to get AWS credentials inside of an Earthly build, then we could opt to use S3 instead of storing things in Git. That would solve the (very valid) concern about the size of this repository. If we want to keep things this way, we will eventually need to add a cleanup workflow, because GitHub does have a hard limit on repository size. |
Signed-off-by: Evgeniy Dikevich <[email protected]>
Signed-off-by: Evgeniy Dikevich <[email protected]>
Looks like we can grand access to AWS S3 bucket from specific public IP: https://repost.aws/knowledge-center/block-s3-traffic-vpc-ip so we can try to allow Hetzner machine public IP and check |
Signed-off-by: Evgeniy Dikevich <[email protected]>
Signed-off-by: Evgeniy Dikevich <[email protected]>
Signed-off-by: Evgeniy Dikevich <[email protected]>
|
Instead of repo we will use AWS S3 bucket. Everything else remained the same. |
This PR introduces a GitHub Actions workflow for automatically downloading deb packages for browsers and drivers with the amd64 architecture (may add aarch64 support for browsers that support this architecture).
The pipeline can be launched manually and on a schedule (every Monday at 10 AM UTC time).
When starting manually, you can specify the browser version you want to download or leave the field empty to download the latest version.
After the pipeline is completed, he will create a branch in the repository of the form chrome-xxx.xx.xxx which will contain zip archives with deb packages of the browser and driver:
At the moment, the workflow does not support automatic cleanup, so from time to time we will have to manually delete unused branches.
It is also possible to store zip archives as a releases.
This PR is open for discussion on several points:
Related issue: #1
Related PR: input-output-hk/catalyst-ci#458