diff --git a/.github/linters/.yamllint.yml b/.github/linters/.yamllint.yml new file mode 120000 index 0000000..54a3654 --- /dev/null +++ b/.github/linters/.yamllint.yml @@ -0,0 +1 @@ +../../.yamllint.yml \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d985292..1dcb89e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,6 +27,7 @@ jobs: # list of files that changed across commits fetch-depth: 0 submodules: true + persist-credentials: false - name: Run ansible-lint uses: ansible/ansible-lint@e98f9b38769d45cbe3c55a23b2eb25631babe7c4 # v25.4.0 @@ -41,7 +42,7 @@ jobs: if: always() - name: Run super-linter - uses: super-linter/super-linter@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0 + uses: super-linter/super-linter/slim@9e863354e3ff62e0727d37183162c4a88873df41 # v8.6.0 if: always() env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d890bff..7257fbe 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,26 +1,26 @@ --- - name: Build and test PR +name: Build and test PR - permissions: - contents: read - packages: read - # To report GitHub Actions status checks - statuses: write +permissions: + contents: read + packages: read + # To report GitHub Actions status checks + statuses: write - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true - on: - pull_request: - types: - - opened - - synchronize - - ready_for_review - - reopened - branches: - - main +'on': + pull_request: + types: + - opened + - synchronize + - ready_for_review + - reopened + branches: + - main - jobs: - lint: - uses: ./.github/workflows/lint.yml +jobs: + lint: + uses: ./.github/workflows/lint.yml diff --git a/roles/cluster_infra/templates/resources.tf.j2 b/roles/cluster_infra/templates/resources.tf.j2 index e474f43..973c32f 100644 --- a/roles/cluster_infra/templates/resources.tf.j2 +++ b/roles/cluster_infra/templates/resources.tf.j2 @@ -1,6 +1,6 @@ ##### ##### The identity scope we are operating in -##### Used to add tge OpenStack user name to instance metadata +##### Used to add the OpenStack user name to instance metadata ##### data "openstack_identity_auth_scope_v3" "scope" { name = "{{ cluster_name }}" diff --git a/super-linter.env b/super-linter.env index b60dc86..9e740a4 100644 --- a/super-linter.env +++ b/super-linter.env @@ -1,14 +1,31 @@ +# Exclude vendor submodules +FILTER_REGEX_EXCLUDE=.*vendor/.* + # Detect that default branch is main when running locally DEFAULT_BRANCH=main # Don't validate JSCPD VALIDATE_JSCPD=false -# Don't validate JS standard because it conflicts with JS prettier -VALIDATE_JAVASCRIPT_STANDARD=false - # Don't validate Ansible because ansible-lint is more flexible VALIDATE_ANSIBLE=false # Don't validate YAML prettier because yamllint is sufficient VALIDATE_YAML_PRETTIER=false + +# Set to the default filename for yamllint +YAML_CONFIG_FILE=.yamllint.yml + +VALIDATE_BIOME_FORMAT=false + +VALIDATE_BIOME_LINT=false + +VALIDATE_TRIVY=false + +# Only use ruff for python linting and formatting +VALIDATE_PYTHON=false +VALIDATE_PYTHON_BLACK=false +VALIDATE_PYTHON_FLAKE8=false +VALIDATE_PYTHON_ISORT=false +VALIDATE_PYTHON_MYPY=false +VALIDATE_PYTHON_PYLINT=false diff --git a/ui-meta/workstation-external-ssh-fast-volume-type.yml b/ui-meta/workstation-external-ssh-fast-volume-type.yml index e0afe3b..11e0caa 100644 --- a/ui-meta/workstation-external-ssh-fast-volume-type.yml +++ b/ui-meta/workstation-external-ssh-fast-volume-type.yml @@ -81,7 +81,8 @@ usage_template: |- Monitoring dashboards for the workstation are available using the [Monitoring service]({{ monitoring.url }}). - Documentation on Workstation features such as EESSI and Podman can be found [here](https://azimuth-cloud.github.io/azimuth-user-docs/platforms/linux-workstation/). + Documentation on Workstation features such as EESSI and Podman can be found + [here](https://azimuth-cloud.github.io/azimuth-user-docs/platforms/linux-workstation/). services: diff --git a/ui-meta/workstation-external-ssh.yml b/ui-meta/workstation-external-ssh.yml index 0c2967a..961a03f 100644 --- a/ui-meta/workstation-external-ssh.yml +++ b/ui-meta/workstation-external-ssh.yml @@ -70,7 +70,8 @@ usage_template: |- Monitoring dashboards for the workstation are available using the [Monitoring service]({{ monitoring.url }}). - Documentation on Workstation features such as EESSI and Podman can be found [here](https://azimuth-cloud.github.io/azimuth-user-docs/platforms/linux-workstation/). + Documentation on Workstation features such as EESSI and Podman can be found + [here](https://azimuth-cloud.github.io/azimuth-user-docs/platforms/linux-workstation/). services: diff --git a/ui-meta/workstation-fast-volume-type.yml b/ui-meta/workstation-fast-volume-type.yml index 8f21778..108469e 100644 --- a/ui-meta/workstation-fast-volume-type.yml +++ b/ui-meta/workstation-fast-volume-type.yml @@ -66,7 +66,8 @@ usage_template: |- Monitoring dashboards for the workstation are available using the [Monitoring service]({{ monitoring.url }}). - Documentation on Workstation features such as EESSI and Podman can be found [here](https://azimuth-cloud.github.io/azimuth-user-docs/platforms/linux-workstation/). + Documentation on Workstation features such as EESSI and Podman can be found + [here](https://azimuth-cloud.github.io/azimuth-user-docs/platforms/linux-workstation/). services: diff --git a/ui-meta/workstation.yml b/ui-meta/workstation.yml index 411a22a..612056f 100644 --- a/ui-meta/workstation.yml +++ b/ui-meta/workstation.yml @@ -54,7 +54,8 @@ usage_template: |- Monitoring dashboards for the workstation are available using the [Monitoring service]({{ monitoring.url }}). - Documentation on Workstation features such as EESSI and Podman can be found [here](https://azimuth-cloud.github.io/azimuth-user-docs/platforms/linux-workstation/). + Documentation on Workstation features such as EESSI and Podman can be found + [here](https://azimuth-cloud.github.io/azimuth-user-docs/platforms/linux-workstation/). services: