flake-to-gitlab-ci: Converts a nix flake to gitlab CI jobs.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

Converts a nix flake to gitlab CI jobs.


[Skip to Readme]

Properties

Versions 0.1.0.0
Change log ChangeLog.md
Dependencies aeson, base (>=4.7 && <4.18), bytestring, containers, flake-to-gitlab-ci, formatting, lens, lens-aeson, shh, text, which, yaml [details]
License MIT
Copyright 2022 Daniel Firth
Author Daniel Firth
Maintainer dan.firth@homotopic.tech
Category Nix, Web, Git
Source repo head: git clone https://gitlab.homotopic.tech/haskell/flake-to-gitlab-ci
Uploaded by locallycompact at 2022-08-19T16:14:41Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for flake-to-gitlab-ci-0.1.0.0

[back to package description]

flake-to-gitlab-ci

Converts a flake into gitlab CI jobs using GitLab dynamic pipeline.

To use this you need to make a .gitlab-ci.yml file in your gitlab repository with the following contents:

stages:
- generate
- check

generate-flake-ci:
  stage: generate
  script: nix run "git+https://gitlab.homotopic.tech/haskell/flake-to-gitlab-ci" > flake-ci.yml
  artifacts:
    paths:
      - flake-ci.yml

flake-ci:
  stage: check
  trigger:
    include:
      - artifact: flake-ci.yml
        job: generate-flake-ci
    strategy: depend