Wykres commitów

40 Commity (417e3fdb20538362267bf7e903c4ddfb172987a6)

Autor SHA1 Wiadomość Data
Ryan Barrett d466886a38
circle never mind continuous deploy for router, we need the limited_domains file
...which isn't in the git repo. next step would be to put it into a circle env var.
2024-06-14 15:35:24 -07:00
Ryan Barrett f1867d9521
circle: deploy router in separate gcloud command because Flex doesn't support --no-cache
https://issuetracker.google.com/issues/347268867
2024-06-14 15:19:50 -07:00
Ryan Barrett f09d8eb0bc
circle: add router to continuous deploy 2024-06-14 13:10:30 -07:00
Ryan Barrett 40574527a2
circle: uninstall dag-json to make sure we use it at head 2024-05-16 13:23:37 -07:00
Ryan Barrett 1382944472
bump circle cache again for dag-json 😠
logs say it cloned at the right commit (snarfed/dag-json@4bfd629763), but then it seemed to still use the earlier cached version. why?!?
2024-05-16 13:22:38 -07:00
Ryan Barrett 0fc971724d
bump circle cache version
trying to fix dag-json CI breakage, https://app.circleci.com/pipelines/github/snarfed/bridgy-fed/2168/workflows/a100d3fc-ed79-42b5-aaa2-4f59472df27c/jobs/2475
2024-05-10 11:11:13 -07:00
Ryan Barrett f02ba80304
switch from gcloud datastore emulator to firestore emulator
...since the datastore emulator evidently doesn't support != query filters: https://github.com/googleapis/python-ndb/issues/962
2024-04-17 11:36:28 -07:00
Ryan Barrett 39cd50965e
circle: deploy queue.yaml 2023-10-31 13:31:58 -07:00
Ryan Barrett 412e569d91
circle config python 3.11 bug fix 2023-09-21 08:54:57 -07:00
Ryan Barrett cb6e96baac
upgrade to 3.11 2023-09-21 08:44:06 -07:00
Ryan Barrett 35ded3514d
noop: circle config comment tweak 2023-09-18 11:17:32 -07:00
Ryan Barrett 6ea7813242
start on new hub service for ATProto and eventually Nostr websockets 2023-09-05 12:06:07 -07:00
Ryan Barrett f03b97e44a
delete XRPC method handlers, they're unused 2023-09-04 08:12:17 -07:00
Ryan Barrett cbce996282
circle: force install arroba at head 2023-08-31 11:33:39 -07:00
Ryan Barrett fc21a710c5
circle config: minor bug fix 2023-07-17 05:34:56 -10:00
Ryan Barrett f62ba74e45
Re-enable CD, ready for another go at the new activity router in prod
Revert "temporarily disable continuous deploy until new activity router is debugged"

This reverts commit 4d2b9b6e24.
2023-07-15 08:03:52 -07:00
Ryan Barrett 4d2b9b6e24
temporarily disable continuous deploy until new activity router is debugged 2023-07-12 08:50:33 -07:00
Ryan Barrett 2493e566ed
CI: catch redefined test methods with flake8 2023-06-20 11:29:30 -07:00
Ryan Barrett 4778024c7e
Circle deploy: add flask_secret_key file
fixes https://console.cloud.google.com/errors/detail/CNHp0eSz84vlyQE;time=P30D?project=bridgy-federated
2023-06-17 12:14:31 -07:00
Ryan Barrett 9bfab5df71
continuous deploy on Circle
fixes #540
2023-06-14 14:07:25 -07:00
Ryan Barrett 92b6c7546e
circle: --use-firestore-in-datastore-mode 2023-06-05 21:13:53 -07:00
Ryan Barrett 4941f14fed
oops, shouldn't have removed bluesky lexicons in 259e982 2023-05-22 13:01:03 -07:00
Ryan Barrett 259e982986
bluesky: remove sync XRPC method implementations
they're moving to arroba
2023-05-22 12:56:21 -07:00
Ryan Barrett 335a46444d
circle: switch back to installing gcloud CLI via apt
mostly reverts 9d735399cb
2023-02-27 14:27:35 -06:00
Ryan Barrett 9d735399cb
circle config: switch to installing gcloud from static archive
temporarily, while GCP's apt repo's PGP key is 500ing

