15 Commits

Author SHA1 Message Date
Vitor Guidi
af69605ef6
Bumping to Python 3.11 (#4025) 2024-08-11 21:03:30 -03:00
Oliver Chang
978b8babc0
Use E2 instances for cloud build. (#3268)
As part of trigger update
2023-08-04 11:03:17 +10:00
jonathanmetzman
9eca256eb8
Downgrade to Python3.7 (#3264)
We don't have the time to monitor this, let's downgrade for now to
unblock deploys.
2023-08-03 08:18:24 -04:00
jonathanmetzman
95f2bee47e
Upgrade to Python3.11 (#3229)
1. Change Docker images to use Python3
2. Change local scripts to support Python3
3. Fix installation of Chromium dependencies
4. Remove profiling code, the profiling package only supports up to
Python3.9
5. Recompile all protos and change some uworker serialization code that
has to work differently due to some changes in dependencies
6. Add many no-member pylint exemptions since pylint is now
misunderstanding proto members.
7. Change platforms for binary downloads during deploy
8. Upgrade packages that no longer work or have to be upgraded by
because of depdency/dependent upgrades
[Used everywhere]
a. grpcio
b. grpcio-tools
c. protobuf
[development]
d. parameterized
e. WebTest
[bots]
f. google-cloud-batch
g. google-cloud-core
h. google-cloud-datastore
i. google-cloud-logging
j. google-cloud-monitoring
k. google-cloud-ndb
l. google-cloud-storage
m. google-api-python-client
n. google-auth
o. google-api-core
[appengine]
p. cryptography
q. firebase-admin
r. PyJWT

9. Remove no longer used pip packages:
a. twisted
b. lxml
2023-07-24 14:31:45 -04:00
Oliver Chang
0a65d4675d
Many CI fixes. (#2428)
Set Python3.7 for pipenv. python3.8 is indirectly installed by another package in the new CI
image and used by default otherwise.

Also remove CLOUDSDK_PYTHON env var which was setting it to python2.

Increase flaky afl test timeout.
2021-08-24 11:43:13 +10:00
Oliver Chang
7a23a93adb
Restore lint step to gcbrun. (#1880) 2020-07-06 10:28:13 +10:00
Abhishek Arya
9c2065a7f7
Lower cpu for CI 2020-05-22 15:31:58 -07:00
Abhishek Arya
83f51229c7
Python 2->3 fixes (#1705)
* Python 2->3 fixes

- Use latest python 3 images in clusters.yaml
- Use python 3 by default, remove python 2 in install_deps_linux.bash
- Remove Go in prerequisites.
- Change python 2 to 3 in prerequisites.
- Fix reproduce script to not need PY3.
- run_server3->run_server.
- Remove python 2 CI.
2020-04-02 16:37:00 -07:00
Abhishek Arya
5369467c48
Increase build timeout to account for Go deployment 2019-04-01 10:55:12 -07:00
Oliver Chang
b2116f13b8
Don't automatically create buckets when running integration tests. (#169)
Require env vars instead:
- TEST_BLOBS_BUCKET
- TEST_BUCKET
- TEST_CORPUS_BUCKET
- TEST_QUARANTINE_BUCKET
- TEST_BACKUP_BUCKET
- TEST_COVERAGE_BUCKET

Also make it clearer which read-only test buckets we depend on in test, and fix corpus pruning task test to use own backup bucket rather than a global one.
2019-02-13 11:25:37 +11:00
Ammar Askar
77225c2bf7 Run the linter on CloudBuild CI. (#141)
Github integration with CloudBuild does not copy over the
.git folder, thus to compute the diff we have to perform
a git clone as the first step.

Fixes #127
2019-02-11 14:37:12 +11:00
Abhishek Arya
46df585230 Fix copyright year. (#48) 2019-02-01 14:54:47 -08:00
Oliver Chang
e9538a5352 Remove dev appserver key env var from cloudbuild.yaml. (#30) 2019-01-31 10:41:58 -08:00
Oliver Chang
4762e61c7f Make cloud builder work. (#20) 2019-01-30 20:22:50 -08:00
Oliver Chang
fb6eb30d13 Add a cloud build configuration. (#17) 2019-01-30 16:47:51 -08:00