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

Switch from Travis to Github Actions #1129

Closed
wants to merge 1 commit into from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Mar 12, 2020

Fixes #1128

@ekohl ekohl force-pushed the github-actions branch 6 times, most recently from e308a2d to b7ff8b0 Compare March 12, 2020 12:56
@ekohl
Copy link
Member Author

ekohl commented Mar 12, 2020

Ansible lint is broken on the to_nice_yaml represenation (ansible/ansible-lint#51) and it's finding all kinds of lint violations. I'm wondering if we ever actually ran it. Also not sure why Travis doesn't find the 2.0.0 RVM. Perhaps that's simply not available anymore.

@ehelms
Copy link
Member

ehelms commented Jun 1, 2020

Looks like the Travis changes are breaking things... I'd be good with leaving the .travis.yml alone and having both CI systems running in parallel during the conversion. This should require less having to fiddle with Travis and faster GH spinup.

@ekohl
Copy link
Member Author

ekohl commented Jun 1, 2020

I've split off #1166 & #1167 so they at least can get merged.


- name: "Install RVM"
shell: "curl -sSL https://get.rvm.io | bash -s stable --ruby"
command: "curl -sSL https://get.rvm.io | bash -s stable --ruby"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a pipe can't be in a command

@evgeni
Copy link
Member

evgeni commented Jun 3, 2020

if you push an empty .github/workflows/ansible.yml to master, this PR would trigger GH actions, otherwise it does not :(

The Github Action setup-ruby doesn't support Ruby 2.0. However, there is
an action to test ansible-lint. This switches the Python based testing
to that and makes Travis a pure Ruby env.
@ekohl
Copy link
Member Author

ekohl commented Jun 3, 2020

Since it ran in mine, I can tell you that ansible-lint just hard fails: https://github.com/ekohl/forklift/runs/734487554?check_suite_focus=true. I don't want to spend time on Ansible so closing this.

@ekohl ekohl closed this Jun 3, 2020
@ekohl ekohl deleted the github-actions branch June 3, 2020 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Ruby 2.0 testing to PRs
3 participants