Skip to content

Kd/ci playwright go test #20123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 58 commits into from
Sep 2, 2022
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
ccd6923
Add initial playwright config
kdumontnu Jun 22, 2022
601a656
Simplify Makefile
kdumontnu Jan 31, 2022
e307d34
Simplify Makefile
kdumontnu Feb 1, 2022
935aef0
Use correct config files
kdumontnu Feb 1, 2022
c54cb84
Update playwright settings
kdumontnu Feb 6, 2022
5deabe5
Fix package-lock file
kdumontnu Feb 6, 2022
6589fc7
Don't use test logger for e2e tests
kdumontnu Feb 7, 2022
1055426
fix frontend lint
kdumontnu Feb 7, 2022
8e88806
Allow passing TEST_LOGGER variable
kdumontnu Feb 7, 2022
606f1ab
Init postgres database
kdumontnu Feb 7, 2022
3017e55
use standard gitea env variables
kdumontnu Jun 22, 2022
d557713
Update playwright
kdumontnu Jun 22, 2022
d19c959
update drone
kdumontnu Jun 23, 2022
ba57344
Move empty env var to commands
kdumontnu Jun 23, 2022
5ebadc5
Cleanup
kdumontnu Jun 23, 2022
a099a57
Move integrations to subfolder
kdumontnu Jun 23, 2022
13e63f8
tests integrations to tests integraton
kdumontnu Jun 23, 2022
923f6de
Run e2e tests with go test
kdumontnu Jun 24, 2022
b7d5dbe
Fix linting
kdumontnu Jun 24, 2022
0c4d0f9
install CI deps
kdumontnu Jun 24, 2022
07ff4c5
resolve conflicts
kdumontnu Jun 27, 2022
3ca4887
Add files to ESlint
kdumontnu Jun 27, 2022
f6e637b
Fix drone typo
kdumontnu Jun 27, 2022
d395cc4
Don't log to console in CI
kdumontnu Jun 27, 2022
1e71627
Use go test http server
kdumontnu Jun 27, 2022
1ef5eca
Add build step before tests
kdumontnu Jun 27, 2022
b51d2bd
Move shared init function to common package
kdumontnu Jun 27, 2022
4a35208
fix drone
kdumontnu Jun 27, 2022
c3a2063
Clean up tests
kdumontnu Jun 28, 2022
c6a8aa0
Merge commit 'cdd6371ad484cce6233892d8f6744b52cd38e0c8' into kd/ci-pl…
kdumontnu Jun 28, 2022
27feb22
Fix linting
kdumontnu Jun 28, 2022
7933e44
Better mocking for page + version string
kdumontnu Jun 28, 2022
2861aa4
Cleanup test generation
kdumontnu Jun 28, 2022
adbd8a0
Remove dependency on gitea binary
kdumontnu Jun 28, 2022
fab88ea
Fix linting
kdumontnu Jun 28, 2022
32e3961
add initial support for running specific tests
kdumontnu Jun 28, 2022
cab441f
Add ACCEPT_VISUAL variable
kdumontnu Jun 28, 2022
2c98943
don't require git-lfs
kdumontnu Jun 28, 2022
56c877a
Add initial documentation
kdumontnu Jun 28, 2022
6c9224c
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Jun 29, 2022
49289b4
Review feedback
kdumontnu Jun 29, 2022
8802abd
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Jun 30, 2022
71a53bd
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Jul 5, 2022
db18686
Add logged in session test
kdumontnu Jul 6, 2022
3c9f161
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Jul 6, 2022
7feb192
Attempt fixing drone race
kdumontnu Jul 6, 2022
bbe663a
Cleanup and bump version
kdumontnu Jul 6, 2022
a5c8d13
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Jul 7, 2022
34f6364
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Jul 8, 2022
14af841
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Aug 31, 2022
72a3dc5
Bump deps
kdumontnu Sep 1, 2022
a18ed34
Review feedback
kdumontnu Sep 1, 2022
026dbaa
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Sep 1, 2022
b44459c
simplify installation
kdumontnu Sep 1, 2022
224d45a
Fix ci
kdumontnu Sep 1, 2022
3ebb9a2
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Sep 2, 2022
d06d1c9
Update install docs
kdumontnu Sep 2, 2022
c2dc4c7
Merge branch 'main' into kd/ci-playwright_go_test
kdumontnu Sep 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix drone
  • Loading branch information
kdumontnu committed Jun 27, 2022
commit 4a352082308a98ed3c6463f0a2046826a648edd6
29 changes: 6 additions & 23 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -528,33 +528,16 @@ services:
POSTGRES_INITDB_ARGS: --encoding=UTF8 --lc-collate='en_US.UTF-8' --lc-ctype='en_US.UTF-8'

steps:
- name: deps-frontend
image: node:16
pull: always
commands:
- make deps-frontend

- name: deps-backend
image: golang:1.18
pull: always
commands:
- make deps-backend
volumes:
- name: deps
path: /go

# Is this needed?
- name: build
image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
user: gitea
image: techknowlogick/xgo:go-1.18.x
pull: always
commands:
- ./build/test-env-check.sh
- make backend
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin
- make build
environment:
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
GOSUMDB: sum.golang.org
TAGS: bindata gogit sqlite sqlite_unlock_notify
depends_on: [deps-backend, prepare-test-env]
TAGS: bindata sqlite sqlite_unlock_notify
volumes:
- name: deps
path: /go
Expand Down