renovate[bot] and Wolfgang Walther
80783a7ee8
chore(deps): update actions/checkout action to v4.1.6
2024-05-19 21:24:42 +02:00
Laurence Isla and Wolfgang Walther
ea4d1596b7
ci: fix release not executing when skipping CI for docs and tests
2024-05-17 08:09:19 +02:00
renovate[bot] and Wolfgang Walther
9d763aef00
chore(deps): update codecov/codecov-action action to v4.4.0
2024-05-15 09:20:39 +02:00
Wolfgang Walther
b8fe512def
ci: Avoid trying to upload loadtest reports for tag pipelines
...
In this case the loadtest doesn't run anymore, so the job would fail.
2024-05-12 15:28:13 +02:00
Wolfgang Walther
271b3b273d
ci: Disable tagging releases in forks
2024-05-12 15:10:28 +02:00
Wolfgang Walther
5c040e74f5
ci: Prevent running check, docs and test suites on tags
...
This doesn't make sense, because each tag is only pushed when those
pipelines have already passed. Thus, we can save time and avoid wasting
resources and don't run those again.
2024-05-12 15:01:20 +02:00
Wolfgang Walther
4a3fdc175c
ci: Skip release jobs on outdated tags
...
This happens a commit is pushed to main while the pipelines have not
finished for the previous commit. In this case the devel-tag pipelines
will run concurrently, leading to unpredictable results for the devel
release.
2024-05-12 14:58:27 +02:00
Wolfgang Walther
07222cff7b
chore: Restrict macos to v12
2024-05-10 08:19:29 +02:00
Wolfgang Walther
d03b321659
ci: Actually pass GHC_VERSION to arm build script
2024-05-09 21:58:37 +02:00
Wolfgang Walther
5580fe0040
ci: Make arm scripts fail on error
2024-05-09 21:46:10 +02:00
Wolfgang Walther
7d713b8c53
ci: Tag arm docker image properly for releases
2024-05-09 21:46:10 +02:00
Wolfgang Walther
2cb45bd5f8
ci: Extract changelog properly for releases
2024-05-09 21:46:10 +02:00
Wolfgang Walther
a427fb67f6
ci: Fetch tags before checking whether tag exists
2024-05-09 14:53:38 +02:00
Wolfgang Walther
3afa5f6a36
ci: Move docker-hub-readme.md to base folder
...
This is not related to nix tooling anymore, because a github action
without any nix tooling is updating this now.
2024-05-09 14:35:52 +02:00
renovate[bot] and Wolfgang Walther
fdcadb3d53
chore(deps): update actions/checkout action to v4.1.5
2024-05-09 14:08:51 +02:00
Wolfgang Walther and Wolfgang Walther
1374178f27
ci: Improve performance for nix jobs in CI
...
Defaulting to max-jobs = auto should improve build times by using more
cores.
Setting always-allow-substitutes to true should cause all nix
derivations to be cached on cachix, which should improve performance of
the MacOS job dramatically, when no rebuilds need to happen.
2024-05-07 14:42:12 +02:00
Wolfgang Walther
cb6151eb1b
ci: Make artifact-from-cirrus action succeed when cirrus job doesn't start up in PR
2024-05-07 08:29:31 +02:00
Wolfgang Walther
b006016d07
ci: Make "release / tag" job detect existing tags
...
The release / tag job has logic to decide whether to push a new tag on
stable branches, which depends on the all the tags being fetched. The
checkout action doesn't do that by default, so enable that.
2024-05-07 08:09:00 +02:00
renovate[bot] and Wolfgang Walther
cabe744f01
chore(deps): update ubuntu docker tag to v24
2024-05-05 18:23:53 +02:00
Wolfgang Walther
463dfb552d
chore(deps): update actions/checkout hash for release/prepare job
...
Accidentally committed an outdated version, this aligns it with all the
other references to the same action.
2024-05-05 17:48:44 +02:00
Wolfgang Walther
a57d12b102
ci: Use the new DOCKER_ vars for docker-arm job
2024-05-05 17:11:22 +02:00
Wolfgang Walther
d9ba9a8208
ci: Avoid devel release failure when no assets to clean up exist
2024-05-05 14:35:40 +02:00
Wolfgang Walther
8433f9812b
ci: Replace assets of existing devel release properly
2024-05-05 13:38:58 +02:00
Wolfgang Walther
c67f1c398c
ci: Fix docker release job after 2f98d837
2024-05-05 13:33:48 +02:00
Wolfgang Walther
2f98d837ff
ci: Push docker hub description automatically on main branch
2024-05-04 21:55:52 +02:00
Wolfgang Walther
eec35d4569
ci: Avoid recreating devel release
...
Instead, the existing release is edited, which avoids notifications
for pre-releases.
2024-05-04 21:54:46 +02:00
Wolfgang Walther
9fe90bf9a8
ci: Fix pushing of devel-arm docker tag
2024-05-04 21:53:36 +02:00
Wolfgang Walther
58d8133454
ci: Enable docker push for releases
2024-05-04 21:14:40 +02:00
Wolfgang Walther
fe0f2f708a
ci: Use "devel" as the pre-release name instead of the commit title
2024-05-04 21:14:23 +02:00
Wolfgang Walther and Wolfgang Walther
dd8d51ab71
ci: Automate patch releases and pre-releases
...
This work by automatically pushing a new tag on main and release
branches after each commit. The tag will be "devel" on main and the
version from postgrest.cabal for release branches. The release
workflow then runs as a tag pipeline, making the actual release.
For release branches, the tag will only be created if a tag for this
version doesn't exist, yet. This means to actually make a new patch
release, we still need to bump the version in postgrest.cabal. We
can automate this later as part of our backport-bot.
Resolves #2006
Resolves #2997
2024-05-04 20:42:45 +02:00
Wolfgang Walther
1ca2d1f8be
ci: Refactor get_cirrusci_freebsd script to GitHub action
...
This should make it more reliable and also easier to re-use, if we need
to.
Resolves #2555
2024-05-04 14:56:57 +02:00
renovate[bot] and Wolfgang Walther
5c29742d7f
chore(deps): update nixbuild/nix-quick-install-action action to v28
2024-05-04 13:35:13 +02:00
renovate[bot] and Wolfgang Walther
cc7165ca10
chore(deps): update codecov/codecov-action action to v4.3.1
2024-05-04 12:21:53 +02:00
renovate[bot] and Wolfgang Walther
277342bf8c
chore(deps): update ubuntu:jammy docker digest to a6d2b38
2024-05-04 12:21:37 +02:00
Laurence Isla and GitHub
40bd9a7769
ci: DRY the cleanup job for ARM servers
2024-04-29 12:20:00 -05:00
renovate[bot] and Wolfgang Walther
5e41121551
chore(deps): update ubuntu:jammy docker digest to 6d7b5d3
2024-04-26 08:34:18 +02:00
renovate[bot] and Wolfgang Walther
46d8dfde42
chore(deps): update actions/checkout action to v4.1.4
2024-04-26 08:31:33 +02:00
renovate[bot] and Wolfgang Walther
359a14533b
chore(deps): update actions/download-artifact action to v4.1.7
2024-04-24 20:53:56 +02:00
Laurence Isla and GitHub
e788776ec3
ci: clean ARM server even when previous steps or jobs fail
2024-04-23 16:34:55 -05:00
renovate[bot] and Wolfgang Walther
bddfa2782d
chore(deps): update actions/checkout action to v4.1.3
2024-04-22 21:30:23 +02:00
Wolfgang Walther
6858693291
ci: Be explicit about the version of linux and windows runner images
...
Using the -latest tag is potentially prone to errors, because an update of the tag
could break our CI. This recently happend with macos-latest, which we downgraded
to macos-12 earlier.
Using an explicit version reference makes this problem much less likely - in fact
renovate will pick up new versions once they exist and will suggest updates for it.
Thus, we will see the failures in a related PR instead of randomly everywhere.
2024-04-22 21:20:30 +02:00
renovate[bot] and Wolfgang Walther
dcb9f92b80
chore(deps): update actions/upload-artifact action to v4.3.3
2024-04-22 21:14:58 +02:00
renovate[bot] and Wolfgang Walther
6a38cc098d
chore(deps): update actions/download-artifact action to v4.1.6
2024-04-22 21:14:44 +02:00
Wolfgang Walther and Wolfgang Walther
81ceac8ba3
ci: revert to macos-12
...
GitHub Actions updated the latest macos image to macos-14 [1], which made both
of our macos build jobs fail.
This reverts to macos-12, which should fix CI for the moment. We can then look
into migrating to macos-14 explicitly.
[1]: https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/
2024-04-22 21:11:03 +02:00
renovate[bot] and Wolfgang Walther
de788c9832
chore(deps): update ubuntu docker tag to v22
2024-04-20 12:39:22 +02:00
Wolfgang Walther
07dc37e66f
chore: limit docutils to <0.21.0
...
sphinx-rtd-theme currently does not support docutils 0.21.x.
This restriction can be lifted once the upstream issue has been resolved:
https://github.com/readthedocs/sphinx_rtd_theme/issues/1557
2024-04-20 12:38:24 +02:00
renovate[bot] and Wolfgang Walther
c2994fb0b1
chore(deps): update ubuntu:focal docker digest to 71b82b8
2024-04-20 12:33:30 +02:00
renovate[bot] and Wolfgang Walther
6863fe1e26
chore(deps): update actions/download-artifact action to v4.1.5
2024-04-20 12:33:06 +02:00
renovate[bot] and Wolfgang Walther
dc6399abad
chore(deps): update actions/upload-artifact action to v4.3.2
2024-04-20 12:32:55 +02:00
renovate[bot] and Wolfgang Walther
5880e62d7a
chore(deps): update codecov/codecov-action action to v4.3.0
2024-04-10 09:10:27 +02:00