Git Product home page Git Product logo

gitlab-hpc-ci-cb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gitlab-hpc-ci-cb's Issues

Better container propagated environment variables management

Currently, the environment variables which are passed to the container are managed through the hard-coded list PROPAGATED_ENV_VARIABLES in include.sh. This contains many Ginkgo-specific variables and needs to be configurable for generic use. It's not clear yet how the configuration can be best implemented. A simple way would be a configuration file the user needs to fill in the repository.

Add testing and CI

It should be possible to add Gitlab CI with a few test cases to this tool itself so that we can ensure it still does its job when updating it without manual involvement and while not making our entire Ginkgo pipelines fail during testing.

To do so, we would need to register a test/beta runner on an HPC machine. A problem is that for now, BwUni seems to only support one runner per user (from previous tests)?

Managing the runner's script update on the server-side might be a bit more tricky without relying on ssh, maybe a simple cron job would be sufficient with a trigger from the server-side when master is updated.

SLURM use interactive mode

I'm not sure if the interactive mode is always available, some time ago I remember finding clusters where that was not the case. If it is available, the waiting loops can all be removed by simply using an interactive job (and adding exit at the end of the script?). While the job is pending, there is a built-in waiting loop. One problem is there is less feedback while waiting?

Error handling of slurm jobs

At the moment run.sh just checks the output of the error log: If this isn't empty the CI task is handled as failed. This causes that all CI pipelines using slurm are failing although the status of the job is "COMPLETED" and not "FAILED".

Can run.sh check the status code of the job instead?

ENROOT_REMAP_ROOT,

Hi,

at the moment it's not possible to become root inside the container or make it writable I assume?

Best,
Stefan

Shabang is not portable

The use of #!/usr/bin/bash is not portable to Ubuntu systems. Can this be changed in the various scripts to use #!/usr/bin/env bash?

Thanks

LSDF support

For the script side, the setup should hopefully be somewhat simple:

  • change CI_WS to point to LSDF,
  • add a SLURM parameter for the constraint handling

Most of the work might be in the setup and documentation step.

Nvidia pyxis

Hi,

what do you think about using the SPANK plugin nvidia pyxis instead of calling enroot directly?

Best,
Stefan

EDIT: Obviously this can't be used for running jobs directly on the frontend (login submit whatever) node. But anyway it's probably better to run such jobs on a dedicated node with probably less resources instead.

Better script (system) failure tracking

Gitlab runner has a number of error tracking features,

The second one is currently missing and should be done more properly in the case where something goes wrong in the script itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.