Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible CI
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
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
KSZK
Ansible
Ansible CI
Commits
eee233a7
Commit
eee233a7
authored
4 years ago
by
Robotka István Adrián
Browse files
Options
Downloads
Patches
Plain Diff
add ci folder
parent
62b783e4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+25
-0
25 additions, 0 deletions
README.md
ci/pipeline/role-test.yaml
+22
-0
22 additions, 0 deletions
ci/pipeline/role-test.yaml
ci/template/stages.yaml
+7
-0
7 additions, 0 deletions
ci/template/stages.yaml
role-test.yaml
+0
-22
0 additions, 22 deletions
role-test.yaml
with
54 additions
and
22 deletions
README.md
+
25
−
0
View file @
eee233a7
# Authority of the Ansible subgroup
# Content of the repo
-
CI config for the whole subgroup
-
GitLab API scripts to setup repos in the subgroup
-
Template files for the playbooks
# Usage example of the CI
Example
`.gitlab-ci.yml`
files. Check tags under
`https://git.sch.bme.hu/kszk/sysadmin/ansible/ansci/-/tags`
```
yaml
include
:
-
project
:
kszk/sysadmin/ansible/ansci
ref
:
0.1.0
file
:
/pipeline/playbook.yaml
```
```
yaml
include
:
-
project
:
kszk/sysadmin/ansible/ansci
ref
:
0.1.0
file
:
/pipeline/role.yaml
```
This diff is collapsed.
Click to expand it.
ci/pipeline/role-test.yaml
0 → 100644
+
22
−
0
View file @
eee233a7
---
include
:
-
template/stages.yaml
# TODO insert editorconfig file
# include CI config from another repo
include
:
-
project
:
kszk/ci
ref
:
0.1.0
file
:
/job/editorconfig-check.yaml
-
project
:
kszk/ci
ref
:
0.1.0
file
:
/job/yaml-test.yaml
ansible-lint
:
stage
:
test
image
:
registry.kszk.bme.hu/baseimg/ansible
script
:
-
ansible-lint .
This diff is collapsed.
Click to expand it.
ci/template/stages.yaml
0 → 100644
+
7
−
0
View file @
eee233a7
---
# Ordering jobs with stages
include
:
-
project
:
kszk/ci
ref
:
0.1.0
file
:
/template/stages.yaml
This diff is collapsed.
Click to expand it.
role-test.yaml
deleted
100644 → 0
+
0
−
22
View file @
62b783e4
editorconfig
:
stage
:
test
image
:
name
:
odannyc/eclint
entrypoint
:
[
"
"
]
allow_failure
:
true
script
:
-
eclint check $(git ls-files)
ansible-lint
:
stage
:
test
image
:
registry.kszk.bme.hu/baseimg/ansible
script
:
-
ansible-lint .
yaml-lint
:
stage
:
test
image
:
sdesbure/yamllint
allow_failure
:
true
script
:
-
yamllint .
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