From 6df295225019c056f1eef13cddb42ee3713310d9 Mon Sep 17 00:00:00 2001 From: germann_e Date: Mon, 26 May 2025 13:21:06 +0200 Subject: [PATCH] FIX: remove .gitlab-ci.yml --- .gitea/workflows/pmodules_check.yml | 12 +++++- .gitlab-ci.yml | 66 ----------------------------- README.md | 4 +- 3 files changed, 12 insertions(+), 70 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitea/workflows/pmodules_check.yml b/.gitea/workflows/pmodules_check.yml index b23e4505..996e8965 100644 --- a/.gitea/workflows/pmodules_check.yml +++ b/.gitea/workflows/pmodules_check.yml @@ -35,8 +35,16 @@ jobs: python3 pmodules_tools/pmodules_tools.py --db-check # render all files in doc and its sub-directories with extension .adoc to HTML - asciidoctor -a data-uri -a reproducible -a icons=font -a source-highlighter=Pygments -a experimental -a stylesheet=./stylesheets/readthedocs.css -D public -R doc '**/*.adoc' - + > + asciidoctor -a data-uri \ + -a reproducible \ + -a icons=font \ + -a source-highlighter=Pygments \ + -a experimental \ + -a stylesheet=./stylesheets/readthedocs.css \ + -D public \ + -R doc '**/*.adoc' + > - name: Configure Git run: | git config --global user.name "Gitea Actions" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 91f3ddb2..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,66 +0,0 @@ -stages: - - check - - pages - -variables: - COLUMNS: 9000 - TERM: 'xterm' - GIT_STRATEGY: clone - -check: - tags: - - merlin - stage: check - script: - - source /opt/psi/config/profile.bash - - module load Python - - export COLUMNS=$COLUMNS - - export TERM=$TERM - - python3 -m venv pm_tools_venv - - source pm_tools_venv/bin/activate - - pip install -r requirements.txt - - python3 pmodules_tools/pmodules_tools.py --deps-check - -pages: - stage: pages - artifacts: - paths: - - public - image: ubuntu:20.04 - script: - # install required apt software - - apt update - - apt -y upgrade - - DEBIAN_FRONTEND=noninteractive apt-get --yes install asciidoctor - - - mkdir -p /opt && pushd $_ - - ln -s /afs/psi.ch/sys/psi.x86_64_el6 psi - - popd - - - export PMODULES_VERSION=1.0.0rc14 - - export COLUMNS=$COLUMNS - - export TERM=$TERM - - - source /opt/psi/config/profile.bash - - # install required python requirements - - module load Python - - python3 -m venv pm_tools_venv - - source pm_tools_venv/bin/activate - - pip install -r requirements.txt - - - mkdir public - - python3 pmodules_tools/pmodules_tools.py --db-check - - # render all files in doc and its sub-directories with extension .adoc to HTML - - > - asciidoctor -a data-uri \ - -a reproducible \ - -a icons=font \ - -a source-highlighter=Pygments \ - -a experimental \ - -a stylesheet=$CI_PROJECT_DIR/doc/stylesheets/readthedocs.css \ - -D public \ - -R doc '**/*.adoc' - - > - when: always \ No newline at end of file diff --git a/README.md b/README.md index 4caea1ba..60943599 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Pmodules tools -[![Pipeline](https://git.psi.ch/Pmodules/Pmodules_tools/badges/master/pipeline.svg)](https://git.psi.ch/Pmodules/Pmodules_tools) +[![Pipeline](https://gitea.psi.ch/HPCE/Pmodules_tools/actions/workflows/pmodules_check.yml/badge.svg?branch=master)](https://gitea.psi.ch/HPCE/Pmodules_tools) ## Pages -[Pmodules Database Report](https://pmodules.gitpages.psi.ch/Pmodules_tools) +[Pmodules Database Report](https://hpce.pages.psi.ch/Pmodules_tools/) ## Intro A python project to analyse Pmodules modules and their status changes.