gcpinstances.info
gcpinstances.info copied to clipboard
Automate updating the data
every day a minute after midnight + after each push to master.
Also the data.json is now pretty-printed.
Implements #34
Please note that you have to set AWS_KEY_ID and AWS_SECRET_ACCESS_KEY in https://github.com/doitintl/gcpinstances.info project's encrypted secrets. This should be relatively safe as they can't be used in forks.
Also, I haven't really tested the add-and-commit@v9 step so it might need some config tweaking to work.
Thanks.
I would have to comment out the prettifier. The file size after the is much higher and it increase the load time dramatically.
Regarding the environment variable. I'm going to use GitHub oidc provider. So we don't need to use iam keys.
I would have to comment out the prettifier. The file size after the is much higher and it increase the load time dramatically.
Sure, feel free. You can push to my brach or do it any other way you want.
But isn’t the file served compressed with gzip anyway so the size before doesn’t matter?
Regarding the environment variable. I'm going to use GitHub oidc provider. So we don't need to use iam keys.
👌
I checked and data.json is being sent compressed. 700kb before, but below 100kb after compression.