Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme and test lint Github Actions #3

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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