Commit graph

48 commits

Author SHA1 Message Date
Akhil Narang
fadbddff2e
refactor(ci): don't fetch actions from develop
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-16 16:10:46 +05:30
David Arnold
7748910ddc
ci: chore revert using forked bench (#28584)
* ci: chore revert using branched bench

merge after is released: https://github.com/frappe/bench/pull/1600

* ci: name downstream job
2024-11-28 09:32:12 +01:00
David Arnold
762a8130e2
ci: finish off introduction of #28604 (#28605)
* ci: finish off introduction of #28604

* ci: add tmate session debug to ui tests
2024-11-27 21:43:24 +01:00
David Arnold
9ed08706a2
ci: make db-migration arifact part of the workflow inputs (#28604)
* ci: make db-migration arifact part of the workflow inputs

* ci: chore cleanup

* ci: introduce
2024-11-27 21:18:20 +01:00
David Arnold
11e7b993c3
Revert "ci: temporarily redirect" (#28590)
This reverts commit 31b34b654542a243480e10f4a3db883d750057d2.
2024-11-27 00:13:44 +00:00
David Arnold
92fb8e5c04
ci: fix migration base workflow when used downstream git ref (#28589)
* ci: fix migration base workflow when used downstream git ref

* ci: temporarily redirect
2024-11-27 00:28:15 +01:00
David Arnold
c895d828b4
Revert "ci: temporarily redirect to fixed base workflows" (#28567)
This reverts commit 5cc6b3c89d4b8290bd0bef9b5f292a43fafa17c2.
2024-11-25 16:59:05 +00:00
David Arnold
4c5ecfa9e2
ci: fixup (#28566)
* ci: fixup

* ci: temporarily redirect to fixed base workflows

the purpose of this is to pass checks and get this fixed base workflows into develop asap
2024-11-25 14:34:05 +00:00
David Arnold
120566c0a0
chore: organize gh workflow names (#28562) 2024-11-25 13:10:02 +01:00
David
8dd2d2b859
ci: join server test and downstream test dispatch 2024-11-25 12:50:46 +01:00
David
54c9ee29c3
ci: join server test and migration test 2024-11-25 12:50:46 +01:00
David
8ee2fdc6e4
ci: use reusable workflow for server tests 2024-11-25 12:50:45 +01:00
dependabot[bot]
2d7b636c83
chore(deps): bump codecov/codecov-action from 4 to 5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 18:35:00 +00:00
dependabot[bot]
e0a84e0f18
build(deps): bump actions/setup-python from 4 to 5 (#28319)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 12:42:00 +01:00
dependabot[bot]
a3f43cebd1
build(deps): bump actions/checkout from 3 to 4 (#28318)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 12:41:40 +01:00
David Arnold
61a107b6af
ci: make gh actions functions (#28299)
* ci: make gh actions downstream reusable

* refactor: merge ci helper into run-parallel-test command

* ci: refactor to sensible db password
2024-10-27 02:09:02 +00:00
David Arnold
46a0814287
chore: start with type checking (#28190) 2024-10-24 21:56:25 +00:00
David Arnold
93d25424b8
build: pin node version to release-tested version 20 (#28201) 2024-10-20 18:24:39 +00:00
David Arnold
bd06784d1b
ci: Run optimized python and control warnings (#28063)
* ci: run doubly optimized python

* ci: control python warnings
2024-10-09 13:29:30 +00:00
David
b77f112fb2
ci: measure bench install times and control verbosity 2024-10-04 15:22:53 +02:00
David
9f6b97b214
ci: split up install
when init fails, this separates long log sections and keeps github responsive
2024-09-12 02:06:43 +02:00
dependabot[bot]
7b810303fe
chore(deps): bump actions/download-artifact from 4.1.7 to 4.1.8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4.1.7...v4.1.8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 18:33:28 +00:00
dependabot[bot]
78c06c1fd4
chore(deps): bump actions/download-artifact in /.github/workflows
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 22:42:51 +00:00
Ankush Menat
b0da61413c
ci: bump mariadb (#25658)
Next Framework version will use 11.7 LTS, preparing for the jump.

New version has some cool stuff:
- UUID data type
- Much better explain/analyze
- Better query optimizer
2024-03-26 17:15:15 +00:00
Ankush Menat
0ca0e22376 ci: setup ssh if test failed 2024-03-15 16:25:51 +05:30
Ankush Menat
2f94dd4ba1
ci: limit timeout to 30 minutes (#25437)
Sometimes tests get stuck and never end, cause unknown.
2024-03-14 09:33:12 +00:00
Ankush Menat
77c907a928 ci: add debug gha option 2024-03-10 12:49:19 +05:30
Ankush Menat
064d97cafe
ci: only capture coverage on non-pull jobs (#24783) 2024-02-06 09:19:03 +00:00
dependabot[bot]
aaf39b8254
chore(deps): bump codecov/codecov-action from 3 to 4 (#24775)
* chore(deps): bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: pass codecov token for server tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-02-06 14:22:26 +05:30
Ankush Menat
40438b400f ci: set node env as production in tests 2024-01-30 21:55:51 +05:30
dependabot[bot]
44e4c87636
chore(deps): bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 18:49:28 +00:00
Ankush Menat
00f20f43c6
build: add setproctitle as dependency (#24007)
* build: add setproctitle as dependency

RQ and other tools use it to automatically set a useful proc title

* ci: print all bench logs after running tests

This can help reveal failures from background jobs etc
2023-12-28 20:50:27 +05:30
dependabot[bot]
fff9635328
build(deps): bump actions/setup-python from 4 to 5 (#23743)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 14:10:44 +05:30
Ankush Menat
4cc1392697 ci: report all errors to sentry
This can be useful.
2023-11-30 17:34:15 +05:30
Ankush Menat
21e8abf899
build: python 3.12 support (#22706)
* ci: use python 3.12

We'll use minimum versions on stable branch CI configs.

* build(deps): bump dependencies

- Some for v12 support
- some just for new stuff
2023-11-23 11:42:51 +05:30
Ankush Menat
3905e8970a test: smtp integration test using smtp4dev 2023-11-04 15:26:40 +05:30
dependabot[bot]
8b0efd5d4f
chore(deps): bump actions/setup-node from 3 to 4 (#22881)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 12:14:47 +05:30
gavin
c706040c31
ci: Add Coveragerc (#22530) 2023-10-16 18:24:16 +05:30
dependabot[bot]
78d481760c
chore(deps): bump actions/checkout from 3 to 4 (#22310)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 10:41:55 +05:30
Ankush Menat
06b86206ef
ci: make auto-merge work with skipped tests (#22070) 2023-08-16 05:55:55 +00:00
Ankush Menat
6dda420176 ci: dont run tests on every push
Rationale:
- PRs already run test by merging PR in develop branch (this is how
  github works)
- Running tests on practically identical code JUST after merge rarely
  helpes. This has found failures from conflicting changes maybe once or
  twice a year. That much CO2 is not justified.
- Instead added daily scheduled tests so things like cypress dashboards
  still work and a *bisect* if requried in future can be done.
2023-07-19 12:15:41 +05:30
Suraj Shetty
5581f960da chore: Update node version requirement in build config 2023-06-26 09:14:17 +05:30
Ankush Menat
6f4a7ddf10 Revert "build(deps)!: Require NodeJS 18 as minimum version (#21303)"
This reverts commit 67cd951013.
2023-06-11 11:40:22 +05:30
Ankush Menat
699e744617 ci: restart bench in patch test
also show bench output
2023-06-10 20:47:27 +05:30
Ankush Menat
67cd951013
build(deps)!: Require NodeJS 18 as minimum version (#21303) 2023-06-10 19:22:57 +05:30
Ankush Menat
f5771baf66
ci: use GITHUB_TOKEN for roulette api calls (#19537)
This is safe cuz we set read only permission on this token in workflows.

NOTE: Changing permission type is dangerous here!
2023-01-09 17:09:59 +05:30
Bread Genie
9e79df9802
ci: use $GITHUB_OUTPUT instead of set-output (#19389)
* refactor(boilerplate): use `$GITHUB_OUTPUT` instead of `set-output`

* ci: use `$GITHUB_OUTPUT` instead of `set-output`

* fix: remove unterminated string literal
2022-12-22 14:16:09 +05:30
Ankush Menat
b304751639
ci: common server test (#19177) 2022-12-08 00:09:59 +05:30
Renamed from .github/workflows/server-postgres-tests.yml (Browse further)