Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
databases
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
databases
Commits
3092f4db
Commit
3092f4db
authored
2 years ago
by
Thomas Schneider
Browse files
Options
Downloads
Patches
Plain Diff
CI: Switch to plain Alpine image with modern ansible-lint
This also enables GitLab-parseable ansible-lint output.
parent
ac305eeb
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!10
Update CI to reasonable versions
Pipeline
#5093
failed
1 year ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-4
9 additions, 4 deletions
.gitlab-ci.yml
with
9 additions
and
4 deletions
.gitlab-ci.yml
+
9
−
4
View file @
3092f4db
---
---
image
:
registry.git.fsmpi.rwth-aachen.de/infra/ci-containers/fsmpi-ansible:buster
image
:
alpine:3.18
variables
:
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
GIT_SUBMODULE_STRATEGY
:
recursive
before_script
:
before_script
:
-
apk --no-cache add ansible ansible-lint yamllint ripgrep black
-
export LANG=en_US.UTF-8
-
export LANG=en_US.UTF-8
-
chmod o-w .
-
chmod o-w .
-
apt-get -qq update && apt-get -qq install -y ansible-lint ripgrep
-
ansible --version
-
ansible --version
-
ansible-lint --version
-
ansible-lint --version
-
yamllint --version
-
yamllint --version
...
@@ -19,7 +19,12 @@ stages:
...
@@ -19,7 +19,12 @@ stages:
test
:
test
:
stage
:
test
stage
:
test
script
:
script
:
-
>-
ansible-lint
--format codeclimate
> codeclimate.json
-
yamllint .
-
yamllint .
-
ansible-lint ./*/
# yamllint disable-line rule:line-length
-
"
!
rg
--fixed-strings
'passwordstore'
./*/templates"
-
"
!
rg
--fixed-strings
'passwordstore'
./*/templates"
artifacts
:
reports
:
codequality
:
codeclimate.json
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment