Commit Graph

252 Commits

Author SHA1 Message Date
Adam 6bcaa9bdea dev: work on action 2023-10-10 06:47:22 +00:00
Adam d120d4f6d0 dev: initial add of warden setup environment actions
Co-authored-by: Vladyslav Podorozhnyi <vpodorozh@gmail.com>
2023-10-10 06:33:36 +00:00
David Lambauer 68cbb2e752 Merge pull request #159 from mage-os/dependabot/npm_and_yarn/types/node-18.18.3
chore(deps-dev): bump @types/node from 18.17.18 to 18.18.3
2023-10-08 21:50:08 +02:00
Simon Sprankel 5464f44f3a Move baseline file to correct location (#164) 2023-10-08 21:15:26 +02:00
Simon Sprankel 335930740f Merge pull request #162 from Tjitse-E/fix-baseline-composer-conflicts
fix: PHPcs baseline composer conflicts
2023-10-06 09:11:05 +02:00
Tjitse Efdé bf34ec4964 fix: PHPcs baseline composer conflicts 2023-10-06 08:38:28 +02:00
dependabot[bot] 427a631508 chore(deps-dev): bump @types/node from 18.17.18 to 18.18.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.17.18 to 18.18.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 21:09:12 +00:00
Vinai Kopp b645c2327d fix: pass correct repo url for nightly (#158)
fix: pass correct repo url for nightly

The amendMatrixForNext function uses the repository argument to
determine the version constraint for the returned matrix for kind
nightly.
Previously, the upstream-mirror repo url was passed as an argument, but
the nightly builds use a different repo url.
This resulted in failed builds, because the version string 'next' could
not be parsed by composer.

Example:
https://github.com/mage-os/generate-mirror-repo-js/actions/runs/6370219504/job/17291152703

With this change, the nightly kind will always return the @alpha
version constraint, that is, stability constraint.
There currently is no way to distinguish between different nightly
repos, but since both work the same way, this is fine (for now).
2023-10-02 06:27:52 +13:00
dependabot[bot] b7a037a472 chore(deps-dev): bump eslint from 8.49.0 to 8.50.0 (#155)
Bumps [eslint](https://github.com/eslint/eslint) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 08:16:20 -04:00
Damien Retzinger 7f1821f6ac fix(supported-versions): nightly build matrix tag (#152) 2023-09-24 16:07:37 -04:00
Damien Retzinger 88901eacf7 chore(deps, deps-dev): updates deps and add .nvmrc (#151) 2023-09-22 12:29:14 -04:00
dependabot[bot] 00939b1609 chore(deps): bump actions/checkout from 3 to 4 (#114)
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-22 09:43:15 -04:00
Damien Retzinger 4e21b18ee9 feat(coding-standard): add ignore_warnings flag (#147)
By default, `phpcs` exits with a non-zero exit code when it finds warnings. We keep that default, but allow changing it.

Co-authored-by: Vitaliy Golomoziy <vitaliy.golomoziy@gmail.com>
2023-09-21 08:40:58 -04:00
Damien Retzinger 01e4ccbc54 feat(semver-compare): add new Github action (#146)
This adds a new Github Action that semantically compares two versions, like 2.1.1 and 2.3.0 giving information about whether or the version is "higher" or "lower" than another version. The action exposes an output called `result` which will match the return type of the PHP [version_compare](https://www.php.net/manual/en/function.version-compare.php) function.

Currently, this action compares `version` against `compare_against` and returns:

- `-1` - if `version` is lower than `compare_against`
- `0` - if `version` is equal to `compare_against`
- `1` - if `version` is greater than `compare_against`

Co-authored-by: Vitaliy Golomoziy <vitaliy.golomoziy@gmail.com>
2023-09-21 08:35:57 -04:00
Damien Retzinger bc840e1372 feat(get-composer-version): create new action (#145)
This creates a new A Github Action that determines the currently installed version of Composer.

Co-authored-by: Vitaliy Golomoziy <vitaliy.golomoziy@gmail.com>
2023-09-21 08:15:24 -04:00
Damien Retzinger f79de7d7d2 docs(cache-magento): remove extraneous input (#128) 2023-09-14 17:39:10 -04:00
Tjitse 76fcd70226 Fix PHPcs baseline test failure when there are no files to check (#115)
* fix: baseline coding standard fail when there are no files

* feat: also scan graphql/css/less/js files with phpcs
2023-09-12 09:44:52 +02:00
Simon Sprankel dcd92b12a2 Merge pull request #118 from sprankhub/fix-release-badge
chore: fix release badge
2023-09-08 22:34:44 +02:00
Simon Sprankel 4aa63b292d chore: fix release badge 2023-09-08 21:22:48 +02:00
Simon Sprankel e12e899610 Merge pull request #117 from damienwebdev/main
build: remove duplicate CODEOWERS
2023-09-08 21:13:56 +02:00
Damien Retzinger 163b86c96c build: remove duplicate CODEOWERS 2023-09-08 09:25:17 -04:00
mage-os-ci 2fc7278b9f Managed by Terraform 2023-09-07 21:19:03 +00:00
Vinai Kopp f7f0504691 feat: add project versions (#110)
* refactor: allow version matrixes by projects

* feat: add initial version-matrix for mage-os

* feat: add project as optional input to action

* docs: document new input

* refactor: tighten types a bit

* chore: apply change requests from code review
2023-09-06 22:08:57 +02:00
dependabot[bot] 28643a7156 chore(deps-dev): bump eslint from 8.46.0 to 8.48.0 (#108)
Bumps [eslint](https://github.com/eslint/eslint) from 8.46.0 to 8.48.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.46.0...v8.48.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 10:05:50 +02:00
dependabot[bot] 8c373fef86 chore(deps-dev): bump typescript from 5.0.4 to 5.2.2 (#107)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.4...v5.2.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 10:05:32 +02:00
dependabot[bot] f50c12a470 chore(deps-dev): bump ts-jest from 29.1.0 to 29.1.1 (#106)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.1.0 to 29.1.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.1.0...v29.1.1)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 10:02:29 +02:00
dependabot[bot] 54ab891af4 chore(deps-dev): bump @types/node from 18.17.11 to 18.17.12 (#105)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.17.11 to 18.17.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 10:01:55 +02:00
dependabot[bot] ff609fef4e chore(deps-dev): bump @types/node from 18.16.3 to 18.17.11 (#104)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.3 to 18.17.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-27 14:52:21 +02:00
dependabot[bot] 20fecd7681 chore(deps-dev): bump esbuild from 0.17.18 to 0.19.2 (#102)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.18 to 0.19.2.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.18...v0.19.2)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-27 14:44:40 +02:00
dependabot[bot] c9d35aa187 chore(deps-dev): bump @types/node from 18.16.3 to 18.17.3 (#94)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.3 to 18.17.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-27 14:37:14 +02:00
dependabot[bot] bf75309cfb chore(deps-dev): bump eslint from 8.39.0 to 8.46.0 (#88)
Bumps [eslint](https://github.com/eslint/eslint) from 8.39.0 to 8.46.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.39.0...v8.46.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-27 14:36:29 +02:00
dependabot[bot] 12238a2e92 chore(deps-dev): bump @typescript-eslint/parser from 5.59.2 to 5.62.0 (#81)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.2 to 5.62.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.62.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-27 14:36:14 +02:00
Damien Retzinger 5599a0d2e7 feat(supported-versions): add release date (#100)
Previously, we didn't take into account a release date, which meant
that @vinai could not add MageOS or Magento releases before the actual
day of release.

With this, we can now add the releases to supported verisons before
a release comes out, allowing us to make a kind that allows testing
MageOS and Magento Mirror releases more quickly.
2023-08-16 13:57:48 +02:00
Simon Sprankel c093834133 Only execute phpcs if changes exist (#101) 2023-08-16 13:35:39 +02:00
Vinai Kopp f8835e5c0a chore: comment mysql 5.7 install script source (#70) 2023-08-15 17:20:38 -04:00
Simon Sprankel bb848c4b0a Only execute phpcs if changes exist (#99) 2023-08-15 16:53:02 +02:00
Simon Sprankel 19d95ee260 Exit successfully on no changes (#98) 2023-08-15 15:39:07 +02:00
Simon Sprankel fcaf3e4ed2 Fix phpcs Baseline Inputs (#95)
* Switch to PHP 8.2

* Fix phpcs baseline action inputs
2023-08-15 15:23:26 +02:00
Vinai Kopp dd14f7859c chore: add versions 2.4.4-p5, 2.4.5-p4 and 2.4.6-p2 (#96) 2023-08-08 17:47:58 +02:00
Simon Sprankel 847b7464a1 Merge pull request #79 from MeetKamal/coding_standard_baseline
added coding-standard-baseline folder for codesniffer baseline task
2023-07-25 15:35:59 +02:00
kamleshluhana 5156dab92f added comments based on Damien review 2023-07-18 16:35:20 +05:30
kamleshluhana 23492464b2 Apply changes as per Simon comments 2023-07-10 16:19:50 +05:30
kamleshluhana fdd5cb7dad Review comments of simon and updated code base 2023-07-06 17:54:06 +05:30
kamleshluhana d3746393a0 added coding-standard-baseline folder for codesniffer baseline task 2023-07-04 17:50:26 +05:30
Vinai Kopp b82ff0d536 chore: disable mysqldump column-statistics for 2.3.7-* builds (#69) 2023-06-24 23:34:07 +02:00
Vinai Kopp 2726817e55 chore: save test sandbox as an artifact to help debug failures (#68) 2023-06-24 19:11:31 +02:00
Damien Retzinger 85d11af76e fix: make es8 run correctly in integration tests (#66) 2023-06-22 06:58:49 +02:00
Damien Retzinger 28248496e0 feat: add support for v2.3.7 on new vms (#67) 2023-06-22 06:55:50 +02:00
Vinai Kopp e48a3463c5 fix: add missing build for 1.4.0 of supported versions (#64) 2023-06-20 09:54:28 -04:00
Mage-OS b89832acd5 chore: release 1.4.0 (#63) 2023-06-20 09:35:44 -04:00