Skip to content

Commit

Permalink
Replace static table with new cvmfs-monitor (#682)
Browse files Browse the repository at this point in the history
- Add a link to the CVMFS monitor after the static table
- Address various mega-linter issues
- Fixed push filters to avoid running linters on the whole codebase
- Disable auto application of fixes until a clean/secure solution will have been put in place

---------

Co-authored-by: Baptiste Grenier <[email protected]>
  • Loading branch information
sebastian-luna-valero and gwarf authored Nov 5, 2024
1 parent deb67c6 commit ca643dd
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/linters/mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
{
"pattern": "^https://aai.egi.eu/LoA"
},
{
"pattern": "^https://aai.egi.eu/proxy*"
},
{
"pattern": "^https://.*aai.egi.eu/mp-oa2-server/"
},
Expand All @@ -33,10 +36,10 @@
"pattern": "^https://argo-mon.*.cro-ngi.hr/nagios"
},
{
"pattern": "^https://training.notebooks.egi.eu*"
"pattern": "^http://cvmfs-release01.gridpp.rl.ac.uk/*"
},
{
"pattern": "^https://aai.egi.eu/proxy*"
"pattern": "^https://training.notebooks.egi.eu*"
},
{
"pattern": "^https://goc.egi.eu/portal*"
Expand Down Expand Up @@ -65,6 +68,9 @@
{
"pattern": "^https://opensource.org/licenses"
},
{
"pattern": "^https://omnibenchmark.org"
},
{
"pattern": "^https://servproject.i3m.upv.es/ec3-ltos/*"
},
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@ name: MegaLinter
on:
# Trigger mega-linter at every push. Action will also be visible from Pull Requests to main
push:
branches:
- "main"
pull_request:
branches: [main]
branches:
- "main"

permissions: read-all

env:
# Apply linter fixes configuration
# When active, APPLY_FIXES must also be defined as environment variable
# (in github/workflows/mega-linter.yml or other CI tool)
APPLY_FIXES: all
APPLY_FIXES: none
APPLY_FIXES_EVENT: pull_request
# If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request)
APPLY_FIXES_MODE: pull_request
Expand Down Expand Up @@ -54,13 +57,15 @@ jobs:
# https://megalinter.io/configuration/
# Validates all source when push on main, else just the git diff with main.
# Override with true if you always want to lint all sources
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
VALIDATE_ALL_CODEBASE: ${{ ((github.event_name == 'push' && github.ref == 'refs/heads/main') && 'true')
|| 'false' }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
DISABLE: COPYPASTE
DISABLE_LINTERS: REPOSITORY_GRYPE,REPOSITORY_TRIVY,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL
MARKDOWN_MARKDOWN_LINK_CHECK_CONFIG_FILE: ".github/linters/mlc_config.json"
# Scan only changes in PR, otherwise scan everything
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: ${{ github.event_name == 'pull_request' }}
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: ${{ (github.event_name == 'pull_request' && 'true') || 'false' }}

# Upload MegaLinter artifacts
- name: Archive production artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ name: Check Spelling
on:
push:
branches:
- "**"
- "main"
tags-ignore:
- "**"
pull_request_target:
branches:
- "**"
- "main"
types:
- "opened"
- "reopened"
Expand Down
17 changes: 17 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
http://cvmfs-release01.gridpp.rl.ac.uk/*
http://localhost
https://aai.egi.eu/LoA
https://aai.egi.eu/proxy
https://b2drop.eudat.eu/settings/user/security
https://docs.egi.eu/documentation/*
https://github.com/*
https://goc.egi.eu/gocdbpi
https://helpdesk.egi.eu
https://megalinter.io/*
https://omnibenchmark.org/*
https://operations-portal.egi.eu/downtimes/subscription
https://operations-portal.egi.eu/home/tasksList
https://operations-portal.egi.eu/vo
https://servproject.i3m.upv.es/ec3-ltos/
https://tools.ietf.org/html/rfc*
https://training.notebooks.egi.eu
https://voms2.hellasgrid.gr:8443/voms*
https://www.eugridpma.org/your-identity/
3 changes: 3 additions & 0 deletions content/en/users/compute/software-distribution/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ The current list of EGI repositories is as follows
| wenmr.egi.eu | |
| west-life.egi.eu | |

The list of EGI repositories can also be found online via
[the CVMFS monitor](http://cvmfs-release01.gridpp.rl.ac.uk/cvmfsmonitor/).

This documentation is for the VO content managers.

## Official CVMFS pages
Expand Down

0 comments on commit ca643dd

Please sign in to comment.