Skip to content

Tags: Khan/jenkins-jobs

Tags

phabricator/diff/293984

build current sqlite with go services

Summary:
run_sync is being broken apart into several smaller scripts,
many of which are in golang. This is an update to the build_current_sqlite
script to make sure of these smaller scripts.

https://khanacademy.atlassian.net/browse/INFRA-7279

Test Plan: run it and hope

Reviewers: csilvers

Differential Revision: https://phabricator.khanacademy.org/D74473

phabricator/diff/293980

build current sqlite with go services

Summary:
run_sync is being broken apart into several smaller scripts,
many of which are in golang. This is an update to the build_current_sqlite
script to make sure of these smaller scripts.

https://khanacademy.atlassian.net/browse/INFRA-7279

Test Plan: run it and hope

Reviewers: csilvers

Subscribers:

phabricator/base/293984

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Upload the go-style gateway config to gcs when we upload the js-style…

… one. (#21)

## Summary:
graphql-gateway-2 (aka go-go-graphql-gateway) uses a different style
of config file than graphql-gateway (aka apollo).  We need to upload
them both.

I protect this upload in an "if exists" check so things don't suddenly
start to break when we move to only having one go gateway again.

Issue: https://khanacademy.atlassian.net/browse/INFRA-7074

## Test plan:
Fingers crossed

Author: csilvers

Reviewers: MiguelCastillo, csilvers, dnerdy

Required Reviewers:

Approved By: MiguelCastillo

Checks:

Pull Request URL: #21

phabricator/base/293980

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Upload the go-style gateway config to gcs when we upload the js-style…

… one. (#21)

## Summary:
graphql-gateway-2 (aka go-go-graphql-gateway) uses a different style
of config file than graphql-gateway (aka apollo).  We need to upload
them both.

I protect this upload in an "if exists" check so things don't suddenly
start to break when we move to only having one go gateway again.

Issue: https://khanacademy.atlassian.net/browse/INFRA-7074

## Test plan:
Fingers crossed

Author: csilvers

Reviewers: MiguelCastillo, csilvers, dnerdy

Required Reviewers:

Approved By: MiguelCastillo

Checks:

Pull Request URL: #21

phabricator/diff/293380

Update caniuse-lite in *every* yarn.lock file, not just the top-level…

… one.

Nowadays we have lots of yarn.lock files.  They probably don't all use
caniuse-lite, but we might as well keep them all up to date if we're
keeping any of them up-to-date.

Issue: https://khanacademy.slack.com/archives/C02NMB1R5/p1631138330107700

Test plan:
Fingers crossed, mostly

phabricator/diff/291699

Run upload_graphql_safelist.py from build-webapp.groovy

Summary:
We have been calling 'upload_graphql_safelist.main()' from deploy_to_gcs.py, but this only gets run whenever the 'static' service is deployed.  upload_graphql_safelist.py though uploads GraphQL queries from things other than the static service.  Additional, D73825 will be removing the parts of upload_graphql_safelist.py that upload queries from the static service meaning that it will only be uploading non-static service queries.  Because of this, it doesn't make sense to call 'upload_graphql_safelist.main()' as part of deploy_to_gcs.py.

This diff updates build-webapp.groovy to run upload_graphql_safelist.py whenever a non-static service is deployed.  This is still not quite the exact behavior we want since upload_graphql_safelist.py uploads queries for all non-static services regardless of what's being uploaded, but it's a step in that direction.

Test Plan:
- do a deploy
- check the logs for 'Uploading GraphQL queries to the safelist.'

Reviewers: #frontend-infrastructure, benkraft

Subscribers: jeremygervais, csilvers

Differential Revision: https://phabricator.khanacademy.org/D73835

phabricator/diff/291648

Run upload_graphql_safelist.py from build-webapp.groovy

Summary:
We have been calling 'upload_graphql_safelist.main()' from deploy_to_gcs.py, but this only gets run whenever the 'static' service is deployed.  upload_graphql_safelist.py though uploads GraphQL queries from things other than the static service.  Additional, D73825 will be removing the parts of upload_graphql_safelist.py that upload queries from the static service meaning that it will only be uploading non-static service queries.  Because of this, it doesn't make sense to call 'upload_graphql_safelist.main()' as part of deploy_to_gcs.py.

This diff updates build-webapp.groovy to run upload_graphql_safelist.py whenever a non-static service is deployed.  This is still not quite the exact behavior we want since upload_graphql_safelist.py uploads queries for all non-static services regardless of what's being uploaded, but it's a step in that direction.

Test Plan:
- do a deploy
- check the logs for 'Uploading GraphQL queries to the safelist.'

Reviewers: #fe-infra, benkraft

Subscribers: csilvers, jeremygervais

phabricator/base/293380

Allow bypassing the validation check.

Auditors: benkraft

Test plan:
groovy jobs/build-publish-image.groovy

phabricator/base/291699

Allow bypassing the validation check.

Auditors: benkraft

Test plan:
groovy jobs/build-publish-image.groovy

phabricator/base/291648

Allow bypassing the validation check.

Auditors: benkraft

Test plan:
groovy jobs/build-publish-image.groovy