https://packages.cloud.google.com/apt/doc/apt-key.gpg
https://issuetracker.google.com/issues/160194366
https://app.circleci.com/pipelines/github/snarfed/bridgy-fed/837/workflows/47e2aeb4-bf9f-4260-83ea-92310120c5e8/jobs/1099
2023-02-26 21:52:38 -06:00
Ryan Barrett b847e72483
bridgy-at: add lexrpc dep, install atproto lexicons on circle 2023-01-12 19:33:53 -08:00
Ryan Barrett 2e0637b9cd
bump circle cache version 2022-10-22 20:00:55 -07:00
Ryan Barrett a2ea4fc73c
circle: stop trying to cache node, gcloud, and JRE
since they need root, and the Docker image user is circleci :(
2022-10-22 19:57:09 -07:00
Ryan Barrett be1f4bc91d
switch Circle from Python 3.7 to 3.9
...by migrating from the google/cloud-sdk Docker image to cimg/python
2022-10-08 08:29:59 -07:00
Ryan Barrett 47831006f3
fix circle breakage on installing grpcio by upgrading pip 2021-02-24 14:51:02 -08:00
Ryan Barrett 21d60d51f4
circle: clear cache to work around grpcio build failure
https://app.circleci.com/pipelines/github/snarfed/bridgy-fed/20/workflows/3a23b2a8-cce6-41c3-aa13-f54b2c170672/jobs/274
2020-11-14 12:46:42 -08:00
Ryan Barrett 76e7d2263f
circle: fix pip install grpcio breakage
example failure: https://app.circleci.com/pipelines/github/snarfed/oauth-dropins/90/workflows/2fb906b4-78f4-45d7-ad4d-46ed9d28b878/jobs/516

full error log:

```
Running setup.py install for grpcio ... error
  Complete output from command /root/project/local3/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-2x6fpemn/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-tmyhem3j/install-record.txt --single-version-externally-managed --compile --install-headers /root/project/local3/include/site/python3.7/grpcio:
  Cython-generated files are missing...
  We could not find Cython. Setup may take 10-20 minutes.
  WARNING: The wheel package is not available.
...
Traceback (most recent call last):
  File "/tmp/pip-install-mlr1xc5w/grpcio/src/python/grpcio/commands.py", line 264, in build_extensions
    build_ext.build_ext.build_extensions(self)
  File "/usr/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/usr/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/root/project/local3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 200, in build_extension
    if ext._needs_stub:
AttributeError: 'Extension' object has no attribute '_needs_stub'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-mlr1xc5w/grpcio/setup.py", line 465, in <module>
    cmdclass=COMMAND_CLASS,
  File "/root/project/local3/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/root/project/local3/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
    self.run_command('build')
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/root/project/local3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 78, in run
    _build_ext.run(self)
  File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/tmp/pip-install-mlr1xc5w/grpcio/src/python/grpcio/commands.py", line 267, in build_extensions
    support.diagnose_build_ext_error(self, error, formatted_exception)
  File "/tmp/pip-install-mlr1xc5w/grpcio/src/python/grpcio/support.py", line 118, in diagnose_build_ext_error
    diagnostic(build_ext, error)
  File "/tmp/pip-install-mlr1xc5w/grpcio/src/python/grpcio/support.py", line 98, in diagnose_attribute_error
    "We expect a missing `_needs_stub` attribute from older versions of "
commands.CommandError: We expect a missing `_needs_stub` attribute from older versions of setuptools. Consider upgrading setuptools.

----------------------------------------
Command "/root/project/local3/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-mlr1xc5w/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-grvcioh0/install-record.txt --single-version-externally-managed --compile --install-headers /root/project/local3/include/site/python3.7/grpcio" failed with error code 1 in /tmp/pip-install-mlr1xc5w/grpcio/
```
2020-10-14 19:43:55 -07:00
Ryan Barrett 08cf7c1f8c
tell circle to use python 3.7
...since pycrypto doesn't support 3.8 :trollface:
2020-03-03 14:47:57 -08:00
Ryan Barrett 02d36b3b1f
migrate to the app engine standard python 3 runtime!
https://cloud.google.com/appengine/docs/standard/python3/python-differences
https://cloud.google.com/appengine/docs/standard/python/migrate-to-python3/
2019-12-25 22:26:26 -08:00
Ryan Barrett 68d86fce8f
move pip install -e's for oauth-dropins and granary into req't.freeze.txt 2019-10-06 07:35:08 -07:00
Ryan Barrett 27b643355f
make coveralls optional in circle, ie if it fails, don't fail the whole build 2019-08-13 16:15:04 -07:00
Ryan Barrett dfe9479838
yet another circle fix 2018-10-16 11:55:50 -07:00
Ryan Barrett 6503045225
fix flaky test failure from importing webutil.testutil_appengine
eg https://circleci.com/gh/snarfed/bridgy-fed/164
```
testutil_appengine (unittest.loader.ModuleImportFailure) ... ERROR
...
======================================================================
ERROR: testutil_appengine (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: testutil_appengine
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
    __import__(name)
  File "/tmp/oauth-dropins/oauth_dropins/webutil/testutil_appengine.py", line 4, in <module>
    from google.appengine.datastore import datastore_stub_util
  File "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/datastore/datastore_stub_util.py", line 69, in <module>
    from google.appengine.datastore import datastore_stub_index
  File "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/datastore/datastore_stub_index.py", line 45, in <module>
    import yaml
ImportError: No module named yaml
```
2018-10-16 11:44:54 -07:00
Ryan Barrett a0f6f669b7
circle: omit tests, etc from coverage 2018-10-16 11:00:40 -07:00
Ryan Barrett 2854b08862 migrate to circleci 2.0
https://circleci.com/docs/2.0/
2018-09-20 18:21:06 -07:00