split prometheus api and go tests

26 views
Skip to first unread message

Julien Pivotto

unread,
Apr 8, 2020, 5:23:55 PM4/8/20
to prometheus-developers

Hi there,

What would you think of splitting React and Golang tests in 2 different
circleci jobs?

React is not predictable as we don't really pin dependencies, and a
failure there implies that go tests don't run.

--
(o- Julien Pivotto
//\ Open-Source Consultant
V_/_ Inuits - https://www.inuits.eu
signature.asc

Ben Kochie

unread,
Apr 9, 2020, 3:01:08 AM4/9/20
to Julien Pivotto, prometheus-developers
Seems like a good idea to me. It can also run the tests in parallel.

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/20200408212352.GA5655%40oxygen.

Bartłomiej Płotka

unread,
Apr 9, 2020, 3:15:17 AM4/9/20
to Ben Kochie, Julien Pivotto, prometheus-developers
Yes, please!

Also, we can think later on crafting some different matchers for which files should trigger which job! Thanks for proposing this (: 

check what file has changed or something.

Bartek

Ben Kochie

unread,
Apr 9, 2020, 3:51:00 AM4/9/20
to Bartłomiej Płotka, Julien Pivotto, prometheus-developers
Something, something, gitlabci[0]. ;-)

react-test:
  only:
    changes:
    - web/ui/react-app/**

Bartłomiej Płotka

unread,
Apr 9, 2020, 4:05:39 AM4/9/20
to Ben Kochie, Julien Pivotto, prometheus-developers
Nice! I guess you cannot use GitLab CI while having repo on GitHub? 🤔

Bartek

Ben Kochie

unread,
Apr 9, 2020, 4:23:44 AM4/9/20
to Bartłomiej Płotka, Julien Pivotto, prometheus-developers

Bartłomiej Płotka

unread,
Apr 9, 2020, 5:18:17 AM4/9/20
to Ben Kochie, Krasimir Georgiev, Julien Pivotto, prometheus-developers
I don't see why not... Especially that we would have help and knowledge from you! (: 

We would be actually super interested to see if GitLab would sponsor us some CI that would be stable for benchmarks cc @Krasimir Georgiev 
Similar in Thanos... since GitLabe use Thanos (: 

In Thanos we tried to run our benchmarks on-demand/on each PR with GithubActions and failed miserably: https://github.com/thanos-io/thanos/pull/2233 Wonder if GitLab would have some more stable environment for our Prometheus Ecosystem projects to have more trust in what we merge.

Bartek
Reply all
Reply to author
Forward
0 new messages