10000 Split build jobs, add S3 push by pww217 · Pull Request #307 · pyscript/pyscript · GitHub
[go: up one dir, main page]

Skip to content

Split build jobs, add S3 push #307

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

Merged
merged 14 commits into from
May 9, 2022

Conversation

pww217
Copy link
Contributor
@pww217 pww217 commented May 9, 2022

This splits build jobs into unstable - tracks main branch, tests all code on PR in pyscriptjs/

and alpha - which deploys a tagged/release build (convention tbd).

It also adds a step to configure AWS credentials (limited in scope to modify S3 bucket only) and push to the appropriate keys on that bucket. This uses an IAM role not full credentials to ensure that the runner (which is owned by Github) only has limited and temporary (short-lived token-based) access to AWS.

Anything that has to do with AWS auth is obscured or handled on the backend. I don't expect there should be any security concerns here. I designed it to be as secure as possible, but please do point out any flaws.

Updated: Last commit attempted to fix version pinning. Will test again.

@pww217 pww217 added the tag: tooling Related to the configuration of infrastructure and tooling label May 9, 2022
@pww217 pww217 force-pushed the CORE-66/push-alpha-and-unstable-to-s3-static branch from 9bb647b to d3b398e Compare May 9, 2022 17:44
@pww217 pww217 force-pushed the CORE-66/push-alpha-and-unstable-to-s3-static branch from 2dc1616 to d53d88e Compare May 9, 2022 17:54
@pww217 pww217 requested review from fpliger and mattkram May 9, 2022 18:05
Copy link
Contributor
@fpliger fpliger left a comment

Choose a reason for hiding this comment

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

overall lgtm, thanks @pww217 ! I think @mattkram has some reservations about linting in a different PR so I'll let him comment on that.

Copy link
Contributor
@mattkram mattkram left a comment

Choose a reason for hiding this comment

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

LGTM

@pww217
Copy link
Contributor Author
pww217 commented May 9, 2022

Alright gonna merge and make sure these all work 🤞🏼

It's not the live site right now so no harm if things go awry.

@pww217 pww217 merged commit bc4581d into main May 9, 2022
@pww217 pww217 deleted the CORE-66/push-alpha-and-unstable-to-s3-static branch May 9, 2022 22:28
KOSIDOCS pushed a commit to KOSIDOCS/pyscript that referenced this pull request May 10, 2022
* split files, add s3 push

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* dedent

* indent

* alpha directory

* remove on: PR from alpha

* workflow names

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove js-lint.yml (replaced by pre-commit); add sync-examples.yml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update sync-examples.yml

* change unstable to latest, master -> main

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: tooling Related to the configuration of infrastructure and tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0