Commit graph

244 commits

Author SHA1 Message Date
Patryk Andrzejewski
34bf4731f4
Fix version check sh script (#3435) 2023-03-29 11:23:20 +02:00
Lukasz Ostrowski
5b945162a7
Remove legacy Marketplace code and env variables that it was using (#3342)
* Remove legacy Marketplace code and env variables that it was using

* Update locales
2023-03-14 12:17:19 +01:00
Cezary Miącz
63cf983ee8
Keep fake-production staging deployment up to date with latest master (#3157) 2023-02-14 14:41:46 +01:00
Michal Widera
987196635a
Add verification action if the image is using latest version (#3132) 2023-02-13 11:07:27 +01:00
Karolina Rakoczy
0af551eab0
Fix test nightly job (#3153) 2023-02-13 10:48:07 +01:00
Karolina Rakoczy
d07b7d912e
change cypress job title when triggering from PR (#3148) 2023-02-10 12:06:00 +01:00
Michal Widera
ba6c713dd7
Use GITHUB_OUTPUT instead of deprecated ::set-output (#3098) 2023-02-10 11:10:04 +01:00
Karolina Rakoczy
12650a2a7d
Add slack notification if workflow with cypress test fail (#3131)
* add notification if release job fails

* move slack notification to separate job
2023-02-10 10:04:12 +01:00
Karolina Rakoczy
9151fb77aa
Fix rate limits in release tests (#3106)
* Fix rates limits in release tests

* add authorization token to releases/latest request

* fix token

* add token
2023-02-08 09:22:35 +00:00
Lukasz Ostrowski
98ad73acdc
Assign new staging domain for Appstore env (#3114) 2023-02-07 08:27:20 +01:00
Lukasz Ostrowski
3d1fa0df35
Remove MARKETPLACE_URL env which was used for previous AppStore implementation (#3086) 2023-02-06 15:05:06 +01:00
Mika
84849f1eea
Allow v3.11 on demo staging (#3103) 2023-02-03 13:57:18 +01:00
Karolina Rakoczy
2958ab2ac5
Add notification if release job fails (#3080)
* add notification if release job fails

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>

---------

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>
2023-02-02 10:40:28 +01:00
Karolina Rakoczy
01172aed95
create env when minor release (#3041) 2023-01-25 17:38:36 +01:00
Karolina Rakoczy
d413c8e852
update tax configuration before creating vouchers (#2939) 2023-01-25 13:32:30 +01:00
Mika
c3a925d63d
Update CODEOWNERS (#3026) 2023-01-24 18:52:41 +01:00
Timur Carpeev
8e09d15522
Add playground headers (#3016)
* Add playground headers

* Small refactor, messages generation

* Small refactor, messages generation

* Ci

* Ci

Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-01-24 09:35:29 +01:00
Lukasz Ostrowski
076ea0ca66
Remove redundant envs from master.staging env (#3022)
These envs were not updated with last PR, from Marketplace/Appstore POV envs should be the same on staging and master.staging
2023-01-23 11:59:24 +01:00
Dawid
05b2da8082
Uncover new apps marketplace (#2993)
* Uncover new apps marketplace

* Update apps marketplace GitHub workflows envs
2023-01-19 14:15:46 +01:00
Cezary Miącz
f02a5a32e1
Retry failed CF cache invalidations (#2957) 2023-01-12 11:42:13 +01:00
Dawid
1621feb691
Apps marketplace (#2850)
* Add new Apps List

* Update apps routing

* Add marketplace apps list

* Update apps urls

* Update app list style

* Add installed apps section

* Update apps sections and connect actions with mutations

* Add latest missing buttons and labels to installed apps list

* Update installed apps list

* Update installed apps list

* Add tests and marketplace error handling

* Update environment configuration

* Update GitHub actions env configuration

* Refactor AppListCard component

* Test InstallWithManifestFormButton

* Test AppListCard

* Extract InstalledAppListRow with tests

* Update GitHub actions env configuration

* Tests of apps dialogs

* Update GitHub actions env configuration

* Update messages

* Update GitHub actions env configuration

* Quote untrusted GitHub actions variables

* Change useFetch to useMarketplaceApps and add tests

* Fix strict null check errors

* Refactor apps details components

* Add strict null checks for /new-apps/ components
2023-01-10 11:04:30 +01:00
Karolina Rakoczy
39ea58f02b
Fix comment on release PR if tests errored (#2915) 2022-12-27 12:22:16 +01:00
Tomasz Magulski
e77c20722e
[CLOUD-2287] Don't automerge CORE deployments to SANDBOXES (#2846) 2022-12-14 10:42:23 +01:00
Karol
9c605f8d1b
[cypress] add tests for gift cards bulk create and export (#2801)
* first draft

* fixed data-test-id

* done

* restore port for cypress

* change email

* pr improvments

* add csv check

* adjustments

* added check for xlsx

* change name

* change name

* remove cy log

* remove cy log

* add yaml cypress mailhog var
2022-12-13 08:04:54 +01:00
Anna Szczęch
20d79dce71
Update e2e.yml (#2778) 2022-12-07 10:16:15 +01:00
Lukasz Ostrowski
e06d3bdf0d
Improve dashboard and marketplace connection (#2666)
* Change env variables related to marketplace, add navigation item

* Change apps order

* Add button to browse marketplace

* Add redirect to Saleor Apps Marketplace on button click

* Move apps tabs state to URL

* Pass theme for initial marketplace iframe load

* Improve marketplace mount

* fix types

* fix cr

* Update env variables to disable marketplace on envs other than master staging

* Extract locales

* update snapshots
2022-11-30 17:20:20 +01:00
Karolina Rakoczy
689568694e
Fix tags in cypress nightly tests (#2745) 2022-11-30 17:15:39 +01:00
Karol
cf2b42f467
Update feature_request.md (#2661) 2022-11-29 14:32:48 +01:00
Karolina Rakoczy
c222657463
On release tests run only critical paths (#2663)
* In old version release run small package of most important tests

* add to releases tests for stocks, warehouses and orders

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>

* remove set-output command

* Fix set tags step

* Fix for url in release

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>
2022-11-25 10:13:13 +01:00
Lukasz Ostrowski
1beb8473aa
Fix master-staging api path (#2662) 2022-11-24 10:35:38 +01:00
Karol
6c96ce681b
Update bug_report.md (#2659) 2022-11-24 10:13:40 +01:00
Lukasz Ostrowski
9e351829c8
Change marketplace domain in master-staging (#2658) 2022-11-24 08:48:41 +01:00
Karolina Rakoczy
a3c011c9bf
Create workflow to run tests in loop for detecting flaky tests (#2547)
* Run cypress in repeat

* change node version

* install with frozen lock file
2022-11-17 13:52:58 +01:00
Karolina Rakoczy
3b99eb9033
Fix nightly tests after changing node to 18 (#2594)
* Add image with installed node 18 version

* increase memory limit
2022-11-17 13:42:28 +01:00
Karolina Rakoczy
3653653e29
Add sqash method when merging release pull requests (#2596) 2022-11-17 12:35:34 +00:00
Krzysztof Żuraw
ac063c6410
Update Dockerfile (#2523)
Co-authored-by: Francisco Marques <franciscopcmarques@gmail.com>
2022-11-16 16:01:34 +01:00
Karolina Rakoczy
1eecdfa5c1
Fix issue url in release PR (#2577) 2022-11-16 15:40:19 +01:00
Krzysztof Żuraw
a64ea3609d
Add explicit node version to nightly test job (#2576) 2022-11-16 11:53:50 +01:00
Krzysztof Żuraw
5bd79d9692
Upgrade node to 18 (#2533)
Co-authored-by: Karolina Rakoczy <karolina.rakoczy@saleor.io>
2022-11-15 15:41:46 +01:00
Anna Szczęch
1c70ad3a4b
Fix adyen tests (#2545)
* update adyen plugin before tests

* add payments tag to PR template
2022-11-14 15:56:50 +01:00
Karolina Rakoczy
33cfd21a76
Fix add comment to release PR with tests status (#2548) 2022-11-09 16:26:49 +01:00
Karolina Rakoczy
9d4c198140
Run cypress in repeat (#2537)
* Run cypress in repeat

* Update .github/workflows/cypress-repeat.yml

Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>

Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
2022-11-09 13:56:50 +01:00
Karolina Rakoczy
8ab097b7d3
Speed up releases (#2527)
* create issues on github, a add comment that can be merged if known bugs

* remove old lines for comment
2022-11-07 09:25:00 +00:00
Mika
47dce437b6
CODEOWNERS: require SRE approval for CI changes (#2529)
When a CI is added or changed, @cloud/sre should be reviewing the changes unless the changes are deployments, in which care @saleor/cloud will be reviewing.
2022-11-04 11:23:07 +01:00
Patryk Andrzejewski
223fe64456
Update CI workflow for demo staging (#2487) 2022-10-27 20:37:27 +02:00
Karolina Rakoczy
730e9da122
Revert "remove set-output command (#2450)" (#2460)
This reverts commit 96aad9d744.
2022-10-26 11:18:55 +02:00
Karolina Rakoczy
80ecb7bce3
Create workflow for building dashboard and executing tests (#2351)
* add workflow for deploying dashboard and running cypress tests

* deploy and run test with api

* Fix after review
2022-10-26 10:09:46 +02:00
Karolina Rakoczy
4d1e41517d
In old release versions run small package of most important tests (#2379)
* In old version release run small package of most important tests

* add to releases tests for stocks, warehouses and orders

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>

* remove set-output command

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>
2022-10-25 19:27:26 +02:00
Karolina Rakoczy
96aad9d744
remove set-output command (#2450) 2022-10-25 13:19:20 +02:00
Lukasz Ostrowski
d67e4799b2
Apps tabs (#2380)
* Add tabs to apps page

* Detect app in tunnel

* Disable manifest install if Saleor Apps context

* Show only app origin instead full manifest

* Add copy manifest feature

* Update tests

* Add ENV with marketplace endpoint for fetching saleor apps

* Fetch Saleor apps for Marketplace and display them in the tab, otherwise hide

* Code review fixes

* Extract translation messages

* Update tests
2022-10-20 13:35:31 +02:00
Ewa Czerniak
7aecd46ffd
refactor product variants tests (#2418) 2022-10-20 11:16:50 +02:00
Karolina Rakoczy
4c18f5ee34
add wait for cypress dashboard status and fix tag (#2411) 2022-10-20 12:55:27 +04:00
Karolina Rakoczy
9e38fdb69d
Extend description how to run automation tests in PR template (#2371) 2022-10-14 11:15:20 +04:00
Tomasz Magulski
42d999a222
Simplify name of a subdirectory, where to build Dashboard in GCP (#2373) 2022-10-13 09:20:41 +02:00
Karolina Rakoczy
b6644efa54
Fix tests nightly (#2368)
* Fix test nightly

* Fix nightly tests

* use same action for checkout in all places
2022-10-11 14:04:37 +02:00
Karolina Rakoczy
ed1c3abb33
Fix test nightly (#2362) 2022-10-10 12:47:00 +02:00
Karolina Rakoczy
e1c2e78b61
Upgrade saleor version before test run (#2349)
* on major versions workflow should first upgrade enironment

* use fetch()

* Change domain for url
2022-10-07 11:57:36 +02:00
Karolina Rakoczy
088555ce28
Fix revert to snapshot job (#2356) 2022-10-07 11:57:16 +02:00
Tomasz Magulski
58824f1486
Expose marketplace in Dashboard builds (#2108)
* Expose marketplace in Dashboard builds

* Use apps.saleor.io domain instead of one provided by Vercel
2022-10-05 13:02:53 +02:00
M.Graczyk
904556f728
Revert "on major versions workflow should first upgrade enironment (#2332)" (#2347)
This reverts commit a12a910f0b.
2022-09-30 16:00:52 +02:00
Karolina Rakoczy
af5166510a
swich snapshot in automation tests (#2342) 2022-09-30 15:08:56 +02:00
Karolina Rakoczy
a12a910f0b
on major versions workflow should first upgrade enironment (#2332) 2022-09-30 13:08:46 +00:00
Tomasz Magulski
781eafa68e
Deploy to GCP (#2327) 2022-09-27 13:51:27 +02:00
Ewa Czerniak
2bdd1311de
Refactor of tests in navigation.js (#2323) 2022-09-22 09:37:06 +00:00
Karolina Rakoczy
78ea5fb0f5
Add more machines for cypress release run (#2322)
* Add more machines to cypress tests on release
2022-09-22 09:15:28 +00:00
Karolina Rakoczy
1bbcdb4213
Fix revert to snapshot job (#2312)
* check if test workflow will pass

* check if test workflow will pass without cache

* check if ask about target url

* check if it work on windows

* check if it work on mac

* check if it work on ubuntu with node 16.0.0

* get list of installed

* run revert-to-snapshot job un macos
2022-09-16 10:21:24 +00:00
Ewa Czerniak
7a469029fd
fix for translation tests (#2306)
* fix for flaky chane user email tests and refactor of plugins tests

* fix for translation tests

* adding an option to run plugin tests in pull_request_temple

* adding an option to run translation tests
2022-09-15 08:28:46 +00:00
Karolina Rakoczy
81319a67a6
Add comment and link to release PRs (#2309)
* Fix comments on release PRs

* Fix adding comments

* Fix adding comments
2022-09-15 10:15:21 +02:00
Ewa Czerniak
65388acb0f
fix for flaky change user email tests and refactor of plugins tests (#2302)
* fix for flaky chane user email tests and refactor of plugins tests

* adding an option to run plugin tests in pull_request_temple
2022-09-15 07:34:31 +00:00
Karolina Rakoczy
2d9f3edf67
Run tests on selected tags (#2297)
* run tests on selected tags

* echo tags

* return result as string
2022-09-13 15:51:31 +02:00
Karolina Rakoczy
c524221a0f
Fix comments on release PRs (#2293)
* Fix comments on release PRs

* Update .github/workflows/approveAndMergeReleasePR.js

Co-authored-by: Mika <mikail.kocak@saleor.io>

Co-authored-by: Mika <mikail.kocak@saleor.io>
2022-09-07 17:07:55 +02:00
Karolina Rakoczy
105403e4ff
Fix nightly tests workflow (#2285) 2022-09-05 10:42:32 +02:00
Karolina Rakoczy
d13cf7d06d
leave comment if test fails (#2272) 2022-09-02 10:06:23 +02:00
Cezary Miącz
9dc3bf4949
Deploy v3.7 to demo (#2265) 2022-08-29 11:22:29 +02:00
Karolina Rakoczy
43be1d60e2
fix tests for stripe (#2260) 2022-08-26 13:03:29 +02:00
Lukasz Ostrowski
f292225951
Change CLI source to point to @saleor/cli in npm (#2252)
CLI is migrated to new namespace. 
Also, `@next` shouldn't be used on production code
2022-08-24 11:23:40 +02:00
Mika
f5f309d38f
Deploy demo for 3.6 tags (#2243)
This allows to automatically release 3.6 tags to demo.
2022-08-18 09:57:22 +02:00
Adrian Pilarczyk
6108c8a33c
chore: 🧑‍💻 change bug_report.md to contain explicit versions (#2230) 2022-08-17 09:27:21 +02:00
Karolina Rakoczy
fc15227b4c
Automatically merge dashboard release PRs after tests (#2226)
* Automatically merge release PRs after cypress tests

* Fix token

* add package.json to workflows directory

* revert package json to the state from main

* Merge only with auto release flag

* Add if to merge release job
2022-08-10 10:46:00 +02:00
Karolina Rakoczy
1f9b86e1ab
Upgrade node version in clear db job (#2217) 2022-08-09 10:57:15 +02:00
Mika
d0f20ddb0c
Revert "Automatically merge release PRs after cypress tests (#2211)" (#2225)
This reverts commit 8defc63a45.
2022-08-08 18:34:54 +02:00
Karolina Rakoczy
8defc63a45
Automatically merge release PRs after cypress tests (#2211)
* Automatically merge release PRs after cypress tests

* Fix token

* add package.json to workflows directory

* revert package json to the state from main
2022-08-08 15:58:39 +02:00
Karolina Rakoczy
6cd42b0ae8
Run cypress tests on correct branch (#2196) 2022-07-28 15:05:38 +02:00
Karolina Rakoczy
067148bc70
Fixed tests for stripe (#2177) 2022-07-18 14:11:17 +03:00
Karolina Rakoczy
7e4c6c8a7e
Add mailhog env to nightly tests (#2171) 2022-07-15 12:24:53 +03:00
Mika
d50b7ee939
Deploy demo for 3.5 tags (#2160)
This allows to automatically release 3.5 tags to demo.
2022-07-12 10:49:29 +02:00
Karolina Rakoczy
2c206e7eb6
Activate plugins on new snapshot (#2149)
* run critical tests

* run stable tests

* update snapshot to restore
2022-07-08 10:52:36 +03:00
Karolina Rakoczy
8a5db9ca26
Run only critical tests (#2143)
* run critical tests

* run stable tests
2022-07-06 18:27:09 +02:00
Karolina Rakoczy
13bd0c4784
fix get env from version regex (#2120)
* fix get env from version regex

* Fix regex
2022-07-06 10:05:17 +02:00
Karolina Rakoczy
9e43dd4ab1
Fix get correct domain from version (#2118) 2022-06-27 18:49:35 +02:00
Karolina Rakoczy
fd7813692a
Change way of tagging tests, add stable tag (#2102)
* change tags in tests

* change tags in tests

* add finde-names

* correct critical tag

* fix navigation

* remove comments

* fix config

* fix baseUrl port
2022-06-27 11:30:51 +02:00
Karolina Rakoczy
d48dcb87ab
Revert to snapshot (#2112)
* Use next tag for saleor cli

* Use dash instead of underscore for backup restore

Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com>
2022-06-23 11:16:06 +02:00
Karolina Rakoczy
6098bd293f
Automatically run automation test (#2110)
* add workflow for automatically run tests

* add event name

* add repository dispatch event to nightly tests

* fix not equal

* fix run on correct domain

* Run only on sandboxes and demo
2022-06-23 09:15:48 +00:00
Karolina Rakoczy
349133d922
Add workflow for automatically run tests (#2109)
* add workflow for automatically run tests

* add event name

* add repository dispatch event to nightly tests

* fix not equal
2022-06-22 13:15:59 +02:00
Karolina Rakoczy
8bd7824f27
skip webhook update (#2104) 2022-06-17 16:47:52 +04:00
Karolina Rakoczy
ac551e337e
add timeout to revert snapshot job (#2099) 2022-06-13 15:36:18 +04:00
Karolina Rakoczy
cfaf7cdc0d
Change titles in cypress dashboard (#2095)
* Change titles in cypress dashboard

* add url to title

* add url to title

* add ref name
2022-06-13 10:13:02 +04:00
Karolina Rakoczy
056b3501eb
Update Cypress Version (#2080)
* Update Cypress Version

* sparete specs with coma

* change workflows to use latest cypress verion
2022-06-08 12:33:11 +04:00
Wojciech Mista
c922dfb6fe
Application Marketplace available in dashboard (#2054)
* Add marketplace

* Update messages

* Extract styles

* Update test env

* Update config and rename uri

* Update template

* Trigger CI

* Possible fix

* Update deploy yml

* Add marketplace to staging

* Fix responsiveness

* Trigger CI

* Fix navigation tests (#2081)

* fix navigate through shop

* wait for progress bar not to exist

* simplify code

* add wait

* Fix navigate through shop (#2076)

* fix navigate through shop

* wait for progress bar not to exist

* simplify code

* Refine App about section (#2056)

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Fix app activation/deactivation

* Hide configuration url and policy if theres none

* Remove about and support links

* Remove unused code

* Update stories and tests

* Update messages

* Fix privacy policy

* Fix activation and "open app"

* Update tests

Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2022-06-08 08:44:28 +02:00
Karolina Rakoczy
8d361293c5
Add tags to tests runs (#2079)
* Add tags to tests runs

* remove unused workflow

* add tags in command

* add tags in command

* add tags in command

* add tags in command
2022-06-03 10:25:16 +02:00