Wolfgang Walther
cf4aa20d7c
ci: Extract changelog properly for releases
2024-05-09 21:42:17 +02:00
Wolfgang Walther
a0d3ebf590
ci: Fetch tags before checking whether tag exists
2024-05-09 14:53:16 +02:00
Wolfgang Walther and Wolfgang Walther
ac217c120f
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.
This is a back-port of the following commits:
- dd8d51ab
- fe0f2f70
- 58d81334
- 9fe90bf9
- c67f1c39
- 8433f981
- d9ba9a82
- a57d12b1
- b006016d
2024-05-09 14:08:42 +02:00
renovate[bot] and Wolfgang Walther
961db7c7ef
chore(deps): update actions/checkout action to v4.1.5
2024-05-09 13:37:11 +02:00
Wolfgang Walther
e520f32297
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 15:02:25 +02:00
renovate[bot] and Wolfgang Walther
19dcf7b344
chore(deps): update all dependencies
2024-05-04 12:20:53 +02:00
renovate[bot] and Wolfgang Walther
a2b7b0e69d
chore(deps): update all dependencies
2024-04-26 08:31:43 +02:00
renovate[bot] and Wolfgang Walther
e01f08392f
chore(deps): update actions/download-artifact action to v4.1.7
2024-04-24 20:53:27 +02:00
renovate[bot] and Wolfgang Walther
e6282d88d8
chore(deps): update all dependencies
2024-04-23 08:07:48 +02:00
Wolfgang Walther
5cab03ad5d
ci: Use explicit runner image versions
2024-04-22 21:25:54 +02:00
renovate[bot] and Wolfgang Walther
b71739ee50
chore(deps): update all dependencies
2024-04-20 12:45:26 +02:00
renovate[bot] and Wolfgang Walther
0d60a79532
chore(deps): update codecov/codecov-action action to v4.2.0
2024-04-04 07:17:34 +02:00
renovate[bot] and Wolfgang Walther
d38e5cdb02
chore(deps): update codecov/codecov-action action to v4.1.1
2024-03-26 19:56:25 +01:00
renovate[bot] and Wolfgang Walther
908cdf0b6f
chore(deps): update actions/cache action to v4.0.2
2024-03-19 21:59:00 +01:00
renovate[bot] and Wolfgang Walther
e60bae8e32
chore(deps): update cachix/install-nix-action action to v26
2024-03-08 16:29:32 +01:00
renovate[bot] and Wolfgang Walther
dcc6772ce1
chore(deps): update actions/download-artifact action to v4.1.4
2024-03-02 12:10:17 +01:00
Wolfgang Walther
91ffee1d2e
chore: Add full semver comment to used actions
2024-03-01 08:58:33 +01:00
renovate[bot] and Wolfgang Walther
1b52ce1958
chore(deps): update actions/cache digest to ab5e6d0
2024-03-01 08:12:03 +01:00
renovate[bot] and Wolfgang Walther
b9186b6d9a
chore(deps): update all dependencies
2024-02-27 09:10:29 +01:00
Wolfgang Walther
b663a9aa37
ci: Use actions/download-artifact instead of dawidd6/action-download-artifact
2024-02-24 21:58:19 +01:00
renovate[bot] and Wolfgang Walther
4d874fb725
chore(deps): pin dependencies
2024-02-24 21:55:30 +01:00
renovate[bot] and Wolfgang Walther
68e145550e
chore(deps): update all dependencies
2024-02-24 20:38:54 +01:00
Wolfgang Walther
3406e62a77
ci: Remove nix actions cache and prepopulate job
...
The nix actions cache currently leads to repeated "no space left on
devices" errors for jobs in CI.
The prepopulate job is useless without the nix actions cache, so it
will go away at the same time.
2024-02-24 19:52:25 +01:00
Wolfgang Walther
3e5e8a22e4
ci: Switch action-get-latest-tag to github-action-get-previous-tag
...
The former is not maintained anymore and produces deprecation warnings in CI.
2024-02-24 19:04:23 +01:00
Wolfgang Walther
414a0daca1
chore(deps): update codecov/codecov-action action to v4
2024-02-24 18:43:11 +01:00
Wolfgang Walther
02d8990ce2
ci: Change names for release branches from rel-MAJOR.MINOR to vMAJOR
...
This naming scheme gives us the best support for readthedocs.
References #2814
2024-02-17 17:46:11 +01:00
Wolfgang Walther
06821fdbca
ci: Refactor conditions to check for branch events
2024-02-17 17:45:44 +01:00
Wolfgang Walther
b77a08ff10
ci: Add freebsd executable to releases
...
This was temporarily disabled, because of timeouts in Cirrus. This seems to work well again.
2024-02-17 15:24:05 +01:00
Wolfgang Walther
b9d46812f8
Merge branch 'docs/v12.0' into rel-12.0
2024-02-17 13:46:34 +01:00
Wolfgang Walther
8aa8e682a2
chore: Prepare merge of postgrest-docs into postgrest main repo
...
This avoids some merge conflicts to allow git blame to detect renames properly.
2024-02-17 13:43:11 +01:00
dependabot[bot] and Laurence Isla
fcc330311f
build(deps): bump actions/upload-artifact from 3 to 4 ( #3123 )
2023-12-20 16:29:37 -05:00
dependabot[bot] and Laurence Isla
e557161b84
build(deps): bump dawidd6/action-download-artifact from 2 to 3 ( #3122 )
2023-12-20 16:29:37 -05:00
dependabot[bot] and Laurence Isla
962268fd6b
build(deps): bump actions/download-artifact from 3 to 4 ( #3121 )
2023-12-20 16:29:37 -05:00
Andrei Dziahel and Laurence Isla
ceda77c5de
ci: cancel in-progress loadtests for PRs as well
2023-12-12 18:46:40 -05:00
Andrei Dziahel and Laurence Isla
a6e4a0078b
ci: test only head of branch
2023-12-12 18:46:40 -05:00
Andrei Dziahel and Laurence Isla
c92f16a2cb
ci: similar jobs use a single cache for Nix stores
...
Jobs that use the setup-nix action will share a single cache, which is created by a previous warm up Job.
2023-12-12 18:46:40 -05:00
Andrei Dziahel and Steve Chavez
31ce39ba36
ci: cabal+GHC: tweak caching
...
Makes it to cache only relevant directories, adds `dist-newstyle` to prevent needless rebuilding even harder and shortens cache key name by supplying `hashFiles`multiple arguments
2023-11-28 12:48:57 -05:00
Andrei Dziahel and Steve Chavez
a72241ad4e
ci: fixes job caches not producing after recent cabal upgrade
...
Recent cabal adopted XDG guidelines and stores data
across multiple directories under $HOME.
Creating ~/.cabal manually returns old behavior and allows caching single directory again.
2023-11-28 11:52:52 -05:00
Andrei Dziahel and GitHub
abcb21c69a
ci: cache Nix store with cache-nix-action ( #2992 )
...
* ci: try nix-community/cache-nix-action
* ci: add cache-id param to setup-nix action
* ci: tidy up cache keys for non-nix jobs
* ci: merge-nix-caches-linux job
* ci: merge caches other way around
* ci: reduce number of caches
Should prevent disk overflow
* ci: change cache id prefix for merge
* ci: comment out cache merging job
* ci: revert cache id prefix
* ci: setup-nix: use latest cache-nix-action
Among others, makes action logs look more tidy (see https://github.com/nix-community/cache-nix-action/commit/17d19d3d8be918757589635bc1a6830be0b129d2 )
* ci: use test-pg cache key for loadtest
2023-11-21 18:56:23 -05:00
Laurence Isla and Steve Chavez
90e3a5e29f
Add test option for PostgreSQL 16
2023-09-21 15:38:46 -03:00
Andrei Dziahel and Steve Chavez
add4dfeed5
ci: loadtest PRs against latest releases
...
Leveraging the previously-improved postgrest-loadtest-against
introduces loadtesting PRS against latest release as well.
2023-09-21 14:08:53 -03:00
Andrei Dziahel and Steve Chavez
c3169b7dc2
ci: less strict conditions for loadtest inmain
2023-09-15 16:35:20 -03:00
Andrei Dziahel and Steve Chavez
30474c424c
ci: loadtest commits to main against latest release
...
Introduces loadtest job for main branch
that runs loadtest against latest release
2023-09-14 17:10:48 -03:00
dependabot[bot] and GitHub
50c87fec88
Bump actions/checkout from 3 to 4 ( #678 )
2023-09-11 18:33:29 -03:00
dependabot[bot] and GitHub
2358b6670f
build(deps): bump actions/checkout from 3 to 4 ( #2936 )
2023-09-11 02:34:35 -03:00
dependabot[bot] and Steve Chavez
46eae105b7
Bump cachix/install-nix-action from 22 to 23
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 17:14:42 -03:00
dependabot[bot] and GitHub
0dc67bed0b
build(deps): bump LouisBrunner/checks-action from 1.6.1 to 1.6.2 ( #2883 )
2023-07-31 00:17:36 -05:00
Laurence Isla and GitHub
83cf15fb7e
ci: specify GHC_VERSION for ARM build on CI config
...
* change cabal version from recommended to latest
2023-06-21 16:54:15 -05:00
steve-chavez
d9261fa674
ci: check against GHC 9.0.2
2023-06-21 16:22:30 -05:00
dependabot[bot] and GitHub
ab986b77d8
Bump cachix/install-nix-action from 21 to 22 ( #648 )
2023-06-19 10:22:57 -05:00