daml/ci
Moritz Kiefer dba114a283
Merge Maven uploads for different Scala versions (#8943)
* Merge Maven uploads for different Scala versions

It turns out Maven will abort an existing staging operation if you
create a new one. This means our jobs race against each other. We
could try to fix that by either sequencing the jobs in a clever
way (annoying and can break things like rerunning if only parts
failed), or by creating more profiles (unclear if you can even have
two profiles for the same group id, even if you do, it’s annoying to
merge).

So in this PR I (grudgingly) merged both uploads into the Haskell
script. This isn’t all bad:

1. It moves some logic from bash embedded in yaml string literals into
Haskell code.
2. It duplicates some versions but it removes duplication in other
places so overall not too much worse.
3. It does however, make things slower. We don’t run this stuff in
parallel. That said, the release step is relatively small (< 5min) and
it only runs on Linux.

We could add CLI arguments to make the Scala versions configurable for
local development. Given that this is blocking releases, I wanted to
get something in that works first and then see what we need in that regard.

changelog_begin
changelog_end

* .

changelog_begin
changelog_end

* .

changelog_begin
changelog_end

* .

changelog_begin
changelog_end
2021-02-24 20:33:53 +00:00
..
cron run PR builds on NOTICES updates (#8931) 2021-02-24 13:36:51 +00:00
da-ghc-lib update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
docker Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00
patch_bazel_windows Upgrade to Bazel 4.0 (#8798) 2021-02-11 10:08:47 +01:00
bash-lib.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
build-unix.yml Merge Maven uploads for different Scala versions (#8943) 2021-02-24 20:33:53 +00:00
build-windows.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
build.yml Merge Maven uploads for different Scala versions (#8943) 2021-02-24 20:33:53 +00:00
check-changelog.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
clean-up.yml ci/linux: kill machines if they fail to clean up (#8835) 2021-02-12 19:32:14 +01:00
clear-shared-segments-macos.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility_ts_libs.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility-windows.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
configure-bazel.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
daily_tell_slack.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
dev-env-install.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
dev-env-push.py update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
postgresql.conf CI: Increase the PostgreSQL connections from 100 to 200. (#6647) 2020-07-08 10:49:11 +00:00
prs.yml skip Oracle test on forks (#8930) 2021-02-24 12:19:57 +00:00
report-end.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
report-start.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
slack_user_ids stop notifying shayne on pr builds (#7581) 2020-10-06 14:20:43 +02:00
tell-slack-failed.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
windows-diagnostics.ps1 windows: CI agent diagnostics (#1146) 2019-05-15 11:59:56 +02:00