Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_lza_repair
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Digital Preservation
ansible_lza_repair
Commits
72cbf89f
Commit
72cbf89f
authored
2 years ago
by
Jörg Sachse
Browse files
Options
Downloads
Patches
Plain Diff
fix: skip 'no-ci' tasks in Molecule and install tools in prepare stage instead
parent
73ed85ea
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#3046
passed
2 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
molecule/resources/playbooks/converge.yml
+1
-1
1 addition, 1 deletion
molecule/resources/playbooks/converge.yml
molecule/resources/playbooks/prepare.yml
+9
-0
9 additions, 0 deletions
molecule/resources/playbooks/prepare.yml
with
12 additions
and
3 deletions
.gitlab-ci.yml
+
2
−
2
View file @
72cbf89f
...
...
@@ -30,6 +30,6 @@ test-job:
-
molecule syntax --scenario-name default
-
molecule lint --scenario-name default
-
molecule create --scenario-name default
-
molecule converge --scenario-name default
-
molecule idempotence --scenario-name default
-
molecule converge --scenario-name default
-- --skip-tags no-ci
-
molecule idempotence --scenario-name default
-- --skip-tags no-ci
# - molecule verify --scenario-name default
This diff is collapsed.
Click to expand it.
molecule/resources/playbooks/converge.yml
+
1
−
1
View file @
72cbf89f
...
...
@@ -14,4 +14,4 @@
become
:
true
when
:
ansible_os_family == "RedHat"
roles
:
-
{
role
:
"
ansible_lza_repair"
,
become
:
true
}
-
{
role
:
"
ansible_lza_repair"
,
become
:
true
,
skip-tags
:
"
no-ci"
}
This diff is collapsed.
Click to expand it.
molecule/resources/playbooks/prepare.yml
+
9
−
0
View file @
72cbf89f
...
...
@@ -27,6 +27,15 @@
mode
:
"
0644"
become
:
true
when
:
ansible_os_family == "Debian"
-
name
:
install tooling before running the actual tests, so we're not bound by the fixed versions
ansible.builtin.apt
:
name
:
[
"
checkit-tiff*"
,
"
fixit-tiff"
,
]
state
:
latest
update_cache
:
true
become
:
true
-
name
:
configure additional package repositories for RedHat
block
:
...
...
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