Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
coap_testing_tool
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • CI / CD Analytics
    • Repository Analytics
    • Value Stream Analytics
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • f-interop-contributors
  • coap_testing_tool
  • Merge Requests
  • !1

Merged
Opened Jan 06, 2017 by Thijs Walcarius@twalcarius
  • Report abuse
Report abuse

Only have tasks in ansible/main.yml

  • Overview 1
  • Commits 1
  • Changes 1

Hi Federico,

I'm currently looking into getting the f-interop CI tests, and I found that they are currently failing on the inclusion of the coap_testing_tool deployment.

Instead of executing the ansible-playbook executable directly, I think a better solution is to start the playbook with a simple "include"-statement. This has several advantages, like the easy definition of variables.

This means that we can then use the following statement in roles/coap/tasks/coap.yml in the f-interop repo:

- name: Run the provisionning
  include: "{{ finterop_proj_path }}/coap_testing_tool/ansible/main.yml"
  vars:
    - testing_tool_dir: "{{ finterop_proj_path }}/coap_testing_tool"

Instead of:

- name: Run the provisionning
  tags: coap
  become: True
  command: 'ansible-playbook {{ finterop_proj_path }}/coap_testing_tool/ansible/main.yml -i "localhost," --connection=local'

Can you accept this merge request, so that I can further debug the CI script?

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch "https://gitlab.distantaccess.com/twalcarius/coap_testing_tool.git" "patch-1"
git checkout -b "twalcarius/coap_testing_tool-patch-1" FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "twalcarius/coap_testing_tool-patch-1"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: f-interop-contributors/coap_testing_tool!1

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.