Commit Graph

957 Commits

Author SHA1 Message Date
Christopher Allford e40e63a75c Fixed Matrix Generation Failure Evaluation 2023-12-09 14:26:36 -08:00
Christopher Allford 783efb70b1 Cache Fix Attempt 2023-12-09 14:26:31 -08:00
Christopher Allford 5bbb9edc6d Renamed WooCommerce Plugin Package
In order to prevent supply-chain attacks we have renamed
the package. The new name is `@woocommerce/plugin-woocommerce`.
2023-12-09 12:59:24 -08:00
Christopher Allford 8c6b414fe0
Revert "Refactoring Task Infrastructure" (#41928)
Revert "Refactored Task Infrastructure (#41202)"

This reverts commit 96a973b9fa.
2023-12-06 11:36:12 -08:00
Christopher Allford 96a973b9fa
Refactored Task Infrastructure (#41202)
* Fixed NPM packages with invalid names.
* Renamed plugin packages.
* Standardized package NPM scripts.
* Replaced Turborepo with Wireit.
2023-12-06 09:32:32 -08:00
Christopher Allford 88969742f2
Regenerate PNPM Lock File & Fix Errors (#41830) 2023-12-05 00:36:30 -08:00
nigeljamesstevenson 9cf42cfd36
Update smoke-test-daily.yml 2023-11-30 01:39:20 +00:00
nigeljamesstevenson 4dcb0ffd8a
Update smoke-test-daily.yml 2023-11-30 00:53:12 +00:00
paul sealock cb3ed643c0 just use time 2023-11-28 12:33:48 +13:00
paul sealock f4b788028f fix quotes 2023-11-28 12:25:24 +13:00
paul sealock 9e7bf3d712 add time 2023-11-28 12:19:36 +13:00
paul sealock f4bee14d01 here we go 2023-11-28 12:19:28 +13:00
paul sealock 670a35907e oops 2023-11-28 12:12:29 +13:00
paul sealock c686bfeb8a here we go 2023-11-28 12:11:23 +13:00
paul sealock afa636c379 try this 2023-11-28 12:04:29 +13:00
paul sealock 5af9ebc087 save 2023-11-28 12:03:09 +13:00
paul sealock a9651ecf11 make better branch name 2023-11-28 11:49:59 +13:00
paul sealock 45e016703c rename package release branch 2023-11-28 11:41:00 +13:00
Alejandro López Ariza c9b478ce7d
Add new workflow to ping Slack every time a certain team is assigned as PR reviewer or tagged in a PR comment. (#41067)
* Add new workflow to ping Slack every time a certain team is assigned as PR reviewer or tagged in a PR comment.

* Fix workflow after getting feedback from review.

* Fix test-assistant-pr-review workflow so that it also triggers on PR review comments.

* Remove the pull_request trigger from test-assistant-pr-review.yml as it was added only to improve testability.
2023-11-27 21:39:32 +01:00
Jonathan Lane 595f99d933
Run daily smoke tests on wp-env (#41560)
* Run daily smoke tests on wp-env

* Add changelog

* Add step to install playwright to e2e tests

* Run k6 containers as e2e

* Get build first for k6

* Tweak for API report

* Change k6 tests back to non-local

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-23 12:41:27 +08:00
Ron Rennick 918c1bff3d revert to v8 2023-11-16 18:58:20 -04:00
Ron Rennick b5b364e902 revert stalebot to v8 and single run 2023-11-16 17:24:32 -04:00
Paul Sealock 251812232d
Package Release: Make sure git workspace is clean before releasing (#41416) 2023-11-17 08:44:22 +13:00
Ron Rennick 6402bf8aa3
use latest commit of stalebot action, tweak configuration accordingly (#41305)
* use latest commit of stalebot action, tweak configuration accordingly

* remove stalebot.js

* use default operations per run

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-11-16 09:15:08 -06:00
rodelgc 62877a9d1d
Change plugin name to "Woo Subscriptions" in release and daily testing workflows (#40460)
* Update spec

* Update daily, release workflows

* Conditionally post slack summary

* Add changelog
2023-11-15 23:08:47 +08:00
Jonathan Sadowski 4d6d57e63c Update code-freeze tool to work with accelerated 2023-11-13 15:24:21 -06:00
nigeljamesstevenson db22b89d12
Delete .github/workflows/cot-build-and-e2e-tests-daily-wip.yml 2023-11-13 12:34:34 +00:00
Leif Singer be76c3c341
update references to woocommerce.com to now reference woo.com (#41241) 2023-11-10 20:47:58 +01:00
nigeljamesstevenson 11de6bc7bb
Update and rename cot-build-and-e2e-tests-daily.yml to hpos-build-and-e2e-tests-daily.yml 2023-11-10 17:12:14 +00:00
nigeljamesstevenson d827587394
Update cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 16:41:03 +00:00
nigeljamesstevenson 8f056ce3b0
Update cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 15:50:28 +00:00
nigeljamesstevenson 1cd2404815
Create cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 15:30:18 +00:00
Leif Singer 2842b4c8ec ignore test fixtures when linting markdown 2023-11-10 15:49:08 +01:00
Leif Singer 808a0fc54f update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
nigeljamesstevenson 3568e6f7a9
Revert "k6 perf tests: Fix parsing of COT/HPOS environment variable" 2023-11-07 11:29:35 +00:00
Corey McKrill 5420e84663
Update woocommerce.com email addresses to woo.com (#41245) 2023-11-06 12:12:15 -08:00
nigeljamesstevenson 50c56d8427
k6 perf tests: Fix parsing of COT/HPOS environment variable (#40930) 2023-11-06 14:54:13 +00:00
Leif Singer 7394e8344f update woocommerce.com email addresses to woo.com 2023-11-06 14:06:54 +01:00
jonathansadowski 0a11d03ce5
Remove milestone from unmerged PRs (#41216)
* Remove milestone from unmerged PRs

* Add pr write permission to milestone manager
2023-11-03 13:22:07 -05:00
Ron Rennick c738977c21 include the switch breaks 2023-11-02 15:57:13 -03:00
Ron Rennick e695f42e85 Add stalebot schedules to allow processing of all issues 2023-11-02 15:42:26 -03:00
Jonathan Lane 9572bf2a12
Fix e2e and api execution on daily runs (#41113)
* Increase a couple of timeouts

* Remove duplicate update to nightly

* Add changelog

* Install Playwright

* Handle Playwright setup

* Add in build name

* Add in check in e2e tests for daily run

* Reverse check

* Rookie mistake

* Use ternary operator instead

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-01 15:44:24 -07:00
Ron Rennick fe582d6c97 bump action/stale version, increase operations per run 2023-10-31 14:36:20 -03:00
Rodel Calasagsag 22a1aabdd4 Remove enabling HPOS via old external plugin 2023-10-22 21:11:41 +08:00
Christopher Allford 8f8b1c8d47
Expand CI WooCommerce Matrix (#40882) 2023-10-19 11:55:37 -07:00
Christopher Allford fbbca9c3e0
Refactored Linting & Unit Testing Workflows (#40572) 2023-10-19 11:24:20 -07:00
nigeljamesstevenson bfb47ee8aa
Release test workflow: support WooAF draft releases (#40786) 2023-10-17 14:19:46 +01:00
Christopher Allford 436e6c0482
Add Triage Label Delay (#40783)
This makes sure that authors have an opportunity to add a label before
the triage label gets added due to a lack of labels.
2023-10-16 10:36:07 -07:00
Rodel Calasagsag f63b8353ee Add support for draft releases 2023-10-14 16:20:33 +08:00
nigeljamesstevenson e1d76d680b
Delete .github/workflows/test-assistant-api-with-date.yml
no longer required - used for testing a published workflow
2023-10-11 12:06:44 +01:00
nigeljamesstevenson 026c3ea20d
Ensure HPOS is disabled if ENABLE_HPOS is set to '0' (#40528)
* Ensure HPOS is disabled if ENABLE_HPOS is set to '0'

* update spacing and changelog

* log ENABLE_HPOS value for GitHub action

* remove log ENABLE_HPOS value for GitHub action

* updates to HPOS using REST API

* update spacing

* code tidy up

* workflow and global-setup updates after review

* update workflow for api tests

* workflow updates

* delete .github/workflows/pr-build-and-e2e-tests-non-hpos.yml

* update workflow

* update api setup for HPOS

* updates to workflows for api references and setup updates

* add in ENABLE_HPOS check

* update API tests BASE_URL

* updates after review

* update error text

* remove extraneous variable names
2023-10-11 15:03:24 +08:00
rodelgc c64ae36956
Fix recently failing "API on WP Latest" job in release testing workflow (#40453)
* Add changelog

* Add dedicated PW config and global setup files

* Add step to download chromium

* Specify config and env var

* Fix trivial whitespaces

* Disable Slack notif for now

* Re-enable Slack summary

* Simplify getting major, minor version numbers

* Use single line for response wait
2023-10-11 14:46:46 +08:00
nigeljamesstevenson 840b722ce5
Update test-assistant-api-rest-change-tracker.yml 2023-10-09 19:44:01 +01:00
nigeljamesstevenson b7b763cf7e
Update test-assistant-api-rest-change-tracker.yml 2023-10-09 16:54:59 +01:00
nigeljamesstevenson 60b4502e40
Update test-assistant-api-with-date.yml 2023-10-07 11:03:46 +01:00
nigeljamesstevenson a98d255f9f
Update test-assistant-api-with-date.yml 2023-10-07 11:01:29 +01:00
nigeljamesstevenson 1a1b54b355
Update test-assistant-api-with-date.yml 2023-10-07 10:43:26 +01:00
nigeljamesstevenson 292cd5cb5a
Update test-assistant-api-with-date.yml 2023-10-07 10:25:47 +01:00
nigeljamesstevenson 66b619ed4c
Update test-assistant-api-with-date.yml 2023-10-06 14:44:04 +01:00
nigeljamesstevenson 3fd92748a9
Update test-assistant-api-with-date.yml 2023-10-06 14:26:39 +01:00
nigeljamesstevenson 054aeaa6e3
Update test-assistant-api-with-date.yml 2023-10-06 14:05:57 +01:00
nigeljamesstevenson 70714fc744
Update test-assistant-api-with-date.yml 2023-10-06 13:42:30 +01:00
nigeljamesstevenson 8fa7906385
Update test-assistant-api-with-date.yml 2023-10-06 13:21:45 +01:00
nigeljamesstevenson 2907e31c46
Update test-assistant-api-with-date.yml 2023-10-06 13:01:24 +01:00
nigeljamesstevenson 9b188e2221
Update test-assistant-api-with-date.yml 2023-10-06 12:38:10 +01:00
nigeljamesstevenson 3b5d0829a1
Update test-assistant-api-with-date.yml 2023-10-06 12:30:18 +01:00
nigeljamesstevenson 6ccb20287f
Rename test-assistant-api-with-date to test-assistant-api-with-date.yml 2023-10-06 12:23:18 +01:00
nigeljamesstevenson 9c4dfc3fd3
Update test-assistant-api-with-date 2023-10-06 12:17:37 +01:00
nigeljamesstevenson 755b1ebf81
Update test-assistant-api-with-date 2023-10-06 12:06:40 +01:00
nigeljamesstevenson e69f640241
Create test-assistant-api-with-date 2023-10-06 12:05:27 +01:00
nigeljamesstevenson fd3571e9e2
Update test-assistant-api-rest-change-tracker.yml remove Milestone Due date 2023-10-05 10:52:28 +01:00
nigeljamesstevenson 9851535e0c
Update test-assistant-api-rest-change-tracker.yml slack-text message with milestone 2023-10-05 10:21:27 +01:00
nigeljamesstevenson 040ac64fb5
Update test-assistant-api-rest-change-tracker.yml
add milestone information to slack notification
2023-10-05 09:50:06 +01:00
nigeljamesstevenson 2c738a59dd
Create test-assistant-api-rest-change-tracker.yml
Workflow used to send a Slack notification when a PR contains rest api changes
2023-10-05 09:32:19 +01:00
jonathansadowski e8df6a634e
Add CFE label to cherry-picks via workflow (#40570)
add CFE label to cherry-picks
2023-10-03 16:00:17 -05:00
Christopher Allford 7de08e1751 Fixed PHPCS Base Comparison 2023-09-26 11:40:38 -07:00
Christopher Allford cd8398bce9
Revert "Fix Code Sniff Action Change Detection" (#40429)
Revert "Fix Code Sniff Action Change Detection (#40400)"

This reverts commit 9de59bf01f.
2023-09-26 00:58:31 -07:00
Christopher Allford 9de59bf01f
Fix Code Sniff Action Change Detection (#40400)
* Adjusted PHPCS Workflow Change Detection

This _should_ hopefully fix the broken detection of
changed files for running the code sniffs.

* Change Test

* Core Change

* Removed Sniff Test
2023-09-25 13:25:44 -07:00
Ron Rennick 402d489999
add enhancement exclusion to stalebot config (#40391)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-09-25 15:39:27 +02:00
Rodel Calasagsag d5a18163da Merge branch 'trunk' into e2e/slack-daily-plugins 2023-09-14 15:21:48 +08:00
Rodel Calasagsag 8f4d94bdc1 Merge branch 'trunk' into e2e/slack-daily-plugins 2023-09-08 13:00:17 +08:00
Jon Lane 575e2346af Set env variable to update to nightly 2023-09-06 16:14:51 -07:00
Jon Lane b5e5f33825 Update to nightly release after reset 2023-09-06 16:06:49 -07:00
nigeljamesstevenson 5a8ed71edc
E2E: Remove WP Latest-2 from release tests (#40012) 2023-09-06 12:38:40 +01:00
Rodel Calasagsag 6d946930f1 Simplify WP L-1 wp-env setup 2023-09-03 18:19:25 +08:00
Rodel Calasagsag 9d1664b822 Fix input value 2023-09-03 11:55:16 +08:00
Rodel Calasagsag d34fb8b07e Re-enable steps and jobs 2023-09-03 10:56:37 +08:00
Rodel Calasagsag 8463c77765 Add command to verify wp version 2023-09-03 10:31:21 +08:00
Rodel Calasagsag 249f78b4ad Remove step to verify env details 2023-09-03 10:30:36 +08:00
Rodel Calasagsag 6af2632f5f Get only WP L-1 2023-09-03 10:29:42 +08:00
Jon Lane 6ee7f1fd78 Going to remove the API/E2E dependency for now so that E2E runs too 2023-09-01 14:30:18 -07:00
Rodel Calasagsag 910f8cf583 Handle skipped plugin tests more gracefully 2023-09-01 13:13:46 +08:00
Rodel Calasagsag 15f260f35e Set alternative value for env vars to make them more accurate 2023-09-01 13:13:08 +08:00
Rodel Calasagsag 2aefd9a301 Modify if condition 2023-09-01 12:12:36 +08:00
Rodel Calasagsag 08eab1046c Additional skip check 2023-09-01 11:39:10 +08:00
Rodel Calasagsag 0207bbff97 Handle skipped plugin tests 2023-09-01 11:35:37 +08:00
rodelgc be41a3b3dd
In the "Smoke test release" workflow, update `BASE_URL` to `API_BASE_URL` (#39954)
Fix environment variable
2023-08-30 10:24:58 +02:00
Sam Seay 17299325dd
Don't pass lint if it fails, but still run annotate. (#39943) 2023-08-30 12:48:39 +12:00
Rodel Calasagsag 23dce606c5 Merge branch 'trunk' into e2e/slack-daily-plugins 2023-08-29 15:50:20 +08:00
nigeljamesstevenson 879136404d
Updates smoke-test-daily.yml workflow to correctly remove test execution (#39904)
Updates smoke-test-daily.yml workflow to correctly remove additional test execution as previous revert PR #39889 missed a step
2023-08-25 18:06:46 +08:00
Rodel Calasagsag 4a9361da46 Merge branch 'trunk' into e2e/slack-daily-plugins 2023-08-25 14:42:58 +08:00
nigeljamesstevenson e0c569baff
revert #39803 Add additional Perf Test Daily run (#39889)
revert #39803
2023-08-24 13:27:58 -07:00
nigeljamesstevenson 5150d3959a
Add additional Perf Test Daily run (#39803) 2023-08-24 11:37:12 +01:00
Sam Seay 1fa3a880f3
Skip eslint annotate on fork PRs. 2023-08-23 09:09:09 +08:00
Rodel Calasagsag 0573492a74 Minor spacing corrections 2023-08-23 08:45:58 +08:00
Tam Mullen 661c8a1d47 Updated perf test env var 2023-08-18 10:32:35 +01:00
Tam Mullen fdd1196b58 Updated YML file 2023-08-18 09:54:04 +01:00
Tam Mullen 7efb1b5327 Added workflow job for w express perf tests 2023-08-18 09:44:29 +01:00
Sam Seay 6e93e8d35e
Add shard to the matrix name in PHP unit tests for clarity in GH UI (#39747) 2023-08-17 17:23:35 +12:00
Rodel Calasagsag 876a0eb6b9 Get actual run date 2023-08-17 11:37:42 +08:00
Rodel Calasagsag c1771cb372 Add missing required env vars 2023-08-17 10:42:13 +08:00
Sam Seay 2926acb521
Speed up the lint and test task by doing pnpm install instead of full setup (#39760) 2023-08-16 23:02:32 +12:00
Rodel Calasagsag dbbb2fb6ca Allow Slack block steps to run on e2e failure 2023-08-16 18:02:06 +08:00
Rodel Calasagsag 77277cdfbf Change slack channel id 2023-08-16 16:44:11 +08:00
Rodel Calasagsag c092494c1e Remove comments 2023-08-16 16:41:12 +08:00
Rodel Calasagsag d14d63114b Fix artifact name 2023-08-16 08:43:49 +08:00
Rodel Calasagsag 7317e60bbe Minor spacing fix 2023-08-15 16:53:05 +08:00
Rodel Calasagsag 2932e11ae2 Add job to send slack summary 2023-08-15 16:52:20 +08:00
Rodel Calasagsag eb458bbdf3 Remove unnecessary env var 2023-08-15 16:51:24 +08:00
Rodel Calasagsag 4211c1424f Add step to create and archive plugin test slack blocks 2023-08-15 16:51:06 +08:00
Rodel Calasagsag 58af912bfa Specify job outputs 2023-08-15 16:48:22 +08:00
Rodel Calasagsag a6039aa1b6 Use composite actions in plugin tests job 2023-08-15 16:47:20 +08:00
Rodel Calasagsag 92e15b9def Use composite actions in k6 job 2023-08-15 16:44:50 +08:00
Rodel Calasagsag c40b6e7e7e Use composite actions in E2E test job 2023-08-15 16:44:12 +08:00
Rodel Calasagsag 425063bf0e Use composite actions in API tests job 2023-08-15 16:42:33 +08:00
Sam Seay 45c49dc232
Add a workflow to separate out eslint and annotate PRs. (#39704) 2023-08-15 18:21:51 +12:00
Sam Seay 728c0db95f
Implement a workflow that lints changed markdown files. (#39707)
* Implement a workflow that lints changed markdown files.

* Supposed to pipe the contents of files not file names.

* Fix typos in the command.

* Test changing a markdown file.

* Use a more reliable action to determine changed files.

* Adjust glob.

* Try a faster setup approach with wp-scripts installed globally

* std in does not work with wp scripts, run markdownlint directly, improve output for multiple file failures

* Try simplify the script.

* Try basic colorizing to help read output.

* separate output with a line, remove ignore because we use stdin for this.

* Play around with separation of output.

* Try use ccze to colorize output more simply.

* Remove attempt at colorizing.

* Copy config from Gutenberg to match, try coloring again.

* Do not fail after first failure found.

* Try capture errors.

* Capture in var and capture error.

* Now we capture, add back colors.

* Minor formatting adjustments.

* More minor formatting improvements.

* Add a second file to test multiple lints.

* Revert changes to md files to show a run with no lint issues.

* Test fixing a markdown file to have a lint pass with changes.

* Revert testing changes to markdown file.

* Revert lock changes we dont have dep changes in this PR.
2023-08-15 09:13:01 +08:00
Sam Seay b5636cbf1d
Delete the build-release workflow, it has not been used in a long time. (#39677) 2023-08-12 01:03:50 +08:00
Christopher Allford 4549bc82c5
Applied PHPCS To Beta Tester (#39476) 2023-08-08 17:20:34 -07:00
jonathansadowski eb210907e0
Update workflow to not add label when PR has already been analyzed (#39545) 2023-08-03 08:35:51 -05:00
Leif Singer 77af817444
Shard unit test runs (#39362) 2023-07-27 14:06:55 +02:00
Paul Sealock 62f02e36f8
Monrepo Utils code-freeze: Update version bump to modify release branches (#39243) 2023-07-25 10:03:01 +12:00
Jon Lane 9c571c97ce Update API URL in workflow and run all API tests 2023-07-20 14:26:59 -07:00
jonathansadowski bfedd049c1
Abstract PR scrub action so it can be used in two places (#39329)
* Abstract PR scrub action so it can be used in two places

* Rename composite action; add newline
2023-07-20 14:09:46 -05:00
Leif Singer 147db933be
Revert "Shard unit test runs" (#39344)
Revert "Shard unit test runs (#39302)"

This reverts commit 9ee44947e0.
2023-07-20 18:36:01 +02:00
Leif Singer 9ee44947e0
Shard unit test runs (#39302)
closes #38973
2023-07-20 10:01:28 +02:00
Paul Sealock 234963287b
Changefile from PR description: Fix community PR permissions issue (#39290)
* Add pull_request_target

* Add description to Enhancement
2023-07-20 12:38:39 +12:00
Alejandro López Ariza 032beaa37c
Add a new GitHub Actions workflow to track on Slack the new PRs merged into the WooCommerce repository (#39316)
Add a new GitHub Actions workflow to track on Slack the new PRs merged into the WooCommerce repository.
2023-07-19 19:56:15 +02:00
Sam Seay 4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
Sam Seay a511e72b4c
Add linting to CI for monorepo utils, add to CI unit tests for docs. (#39240) 2023-07-18 12:47:13 +12:00
jonathansadowski 2f407cb172
Update post-merge workflow to add 'needs: analysis' label (#39277) 2023-07-17 17:01:36 -05:00
Alejandro López Ariza a661f5afde
Added new GitHub Actions workflow to arrange PR testing scrub sessions (#39142)
* Added new GitHub Actions workflow to arrange PR testing scrub sessions

* Minor fixes from PR review.

---------

Co-authored-by: Rodel Calasagsag <rodel.calasagsag@automattic.com>
2023-07-17 22:42:45 +02:00
Paul Sealock 072606f0aa
Package Release: Fix fetch depth so Changelogger has history (#39239)
set fetch depth to 0
2023-07-18 08:19:23 +12:00
Sam Seay 957fb2b07e
Update pnpm to 8.6.5 (#38990) 2023-06-29 16:51:29 +12:00
Paul Sealock b6b093225e
Package release: Handle new package validation (#39008) 2023-06-29 13:28:19 +12:00
Sam Seay 625a3ae296
Fix the monorepo utils lint job (#38991)
* Fix lint issues in monorepo utils.
* Add monorepo utils to the lint CI.
2023-06-28 23:45:46 +12:00
Paul Sealock d53cfd4336
Monorepo Utils: Add changelog addition from actions (#38510) 2023-06-27 10:07:47 +12:00
jonathansadowski 3314855487
Create separate channel for cherry-pick notifications. (#38906) 2023-06-26 15:24:33 -05:00
Sam Seay b99f63769a
Remove a workflow that is not used and too old to trust (#38647)
Remove a workflow that is not used and too old to trust.
2023-06-22 22:24:02 +12:00
Chi-Hsuan Huang f937a3e61b
Add an action to add trunk to live branches manifest (#38419)
Add build-live-branch action to add trunk to live branches manifest
2023-05-29 12:08:32 +08:00
Christopher Allford 230bc04050
Updated `wp-env` To 8.0.0 (#38440) 2023-05-26 15:48:48 -07:00
Paul Sealock 7164093928
Workflows: Remove Github Actions Bot conditionals (#38438) 2023-05-25 12:00:22 +12:00
Paul Sealock 3e56cd54cf
Code Freeze: Fix outdated variables in Slack message (#38409)
add correct variables
2023-05-24 09:57:57 +12:00
Sam Seay 4b2bece1c2
Use the new slack util to send slack notification in code freeze (#38290) 2023-05-23 09:15:46 +12:00
nigeljamesstevenson ff50a69256
Remove the unnecessary `daily.playwright.config` (#38336) 2023-05-20 00:49:07 +01:00
nigeljamesstevenson c99d60647e
E2e/gutenberg latest nightly 0 (#38287) 2023-05-19 12:24:08 +01:00
Sam Seay 5ba15f84cd
Remove the code cov action from CI checks (#38314)
Remove the code cov action.
2023-05-19 13:29:17 +12:00
rodelgc 94b665817c Merge branch 'trunk' into e2e/remove-daily-playwright-config 2023-05-18 19:36:19 +08:00
Paul Sealock b7d17f3d8d
Code Freeze CLI Add changelog to code freeze action (#38264)
Add changelog CLI to code freeze action
2023-05-18 10:41:46 +12:00
rodelgc 58f113ec47 Remove daily playwright config 2023-05-18 00:21:26 +08:00
Paul Sealock 5013232b9e
Add Changelog Auto Add workflow for development (#38311)
* add basic workflow for testing

* better name
2023-05-16 13:13:31 +12:00
Christopher Allford dedf728d51
Support PHPUnit Tests In `wp-env` (#38265)
You can now run unit tests with `test:unit:env` after using
`env:test` to start the environment.
2023-05-15 09:47:50 -07:00
rodelgc 8114e90703 Enable all jobs in release workflow 2023-05-13 10:12:40 +08:00
rodelgc 149f83aa2e Enable all jobs in daily workflow 2023-05-13 09:31:55 +08:00
rodelgc 68cd32a55e Test Gutenberg and its nightly 2023-05-12 15:38:15 +08:00
rodelgc 57c6e4b63b Use pnpm script from package.json 2023-05-12 14:31:45 +08:00
rodelgc 56db033947 REplace repo field with slug 2023-05-12 14:29:37 +08:00
rodelgc e71537b118 Disable reporting 2023-05-12 13:05:52 +08:00
rodelgc 244c216c76 Update report job matrix 2023-05-12 12:32:31 +08:00
rodelgc 93bb793178 Comment all other jobs 2023-05-12 12:27:18 +08:00
rodelgc 074c8b871a Test Gutenberg and its nightly build 2023-05-12 12:21:23 +08:00
rodelgc 68fe31abe4
Send Slack summary of release test results (#38180)
Check out files from WIP branch
2023-05-11 14:29:12 -07:00
rodelgc a91e48f6ee Run only Gutenberg tests 2023-05-11 18:19:19 +08:00
Paul Sealock b581db2a7e
CLI Code Freeze: Prevent Slack Notification on the wrong day (#38177)
add better condidional
2023-05-11 09:52:56 +12:00
Jeffrey Paul df0583f9b8
Fix/37502: Correct spelling errors. (#37887)
* change reference of Catpure to Capture

Co-Authored-By: Vikram  <93216400+vikrampm1@users.noreply.github.com>

* change reference of expicitly to explicitly

Co-Authored-By: Vikram  <93216400+vikrampm1@users.noreply.github.com>

* change reference 'cutted' to 'cut'

* change reference 'determening' to 'determining'

* change reference 'retreive' to 'retrieve'

* change reference 'neccessary' to 'necessary'

* change reference 'Fitler' to 'Filter'

* change reference of "seperate" to "separate"

Co-Authored-By: Ankit K Gupta <ankit.himcs@gmail.com>

* change reference of "wether" to "whether"

Co-Authored-By: Sumit Bagthariya <67687255+qasumitbagthariya@users.noreply.github.com>

* change reference of "staus" to "status"

* change reference of "retrive" to "retrieve"

* change references of "gatways" to "gateways"

* change references of "existant" to "existent"

* change reference of "requries" to "requires"

* change reference of "configuation" to "configuration"

* change reference of "processsing" to "processing"

* change reference of "represenation" to "representation"

* change reference of "dimentions" to "dimensions"

* change references of "reigster" to "register"

* change reference of "colum" to "column"

* change reference of "transtions" to "transitions"

* change references of "intially" to "initially"

* change references of "orignal" to "original"

* change references of "deprected" to "deprecated"

* change references of "paramter" to "parameter"

* change reference of "intance" to "instance"

* change reference of "elemets" to "elements"

* change references of "funcitons" to "functions"

* change reference of "specificed" to "specified"

* change references of "atributes" to "attributes"

* change reference of "tast" to "task"

* change reference of "chaning" to "changing"

* change reference of "retreiving" to "retrieving"

* change reference of "caluclation" to "calculation"

* change references of "Invaid" to "Invalid"

* change references of "paramaters" to "parameters"

* change reference of "Additonal" to "Additional"

* change reference of "teh" to "the"

* change reference of "evalutes" to "evaluates"

* change reference of "addedd" to "added"

* change reference of "excempt" to "exempt"

* change reference of "sequencially" to "sequentially"

* change reference of "previos" to "previous"

* change reference of "elegible" to "eligible"

* change references of "Boostrap" to "Bootstrap"

* change references of "compability" to "compatibility"

* change reference of "heirarchy" to "hierarchy"

* change references of "visibilty" to "visibility"

* change reference of "comparsion" to "comparison"

* change reference of "capabilties" to "capabilities"

* change reference of "datatores" to "datastores"

* change reference of "occured" to "occurred"

* change reference of "coresponding" to "corresponding"

* change references of "thier" to "their"

* change reference of "sucessfully" to "successfully"

* change reference of "insde" to "inside"

* change reference of "nagivation" to "navigation"

* change references of "visiblity" to "visibility"

* change reference of "documentaiton" to "documentation"

* change reference of "anayltics" to "analytics"

* change reference of "intalling" to "installing"

* change reference of "mininum" to "minimum"

* change references of "intial" to "initial"

* change reference of "Feld" to "Field"

* change reference of "taks" to "task"

* change reference of "trasnfer" to "transfer"

* change reference of "respone" to "response"

* change reference of "Extenstions" to "Extensions"

* change reference of "detault" to "default"

* change reference of "simultanious" to "simultaneous"

* change reference of "overides" to "overrides"

* change references of "Indvidual" to "Individual"

* change reference of "refering" to "referring"

* change reference of "aginst" to "against"

* change reference of "execuatable" to "executable"

* change reference of "repsonse" to "response"

* change reference of "documention" to "documentation"

* change reference of "asumed" to "assumed"

* change reference of "Minium" to "Minimum"

* change reference of "unqiue" to "unique"

* change references of "existance" to "existence"

* change reference of "compatability" to "compatibility"

* change reference of "Taxnomy" to "Taxonomy"

* change reference of "quering" to "querying"

* change reference of "retrun" to "return"

* change reference of "informations" to "information"

Co-Authored-By: Viktor Szépe <viktor@szepe.net>

* Add changelog

* Add changelog

* Fix typo

---------

Co-authored-by: Vikram  <93216400+vikrampm1@users.noreply.github.com>
Co-authored-by: Ankit K Gupta <ankit.himcs@gmail.com>
Co-authored-by: Sumit Bagthariya <67687255+qasumitbagthariya@users.noreply.github.com>
Co-authored-by: Viktor Szépe <viktor@szepe.net>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-05-08 15:55:09 +08:00
Paul Sealock 98fc65ce02
Code Freeze CLI: Use version bump command in Code Freeze action (#38067)
get basic thing working
2023-05-04 09:12:20 +12:00
Sam Seay 5f3a78b324
Remove bypass script that is causing CI checks to fail (#38037)
Remove bypass script that is causing CI checks to fail.
2023-05-03 19:30:41 +12:00
Sam Seay 46aa3f2aa1
Add check for bot author to steps that should be skipped (#37949)
Add check for bot author to steps that should be skipped.
2023-05-02 15:21:35 +12:00
Christopher Allford 86c102a5ed
Fixed `review-testing-instructions.yml` Workflow Permissions (#38032) 2023-04-28 00:55:10 -07:00
Paul Sealock a303df0da5
Monorepo utils: Fix GitHub flag (#38023)
move source files
2023-04-28 12:31:33 +12:00
Paul Sealock ce7733ae78
Monorepo Utils: Migrate cli-core (#38018)
* move source files

* add uuid type dependency
2023-04-28 10:16:19 +12:00
Paul Sealock 95dc211bf5
Code Freeze CLI: Add branch and milestone commands to Code Freeze action (#37948)
* Add milestone computation cli

* lock file update

* lock file update

* conflicts

* fixup
2023-04-27 09:02:32 +12:00
Paul Sealock 64c2526b98
Update WooCommerce support policy to L-1 (#37970) 2023-04-27 08:41:31 +12:00
Sam Seay 7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 (#37915) 2023-04-25 18:49:30 +12:00
Chi-Hsuan Huang 8b99b3f099
Drop WP 5.9 from CI (#37807) 2023-04-20 09:47:30 +08:00
Paul Sealock a4c8166a0e
Code Freeze CLI: Make sure a default value exists for override (#37778) 2023-04-20 07:07:54 +12:00
rodelgc dfb23eaccc Add steps to setup dependencies 2023-04-19 15:51:11 +08:00
rodelgc f1d72977c1 Add if condition 2023-04-19 15:32:52 +08:00
Paul Sealock 0fda297965
Monorepo Utils: Move postinstall build to local package.json (#37688)
* add warning if package hasn't been built yet

* move postinstall script

* remove extra build in highlight flow
2023-04-14 10:11:13 +12:00
Paul Sealock 78ff0195b9
Monorepo Utils: Add Code Freeze date function (#37589) 2023-04-13 09:28:53 +12:00
Paul Sealock c4a7e9a11b
Monorepo CLI tooling: Set folder organisation (#37561) 2023-04-12 09:26:21 +12:00
jonathansadowski 6e5ce6d028
Pin to pnpm 7 in highlight changes workflow (#37476) 2023-03-28 10:37:46 -05:00
rodelgc f3366e7dd9
Fix incorrect workflow input for uploading Allure reports on PR merge tests (#37404)
* Fix incorrect input parameter

* Add changelog
2023-03-23 16:29:53 +01:00
nigeljamesstevenson 189460417c
Release tests with plugins installed (#37361) 2023-03-23 12:32:30 +00:00
Alejandro López Ariza c3994e6f9d
Add workflow to remind PR reviewers to also review the testing instructions. (#36918)
* Add workflow to remind PR reviewers to also review the testing instructions.

* Update review-testing-instructions GitHub Actions workflow to also mentioning teams in the comment.

* Update review-testing-instructions GitHub Actions workflow to find if the comment it posts was already posted and - in that case - update it instead of creating a new one.

* Pin find-comment and create-or-update-comment thirdparty GitHub Actions to full length commit SHA instead of tag for better security.
2023-03-22 12:50:36 +01:00
rodelgc ef1f1c3757 Re-enable all tests 2023-03-22 19:38:01 +08:00
rodelgc 524ad3db3e Test artifact upload 2023-03-22 19:12:23 +08:00
rodelgc 06da097968 Merge branch 'trunk' into e2e/release-plugins-0 2023-03-22 18:04:42 +08:00
rodelgc 17ae0a489f Remove test filters 2023-03-22 17:45:09 +08:00
nigeljamesstevenson c37080f29f
Add workflow to run API, k6 performance, and E2E tests on trunk after PR merge (#37033) 2023-03-22 09:44:36 +00:00
rodelgc 5f8aa3671c Merge branch 'trunk' into e2e/release-plugins-0 2023-03-22 17:29:08 +08:00
rodelgc 65c698a386 Remove unnecessary dash 2023-03-18 08:37:39 +08:00
rodelgc a80f65cc11 Add run number 2023-03-18 08:36:22 +08:00
rodelgc 45071f2f03 Simplify upload scripts 2023-03-18 08:29:56 +08:00
rodelgc 2110d011ae More accurate step name 2023-03-18 08:02:43 +08:00
rodelgc ad8d2f9b44 More readable artifact names 2023-03-17 20:31:10 +08:00
rodelgc 9503868d71 Set environment descriptions 2023-03-17 20:16:01 +08:00
rodelgc b95b9000ce Fix artifact name 2023-03-17 18:13:43 +08:00
rodelgc bc44562329 Fix dependent job id 2023-03-17 18:07:32 +08:00
rodelgc 6a2239183d Remove install-filters in plugin tests 2023-03-17 17:55:55 +08:00
rodelgc 99e243a347 Shorten job name 2023-03-17 17:53:55 +08:00
rodelgc b7cb3f8284 Correct if condition 2023-03-17 17:52:11 +08:00
rodelgc b2e7478a30 Only run hello API tests 2023-03-17 17:48:26 +08:00
rodelgc f7c7a2c451 Add plugin tests 2023-03-17 17:47:28 +08:00
Vedanshu Jain ade1540ece Merge branch 'trunk' into hpos/unit-tests 2023-03-17 13:39:19 +05:30
rodelgc 76dca5548b Use separate files 2023-03-17 15:41:06 +08:00
rodelgc 94eff753be Specify allure report and results dirs 2023-03-16 16:09:53 +08:00
rodelgc be550fec19 Use e2e and api composite actions in wp and php version tests 2023-03-16 15:13:41 +08:00
rodelgc 8b44038699 Run e2e-wp-latest 2023-03-16 13:38:29 +08:00
rodelgc 10029d0007 Skip e2e-wp-latest for now 2023-03-16 11:13:00 +08:00
rodelgc f89dd7e2c5 Use `run-api-tests` action 2023-03-16 11:08:46 +08:00
rodelgc e914281652 Revert to using E2E_WP_LATEST_ARTIFACT 2023-03-16 10:00:49 +08:00
rodelgc 4ca522a16d Fix env var reference 2023-03-16 09:49:28 +08:00
rodelgc 891942ac7c Correct artifact name 2023-03-16 09:45:33 +08:00
rodelgc 71c008eb7e Use e2e composite actions on update wc test 2023-03-16 08:52:33 +08:00
jonathansadowski adffb280f8
Remove broken workflow for bypassing changelog-only PRs (#37216) 2023-03-15 17:20:13 -05:00
Tam Mullen 562fede1e2
Update the CI workflow to include WP 6.0 and 5.9 (#37180)
Update the CI workflow to include WP 6.0 and 5.9 matching our L-2 support policy
2023-03-15 15:49:33 +00:00
rodelgc b1ed8511dc
Update k6 job name
Co-authored-by: Leif Singer <leif@automattic.com>
2023-03-13 08:37:30 +08:00
Vedanshu Jain f497146de9
Merge branch 'trunk' into hpos/unit-tests 2023-03-10 15:21:57 +05:30
jonathansadowski 4ebd35b41d
Update automation bypass to work correctly, consider actions bot. (#37045) 2023-03-09 17:10:33 -06:00
Sam Seay bec3ec18ac
Update Syncpack and use it to pin @wordpress packages to wp-6.0 (#37034) 2023-03-09 10:13:25 +13:00
rodelgc b60cc128fd
Allow running of "Smoke test release" on draft releases (#36997)
* Conditionally use authorization token when getting WC Zip download URL.

* Exponse error message

* Handle undefined authorization token more gracefully

* Specify GH token in workflow

* Add changelog

* Use E2E_GH_TOKEN instead of default github.token

* Provide GitHub token to other jobs

* Fix getting of tag name from triggered event

* Use "inputs" context instead

* Add release version to workflow name

* Correct concurrency group

* Fix workflow name

* Add --archive option

* Fix output setting

* Fix script for verifying asset

* Remove unnecessary 'uses' line

* Remove node 12 deprecation messages

* Re-add "published" release type
2023-03-08 10:23:56 +01:00
rodelgc 46300131ff
Correct `UPDATE_WC` value in the "Smoke test daily" workflow (#37049)
* Correct UPDATE_WC value

* Add changelog
2023-03-03 13:58:21 +01:00
Rodel ad61d474d5 Correct step id 2023-03-02 22:01:52 +08:00
rodelgc a5d8898ba1 Add in files from working branch 2023-03-02 17:57:41 +08:00
Paul Sealock da1dce8f19
Package Release: handle initial release case (#36922) 2023-02-28 09:36:38 +13:00
rodelgc ea1925c841
Enable "Smoke test release" workflow (#36598)
* First pass at updating release test workflow

* Add changelog

* Set dir env variables

* Update to workflow

* Fix indent

* Fix indent

* Clean up indent

* Re-order steps

* Change order of jobs

* Added common php versions

* Update pipeline

* Update some labels

* Simplify for testing

* Update paths

* Create tmp folder

* Fix path

* Paths

* Try outputting some debugging

* Add step ID back

* Remove working directory

* Another path tweak

* Add API release tests

* Add k6 tests

* Add PHP tests

* Launch wp-env during PHP tests

* Try default values

* Tweak some settings, add WP testing

* Tweak some settings

* Re-order e2e steps

* Update step descriptions

* Reorganize tests, add plugin tests

* Enable only e2e job

* Initial set up to run against release smoke test site

* Fix syntax

* Temporarily disable update wc spec

* Temporarily disable downloading woocommerce zip

* Download release zip using tag name

* Fix wrong job name

* Fix wrong job name

* Fix dir

* Delete fetch-asset-id.js

* REfactor update-woocommerce spec

* Add error handling

* Download release zip by tag

* Refactor update woo spec to download zip by tag

* Correct job name

* fail test on invalid tag

* Enable all e2e tests

* Run api tests before e2e tests

* Fix job dependency

* Add customer credentials to api job

* Separate job for WC Update

* Combine e2e allure-results, then report

* Enable report job

* Fix context

* Change job and artifact names

* Use test s3 path

* Minor job name change

* Upload artifacts to bucket

* Correct s3 path

* Add quiet option

* Retain video on failures

* Finalize s3 path

* Try WP latest-1

* Revert to wp latest

* Refine search for woocommerce zip asset

* Get created-at

* Specify repo in gh command

* Slugify env description

* Trim space

* Sync with bucket instead of copy

* Remove invalid --recursive flag

* Re-add missing step to combine e2e results from update wc test

* Ensure artifact upload on test failure

* Enable all e2e tests on WP latest

* Retain existing data before updating WC

* Make test compatible with 'Canceled' and 'Cancelled'

* Set env_desc as env var

* Re-add deleted file

* Fix UPDATE_WC in daily smoke test workflow

* Add tracing in global setup

* Remove tracing

* Temporarily run only basic spec

* Job for WP Latest-1 & 2

* Fix "Required input 'created_at' not provided"

* Minor rename

* Remove install filter

* Install deps in get-wp-matrix

* Delete get-wp-versions.js

* Add get-wp-versions.js to e2e-pw folder

* REname file

* REfactor

* Refactor script for getting WP prev versions

* Update job dependencies

* Temporarily remove disabled jobs

* Allow e2e-wp-latest after api test failure

* Update L-1 & L-2 job deps

* Fix report-wp-latest

* Fix failing api test

* Make get-wp-versions quicker

* Publish report immediately after test

* Test reporting in e2e-update-wc

* Fix missing parameter

* Fix env_desc, re-enable other jobs

* Enable all e2e tests

* Minor job name change

* Fix flaky test

* Add php version testing

* stringify php versions

* Re-enable all e2e tests

* Up timeout to 2min

* Remove PHP 8.0

* Add missing conditionals

* Fix php version verification script

* Fix starting dir

* Fix flakiness

* Skip e2e if api failed

* Verify woocommerce.zip early

* Add token

* Delete test summary on github for the meantime

* Use default playwright config

* More meaningful variable names

* Update step titles based on review

* Use expect.poll()

* Minor spacing corrections

* Use `stable-check` endpoint, delete unnecessary loop

* Update locators to be JN-compatible

* Fix erroneous getting of release tag

* Fix conflict of "No thanks" button locator with that of WP Mail Logging's

* Update github-script action to v6

* Revert to 'Cancelled'

* Remove unnecessary step

* Provide missing env variables

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-02-27 12:11:46 +08:00
Vedanshu Jain 7f140c77ca Use latest WP version. 2023-02-24 17:02:36 +05:30
Vedanshu Jain 86e5f13180 Modify name to reflet HPOS tests + use latest WP.. 2023-02-24 17:02:05 +05:30
Vedanshu Jain 5c2ccb563b Run HPOS test in a matrix along with post tests. 2023-02-24 16:57:51 +05:30
Leif Singer 1b74871bae
Assign milestone only if a PR touches WooCommerce Core (#36897)
* Assign milestone only if a PR touches WooCommerce Core

* add woocommerce-admin to list of paths
2023-02-21 18:21:29 +01:00
jonathansadowski e8a170165a
Update the release date for code freeze action readme generation (#36877)
Update the release date for code freeze action
2023-02-20 18:00:14 +13:00
Sam Seay 79fa0b9413
Fix permissions for NPM package prepare script (#36732)
Contents write is needed to write to pull requests.
2023-02-14 00:27:50 +13:00
nigeljamesstevenson 7c84271ee2
update smoke test daily workflow to run api tests first (#36494) 2023-02-02 12:04:47 +00:00
nigeljamesstevenson add0c4a5be update after code review 2023-01-31 16:29:15 +00:00
Sam Seay 341541964c
Update action dependencies to remove set-output and save-state warnings (#36549) 2023-01-27 20:26:54 +13:00
nigeljamesstevenson 7cf1599208 update smoke test daily workflow to run api tests first 2023-01-18 17:12:55 +00:00
Vedanshu Jain 8079c157bc Remove commented out code for cleaniliness. 2023-01-18 13:03:17 +05:30
Sam Seay d181008ac4
Fix TS issues and lint the release post tool by running `tsc` (#36412) 2023-01-18 18:43:22 +13:00
Sam Seay b1f80c1271
Create a manually triggered workflow to release WooCommerce Beta Tester (#36387) 2023-01-18 18:42:46 +13:00