ac7d086623
The vimpack-ci ServiceAccount does not exist in argocd-apps, so every step failed at pod creation. Other non-Go repos in the estate use default.
21 lines
497 B
YAML
21 lines
497 B
YAML
when:
|
|
- event: pull_request
|
|
|
|
steps:
|
|
- name: pre-commit
|
|
image: alpine:3.21
|
|
commands:
|
|
- apk add --no-cache pre-commit git luacheck stylua
|
|
- git config --global --add safe.directory "$CI_WORKSPACE"
|
|
- pre-commit run --all-files --show-diff-on-failure
|
|
backend_options:
|
|
kubernetes:
|
|
serviceAccountName: default
|
|
resources:
|
|
requests:
|
|
memory: 512Mi
|
|
cpu: 1
|
|
limits:
|
|
memory: 2Gi
|
|
cpu: 2
|