Commit Graph

33 Commits

Author SHA1 Message Date
Felipe Knorr Kuhn
212cced969
Update the recommended node version to v16.5.0 (LTS) 2022-05-09 21:59:09 -07:00
naveensrinivasan
8f8c22b829 Pin actions by SHA and set permissions for workflow
- Pinned dependencies https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies
- Restricting permissions for github actions https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
2022-03-11 22:48:15 +00:00
Felipe Knorr Kuhn
0c7a907451
Update Cypress event trigers to master and PRs 2022-02-07 21:15:40 -08:00
Felipe Knorr Kuhn
37ba43d0eb
Adjust merge messages and add tags for pushes and PRs 2022-02-07 20:50:10 -08:00
Felipe Knorr Kuhn
90784ea1ee
Update CI Cypress config to hit staging 2022-02-06 15:13:31 -08:00
Felipe Knorr Kuhn
7bb95ff177
Update Cypress GHA spec list 2022-01-20 21:43:13 -08:00
Felipe Knorr Kuhn
b6215dd54f
Enable dependency caching on e2e GHA 2021-12-07 21:27:22 -08:00
Felipe Knorr Kuhn
69d5cfe98e
Use node 16.10.0 on the e2e GHA 2021-12-07 21:22:21 -08:00
Felipe Knorr Kuhn
cbeeef3b2c
Remove BASE_MODULE from the GHA env vars as we read from the config now 2021-10-27 20:52:50 -07:00
Felipe Knorr Kuhn
278c2b9aae Fix typo on liquid setup 2021-08-17 16:38:51 -07:00
Felipe Knorr Kuhn
944246fcf5 Allow test jobs to run regardless of previous failures 2021-08-17 16:26:19 -07:00
Felipe Knorr Kuhn
03d87f4993 Add the Cypress env vars to the new test configs 2021-08-17 16:14:19 -07:00
Felipe Knorr Kuhn
cf8cab5f77 Temporarily enable cypress debug logs on GHA 2021-08-17 16:08:47 -07:00
Felipe Knorr Kuhn
49d1376647 Update cypress test config 2021-08-17 15:55:00 -07:00
Felipe Knorr Kuhn
a6d34ba4f1 remove firefox from test matrix 2021-08-03 21:20:05 -07:00
wiz
5548d08a9e
Remove debug env var for cypress testsuite runs 2021-08-03 12:20:55 +09:00
wiz
91a37d8fe8
Add [push, pull_request] to cypress GHA workflow 2021-07-29 23:58:25 +09:00
Felipe Knorr Kuhn
59cd80b6d1
remove windows from test matrix (#666) 2021-07-27 02:47:32 +03:00
Felipe Knorr Kuhn
60d8697b09
Cypress browser matrix (#665)
* use cypress matrix

* fix workflow indentation

* fix workflow job name

* add dummy containers for parallelization
2021-07-27 03:23:35 +09:00
wiz
41aa1248be
Pass GITHUB_TOKEN to Cypress workflows, revert back to on "push" 2021-07-27 01:48:53 +09:00
wiz
cedd94c654
Set GitHub Action for Cypress to pull_request instead of push 2021-07-26 15:47:13 +09:00
Felipe Knorr Kuhn
9e46cde9b7
Updates to the e2e suite (#659)
* initial version of the update config script

* fix duplicated content

* update cypress ci settings

* add workflow to run e2e tests when pushing

* record cypress results to the dashboard

* pull the cypress record key and project id from the secrets

* add start-server-and-test to replace concurrently

* replace concurrently with start-server-and-test

* remove concurrently

* add new cypress target to record

* update cypress to 7.7.0

* add tests for signet

* add tests for testnet

* run tests on chrome and firefox

* update test matrix: add edge and run firefox on container

* fix copypasta

* update docker image for firefox

* fix task name again

* fix edge tests task name

* improve bisq tests

* update workflow config

* enable cypress debug logs

* add a manual trigger for the e2e tests

* add config:defaults target

* use more of the GHA options

* fix config command

* add cypress-fail-on-console-error

* upgrade cypress to v8.0.0

* add helper to wait for the loader skeleton to be gone

* use skeleton waiter on the tests

* remove manual test trigger

* fix tv test when only one mempool block is available

* add waiter for pagination

* add extra steps to debug firefox launch issue

* remove whoami step

* Revert "upgrade cypress to v8.0.0"

This reverts commit cb3ff7d906.

* remove userinfo debug step

* enable test retries in run mode

* update proxy config to reduce ECONNRESET errors

* add mock-socket dev dependency

* add helpers to mock websockets and detect page idleness

* stabilize mainnet tests

* fix tv mode test on Liquid

* add basic tests for the mainnet status page

* cleanup mainnet tests

* update bisq tests

* update signet tests

* update testnet tests

* add initial support for parameterized websocket mocks

* move testing dependencies to optionalDependencies

* comment out mempool size check until the live updates are fixed

* comment out tx regex test

* update fixture for the new difficulty adjustment component

* fix the assertions on the status page
2021-07-25 21:03:47 +03:00
Felipe Knorr Kuhn
8574ee6edd push both tag and latest images at the same time 2021-06-26 10:29:08 -07:00
Felipe Knorr Kuhn
f937ea5745 fix missing backslash 2021-06-26 00:38:18 -07:00
Felipe Knorr Kuhn
ca91afe45b update GHA workflow to expose the short sha to docker 2021-06-25 23:46:56 -07:00
Bastien Guillaumat
20ff62779d
Re-implement Docker workflow using GitHub Actions (#326)
* Recreate a docker dir with all docker files inside and add init.sh
* Add docker/README.md with example docker-compose.xml
* Add mysql vars for mempool-config.json
* Port can be set from env var in docker-compose.xml
* Update docker-compose.xml example to use latest tag
* Remove armv7 architecture from build workflow
* Remove master git-hash file
* Remove useless ':' in sed
2021-02-10 22:51:01 +09:00
wiz
4e4f655be4
Rename repos on DockerHub to mempool/frontend and mempool/backend 2021-02-03 17:07:12 +09:00
wiz
985df53af6
Remove mempool-mysql Dockerfile target 2021-02-03 16:41:28 +09:00
wiz
ace480e3c7
Fix name and target tag of GitHub Actions workflow 2021-02-03 16:37:11 +09:00
wiz
e670172979
Disable building mempool-mysql Dockerfile from GitHub Action workflow 2021-02-03 16:30:42 +09:00
wiz
7ddbf5d3df
Disable using docker buildkit in GitHub Action workflow 2021-02-03 16:28:37 +09:00
wiz
264bca9c56
Fix space indentation in .github/workflows/on-tag.yml 2021-02-03 16:18:00 +09:00
wiz
b53d364877
Add new GitHub action workflow on-tag to build and push to DockerHub 2021-02-03 16:08:59 +09:00