<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git/.gitlab-ci.yml, branch wip/b/fragile</title>
<subtitle>gitlab.haskell.org: ghc/ghc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/'/>
<entry>
<title>ghcup-metadata: Use Ubuntu and Rocky bindists</title>
<updated>2023-02-17T01:33:03+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2023-02-15T15:12:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=c6a967d9545ef5577514466f3fa6894f2899aff8'/>
<id>c6a967d9545ef5577514466f3fa6894f2899aff8</id>
<content type='text'>
Prefer to use the Ubuntu 20.04 and 18.04 binary distributions on Ubuntu
and Linux Mint. Prefer to use the Rocky 8 binary distribution on
unknown distributions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prefer to use the Ubuntu 20.04 and 18.04 binary distributions on Ubuntu
and Linux Mint. Prefer to use the Rocky 8 binary distribution on
unknown distributions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump Windows toolchain</title>
<updated>2023-02-03T19:07:30+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2023-01-11T02:49:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=b2bb3e62275cc1d9e00a2d5ed511843192133ed5'/>
<id>b2bb3e62275cc1d9e00a2d5ed511843192133ed5</id>
<content type='text'>
Updates to LLVM 14, hopefully fixing #21964.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updates to LLVM 14, hopefully fixing #21964.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump DOCKER_REV to use alpine image without LLVM installed</title>
<updated>2023-02-01T17:31:58+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2023-02-01T08:58:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=f94f14502a00824d48cef69d362774a9a4bfc6d6'/>
<id>f94f14502a00824d48cef69d362774a9a4bfc6d6</id>
<content type='text'>
alpine_3_12 only supports LLVM 10, which is now outside the supported
version range.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
alpine_3_12 only supports LLVM 10, which is now outside the supported
version range.
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: Always create the VERSION file</title>
<updated>2023-01-31T18:09:50+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2023-01-25T21:31:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=a2d814dc84dbdcdb6c1e274b8bd7c212cc98c39e'/>
<id>a2d814dc84dbdcdb6c1e274b8bd7c212cc98c39e</id>
<content type='text'>
Teach the `configure` script to create the `VERSION` file.
This will serve as the stable interface to allow the user to determine
the version number of a working tree.

Fixes #22322.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Teach the `configure` script to create the `VERSION` file.
This will serve as the stable interface to allow the user to determine
the version number of a working tree.

Fixes #22322.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes for cabal-reinstall CI job</title>
<updated>2023-01-31T12:53:53+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2023-01-27T16:22:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=7cbdaad0396cee561f125c95f3352cebabd8ed99'/>
<id>7cbdaad0396cee561f125c95f3352cebabd8ed99</id>
<content type='text'>
* Allow filepath to be reinstalled
* Bump some version bounds to allow newer versions of libraries
* Rework testing logic to avoid "install --lib" and package env files

Fixes #22344
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Allow filepath to be reinstalled
* Bump some version bounds to allow newer versions of libraries
* Rework testing logic to avoid "install --lib" and package env files

Fixes #22344
</pre>
</div>
</content>
</entry>
<entry>
<title>gen_ci: Only consider release jobs for job metadata</title>
<updated>2023-01-31T02:21:11+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2023-01-28T10:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=68eb8877a73e09dd76a26017ec065fb843e843ed'/>
<id>68eb8877a73e09dd76a26017ec065fb843e843ed</id>
<content type='text'>
In particular we do not have a release job for FreeBSD so the generation
of the platform mapping was failing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In particular we do not have a release job for FreeBSD so the generation
of the platform mapping was failing.
</pre>
</div>
</content>
</entry>
<entry>
<title>ci: Add ubuntu18_04 nightly and release jobs</title>
<updated>2023-01-27T01:09:00+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2023-01-24T18:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=fa1db923c369126a8b0eb15951455d55684c788c'/>
<id>fa1db923c369126a8b0eb15951455d55684c788c</id>
<content type='text'>
This adds release jobs for ubuntu18_04 which uses glibc 2.27 which is
older than the 2.28 which is used by Rocky8 bindists.

Ticket #22268
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds release jobs for ubuntu18_04 which uses glibc 2.27 which is
older than the 2.28 which is used by Rocky8 bindists.

Ticket #22268
</pre>
</div>
</content>
</entry>
<entry>
<title>ci: Disable HLint job due to excessive runtime</title>
<updated>2023-01-25T19:48:51+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2023-01-25T10:05:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=b7efdb24744d0788c8d0a9f132900c39acee6a7b'/>
<id>b7efdb24744d0788c8d0a9f132900c39acee6a7b</id>
<content type='text'>
The HLint jobs takes much longer to run (20 minutes) after "Give the RTS it's own configure script" eb5a6b91

