Commit graph

5 commits

Author SHA1 Message Date
Gianluca Zuccarelli
cb6f2573d0 Konflux: fix cockpit workaround
Limit the cockpit workaround to only delete the `cockpit` directory at
the root of the project. Otherwise this command would delete some of the
mocks that we need to compile the project.
2024-12-21 08:19:15 -06:00
Sanne Raymaekers
6070641028 ci.sh: let the webpack plugin do the sentry debug id injecting 2024-12-11 16:58:58 +01:00
Sanne Raymaekers
3addcf66f4 ci.sh: inject debug ids using sentry-cli
Since we're building with konflux now, we lost the debug ids. By
injecting the debug ids in konflux we regain unminified sourcemaps in
sentry. Note that jenkins will continue to upload the sourcemaps, which
are tied to specific releases, we just need the debug ids to be in the
production artefacts.
2024-12-10 09:16:25 +01:00
Sanne Raymaekers
7d9f4b9c62 ci.sh: export sentry variables before calling build
Otherwise fec doesn't pick them up.
2024-11-15 10:50:03 +01:00
Lucas Garfield
c833e5f01b Konflux: Add ci.sh with workaround for Konflux pipeline
The Konflux pipeline clones the repo twice, making a nested clone
under ./source/source which causes webpack to break when the Cockpit
webpack configuration is present. `source ci.sh` is run at the
beginning of the Konflux pipeline and as a workaround for now we
simply remove everything related to Cockpit - this is fine as none of
it is needed for the service to run.
2024-10-30 10:36:18 -05:00