Mercurial > piecrust2
view tests/cli/test_publish.yaml @ 1188:a7c43131d871
bake: Fix file write flushing problem with Python 3.8+
Writing the cache files fails in Python 3.8 because it looks like flushing
behaviour has changed. We need to explicitly flush. And even then, in very
rare occurrences, it looks like it can still run into racing conditions,
so we do a very hacky and ugly "retry" loop when fetching cached data :(
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 15 Jun 2021 22:36:23 -0700 |
parents | c78743b11c75 |
children |
line wrap: on
line source
--- config: publish: test_shell: type: shell command: this_command_doesnt_exist args: publish --preview test_shell --- config: publish: test_rsync: type: rsync destination: some_place_that_doesnt_exist args: publish --preview test_rsync --- config: publish: test_sftp: type: sftp host: some_host_that_doesnt_exist path: ~/some/path username: fake password: fake args: publish --preview test_sftp