Skip to content

Commit

Permalink
Merge pull request #3 from natifridman/readme
Browse files Browse the repository at this point in the history
Update readme and test lint Github Actions
  • Loading branch information
natifridman authored May 9, 2024
2 parents 4a917ed + ba8e2c6 commit 901d071
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 34 deletions.
3 changes: 3 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
skip_list:
- var-naming[no-role-prefix]
3 changes: 2 additions & 1 deletion .github/workflows/ansible-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Code Checkout
uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@main
22 changes: 0 additions & 22 deletions .github/workflows/yaml-lint.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# eco-ci-cd
# eco-ci-cd

Ansible playbooks for the Telco Verification CI/CD
20 changes: 10 additions & 10 deletions playbooks/launch-jenkins-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# given the job params, url, username and user token.
- name: Launch jenkins job
hosts: all
tasks:
# launch jenkins job using redhatci collection.
- name: Launch jenkins job
ansible.builtin.import_role:
name: redhatci.ocp.jenkins_job_launcher
vars:
jjl_job_params: "{{ job_params }}"
jjl_job_url: "{{ job_url }}"
jjl_username: "{{ username }}"
jjl_token: "{{ token }}"
tasks:
# launch jenkins job using redhatci collection.
- name: Launch jenkins job
ansible.builtin.import_role:
name: redhatci.ocp.jenkins_job_launcher
vars:
jjl_job_params: "{{ job_params }}"
jjl_job_url: "{{ job_url }}"
jjl_username: "{{ username }}"
jjl_token: "{{ token }}"
3 changes: 3 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
collections:
- redhatci.ocp

0 comments on commit 901d071

Please sign in to comment.