Commit Graph

46 Commits

Author SHA1 Message Date
Uku Taht
8bdbabbdad
Enable Dialyzer and Credo in CI (#2315) 2022-11-04 23:42:03 -03:00
ruslandoga
ad10721d46
add v prefix to version tags in public images (#2340) 2022-10-19 09:09:09 -03:00
Adam Rutkowski
aa97e9cf89
Notify team on image build failures (#2331) 2022-10-13 11:41:05 -03:00
Uku Taht
2c2f710d24 Push public image 2022-10-11 13:35:34 +02:00
RobertJoonas
c0da024b23
Remove static tracker files (#2116)
* remove tracker files from git index

* generate tracker files on npm test

* generate tracker files for elixir tests/dev/CI

* update tracker/package-lock.json

* exclude npm run deploy from mix test + some docs
2022-10-11 12:19:28 +02:00
Uku Taht
eca71b9b60 Run CI against all supported PostgreSQL versions 2022-10-05 11:01:41 +03:00
FarisZR
620e29ab33
ARM64 support for docker images (#2103)
* Add ARM64 build

* Update CHANGELOG.md

* Update Docker arm PR number
2022-09-26 16:11:30 +03:00
Uku Taht
df9f96970c Clear github actions cache for Elixir compilation 2022-09-21 13:41:03 +03:00
Vinicius Brasil
54260c294f
Publish Elixir documentation to GitHub Pages (#2231)
* Install and setup ex_doc

* Create GitHub Action to publish docs
2022-09-16 10:56:35 +03:00
Adam Rutkowski
2692bf4e38
Build docker images with new tags (#2212)
* Build docker images with new tags

* Use single workflow to build all private images
2022-09-13 15:43:58 -03:00
Vinicius Brasil
7c24120ee1
Build Docker images for each PR (#2152)
* Create Action for building PR images

* Make master and stable private images

* Rename docker.yml to build-public-images.yml
2022-09-06 09:29:12 -07:00
Uku Taht
99fd101135
Add basic test harness for browserstack/playwright (#1961)
* Add basic test harness for browserstack/playwright

* Refactor the tests

* added the first test for outbound links

* tests for outbound-links and file-downloads

* added more browser versions to test on

* Lint tracker test files

* Update harness.js with BrowserStack example

* Fix Playwright request mocks

* Add test harness to CI

* Remove Safari on Windows from browsers list

Co-authored-by: Robert <robertjoonas16@gmail.com>
Co-authored-by: Vinicius Brasil <vini@hey.com>
2022-08-04 11:50:09 +03:00
Uku Taht
2b8e3ea62a
Use finch in sentry client (#1996)
* Introduce Finch for Sentry integration

* Make sure the DummyAgent can be started

* No need to sanitize the dsn, finch takes care of that

* Simplify the dummy child spec

* Annotate redirects clause

* Make use of new `get_int_from_path_or_env`

* Actually use finch in Sentry config

* Configure `excluded_domains` correctly for Sentry

The way sentry is configured currently, when we get an HTTP error it
will be logged twice - once from Sentry.PlugCapture and once from
Sentry.LoggerBackend. The logger backend module does the right thing
by default but for some reason we've been overriding the config
parameter that by default stops double-counting errors. This commit
returns to the default configuration which is better.

* Default to 15s timeout

* Attempt to send twice at most

* Warn in sentry client

* Use warn level in sentry client

Co-authored-by: Adam Rutkowski <hq@mtod.org>
2022-07-08 11:14:52 +03:00
Kian-Meng Ang
ae61aecfd0
Use erlef/setup-beam for GitHub Actions (#1880) 2022-06-06 10:42:24 +03:00
Uku Taht
b667d65d52 Move ARG to running container instead of build container 2022-05-27 15:24:11 +03:00
Uku Taht
f0e0062dc1 FIx typo 2022-05-27 14:49:04 +03:00
Uku Taht
5b5c70b82d Add build metadata to build arg 2022-05-27 14:30:21 +03:00
Uku Taht
afe2f6d8e1 Tag docker images during build 2022-05-27 14:09:57 +03:00
Uku Taht
da93f2aa6e Remove dead code 2022-05-27 10:52:58 +03:00
Uku Taht
db27aa48bb CI BS 2022-05-03 15:42:50 +03:00
Uku Taht
af4054ef84 CI BS 2022-05-03 15:41:36 +03:00
Uku Taht
28e19e9278 Print GITHUB_WORKSPACE 2022-05-03 15:21:02 +03:00
Uku Taht
7e143fc8ee Fix docker build 2022-05-03 15:06:20 +03:00
Uku Taht
d100f1400d Show version number 2022-05-03 12:14:38 +03:00
Adam from Buildjet
1146ec0960
BuildJet 4vCPU (#1523) 2021-12-08 15:57:15 +02:00
Uku Taht
bd64372e6b Install deps for tracker 2021-11-24 12:17:05 +02:00
Uku Taht
b83e7b9dc5 Build JS before measuring it 2021-11-24 12:06:28 +02:00
Uku Taht
fdac5e2be6 Add bundlemon 2021-11-24 11:55:14 +02:00
Uku Taht
05bf43c1be
City level location data (#1449)
* Merge branch 'plausible_master'

* Add City level details

* Add City level details

* Use ISO codes instead of geoname_id for subdivisions

* Add easier way to configure geolocation database

* Add workflow for dev branch

* Correct clickhouse migration

* Translate subdivision names

* Translate city names

* WIP

* Region and country filters

* Fix region filter

* Remove region_name when removing region filter

* Add modals for regions and cities

* Remove dead code

* WIP

* Revert "WIP"

This reverts commit 3202bf2fe9.

* Feature flag to hide cities when deployed

* Add changelog entry

* Remove unused code

* Remove unused variables

* Fix test

Co-authored-by: AymanTerra <aymanterra@yahoo.com>
2021-11-23 11:39:09 +02:00
Uku Taht
b01b569cd5 Update clickhouse version in tests 2021-11-16 10:45:21 +02:00
Uku Taht
497824d578 Add prefix to node action 2021-10-12 11:15:50 +02:00
Uku Taht
319abf082f Fix node Github action 2021-10-12 11:12:27 +02:00
Uku Taht
d1360dd681 Run npm lint and format in CI 2021-10-11 14:57:01 +02:00
Uku Taht
1e0c711506 Disable dialyzer in CI 2021-08-19 13:23:44 +03:00
Uku Taht
435c1289ae Clear github actions cache 2021-04-21 16:06:20 +03:00
Uku Taht
844af698ce
Embeddable dashboard (#812)
* Add embedded mode for shared links

* Add test for X-Frame-Options

* Improve embed code generator

* Add changelog entry

Co-authored-by: aymanterra <aymanterra@users.noreply.github.com>
Co-authored-by: Brad Kane <bradkane@users.noreply.github.com>
2021-03-10 14:41:17 +02:00
Oliver Kriska
ae42b86792
Dialyzer and Credo checks (#558)
* Checks

 - added Dialyzer
 - fixed Dialyzer errors
 - added Dialyzer check to GitHub Actions with cache
 - added Credo
 - fixed Credo Warnings
 - added Credo Warnings check to GitHub Actions with cache
 - added compile warnings check to GitHub Actions
 - reformated GitHub Actions YAML

* Dialyzer

 - allow it in test env

* Dialyzer

 - fixed test env
 - renamed GitHub actions steps

* AppSignal

 - upgraded deprecated version
 - Upgraded:
  appsignal 2.0.5 => 2.0.7
  certifi 2.5.2 => 2.5.3
  hackney 1.16.0 => 1.17.0
  idna 6.0.1 => 6.1.1
  parse_trans 3.3.0 => 3.3.1
  unicode_util_compat 0.5.0 => 0.7.0 (minor)

* Credo

 - fixed CRM plug
2021-01-07 15:16:04 +02:00
Uku Taht
2f29beea7d Update docker workflow 2020-12-29 16:44:36 +02:00
Uku Taht
88f2d3b26a Update docker workflow 2020-12-29 16:41:19 +02:00
Uku Taht
364693dab3 Add branch name 2020-12-29 16:35:48 +02:00
Uku Taht
9fe74af4c3 Add workflows on stable 2020-12-29 16:32:31 +02:00
Uku Taht
324d33a792
Update docker.yml 2020-12-29 16:25:40 +02:00
Uku Taht
634c6fe5fc
Update docker.yml 2020-12-29 16:22:00 +02:00
Uku Taht
333f358403
Cache docker builds 2020-12-29 16:17:39 +02:00
Uku Taht
7f7552cda2
Add docker action (#530) 2020-12-29 16:01:10 +02:00
Uku Taht
81c12884cd
Add elixir action (#526)
* Add elixir action

* Format the codebase

* Add postgresql

* Postgres config

* Run postgres on localhost

* Add clickhouse to CI
2020-12-29 15:17:27 +02:00