Now the CI job will build the stage0 compiler before it generates the necessary RTS headers.

We either need to:

* Fix the linting rules so they take much less time
* Revert the commit
* Remove the linting of base from the hlint job
* Remove the hlint job

This is highest priority as it is affecting all CI pipelines.

For now I am just disabling the job because there are many more pressing
matters at hand.

Ticket #22830
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The HLint jobs takes much longer to run (20 minutes) after "Give the RTS it's own configure script" eb5a6b91

Now the CI job will build the stage0 compiler before it generates the necessary RTS headers.

We either need to:

* Fix the linting rules so they take much less time
* Revert the commit
* Remove the linting of base from the hlint job
* Remove the hlint job

This is highest priority as it is affecting all CI pipelines.

For now I am just disabling the job because there are many more pressing
matters at hand.

Ticket #22830
</pre>
</div>
</content>
</entry>
<entry>
<title>Add scripts to generate ghcup metadata on nightly and release pipelines</title>
<updated>2023-01-17T01:51:26+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2023-01-13T10:01:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=eeea59bb3df6977ead66bf0b24976b03a6021f51'/>
<id>eeea59bb3df6977ead66bf0b24976b03a6021f51</id>
<content type='text'>
1. A python script in .gitlab/rel_eng/mk-ghcup-metadata which generates
   suitable metadata for consumption by GHCUp for the relevant
   pipelines.

  - The script generates the metadata just as the ghcup maintainers
    want, without taking into account platform/library combinations. It
    is updated manually when the mapping changes.

  - The script downloads the bindists which ghcup wants to distribute,
    calculates the hash and generates the yaml in the correct structure.

  - The script is documented in the .gitlab/rel_eng/mk-ghcup-metadata/README.mk file

1a. The script requires us to understand the mapping from platform -&gt;
    job. To choose the preferred bindist for each platform the
    .gitlab/gen_ci.hs script is modified to allow outputting a metadata
    file which answers the question about which job produces the
    bindist which we want to distribute to users for a specific
    platform.

2. Pipelines to run on nightly and release jobs to generate metadata

  - ghcup-metadata-nightly: Generates metadata which points directly to
    artifacts in the nightly job.

  - ghcup-metadata-release: Generates metadata suitable for inclusion
    directly in ghcup by pointing to the downloads folder where the
    bindist will be uploaded to.

2a. Trigger jobs which test the generated metadata in the downstream
    `ghccup-ci` repo. See that repo for documentation about what is
    tested and how but essentially we test in a variety of clean images
    that ghcup can download and install the bindists we say exist in our
    metadata.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. A python script in .gitlab/rel_eng/mk-ghcup-metadata which generates
   suitable metadata for consumption by GHCUp for the relevant
   pipelines.

  - The script generates the metadata just as the ghcup maintainers
    want, without taking into account platform/library combinations. It
    is updated manually when the mapping changes.

  - The script downloads the bindists which ghcup wants to distribute,
    calculates the hash and generates the yaml in the correct structure.

  - The script is documented in the .gitlab/rel_eng/mk-ghcup-metadata/README.mk file

1a. The script requires us to understand the mapping from platform -&gt;
    job. To choose the preferred bindist for each platform the
    .gitlab/gen_ci.hs script is modified to allow outputting a metadata
    file which answers the question about which job produces the
    bindist which we want to distribute to users for a specific
    platform.

2. Pipelines to run on nightly and release jobs to generate metadata

  - ghcup-metadata-nightly: Generates metadata which points directly to
    artifacts in the nightly job.

  - ghcup-metadata-release: Generates metadata suitable for inclusion
    directly in ghcup by pointing to the downloads folder where the
    bindist will be uploaded to.

2a. Trigger jobs which test the generated metadata in the downstream
    `ghccup-ci` repo. See that repo for documentation about what is
    tested and how but essentially we test in a variety of clean images
    that ghcup can download and install the bindists we say exist in our
    metadata.
</pre>
</div>
</content>
</entry>
<entry>
<title>ci: Don't use complicated image or clone in not-interruptible job</title>
<updated>2023-01-17T01:51:25+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2023-01-12T15:17:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=28cb2ed00cf261720a8db907f6ceb04266924ab7'/>
<id>28cb2ed00cf261720a8db907f6ceb04266924ab7</id>
<content type='text'>
This job exists only for the meta-reason of not allowing nightly
pipelines to be cancelled. It was taking two minutes to run as in order
to run "true" we would also clone the whole GHC repo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This job exists only for the meta-reason of not allowing nightly
pipelines to be cancelled. It was taking two minutes to run as in order
to run "true" we would also clone the whole GHC repo.
</pre>
</div>
</content>
</entry>
</feed>
