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

chore: Remove all traces of Travis CI #3883

Merged
merged 10 commits into from
Apr 20, 2021

Conversation

slarse
Copy link
Collaborator

@slarse slarse commented Apr 19, 2021

#3836

This PR removes all traces of Travis CI.

Note "removes", and not "migrates". Two pieces of functionality is lost here, both executing external scripts. This adds significant complexity to the CI pipeline, without any tangible benefit.

First, the final portion chore/ci-extra.sh, which is supposed to execute an external CI script on pull requests, is removed. It executed a script that there never appears to have contained anything. Therefore, it's hard to justify keeping that.

Second, this PR also removes the chore/travis/ci-master.sh script which contained the following line:

 curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token $TRAVIS_TOKEN" https://api.travis-ci.com/repo/SpoonLabs%2Fspoon-ci-external/requests

I believe this was used to trigger the upload of surefire reports to spoon-ci-data. I'm also uncertain of the value of this functionality. It hasn't been running for 5 months, and no one seems to have missed having it. In any case, documenting its removal here so we can reimplement it if desired.

If we want these two removed pieces of functionality to be reimplemented, then #3836 is still relevant. If we don't (which I argue for, we have enough complexity with the CI as it is), then this PR concludes #3836.

@slarse slarse changed the title wip: chore: Remove most traces of Travis CI wip: chore: Remove all traces of Travis CI Apr 19, 2021
@slarse slarse changed the title wip: chore: Remove all traces of Travis CI review: chore: Remove all traces of Travis CI Apr 19, 2021
@slarse slarse changed the title review: chore: Remove all traces of Travis CI wip: chore: Remove all traces of Travis CI Apr 19, 2021
@slarse
Copy link
Collaborator Author

slarse commented Apr 19, 2021

OOPS, hold on a second, missed the badge in the README. Fixed.

@slarse slarse changed the title wip: chore: Remove all traces of Travis CI review: chore: Remove all traces of Travis CI Apr 19, 2021
Copy link
Collaborator

@monperrus monperrus left a comment

Choose a reason for hiding this comment

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

Thanks @slarse LGTM, see comment.

if [[ "$TRAVIS_REPO_SLUG" == "INRIA/spoon" ]] && [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
then
echo "downloading extra CI PR script from SpoonLabs/spoon-ci-external"
curl https://raw.githubusercontent.com/SpoonLabs/spoon-ci-external/master/spoon-pull-request.sh | bash
Copy link
Collaborator

Choose a reason for hiding this comment

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

we may keep that, it's cool for experimenting. How to update the if condition in GHA?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Re-added, you can see here that the "downloading extra CI PR..." is now being executed: https://github.com/INRIA/spoon/runs/2387878660#step:8:3814

@monperrus monperrus changed the title review: chore: Remove all traces of Travis CI chore: Remove all traces of Travis CI Apr 20, 2021
@monperrus monperrus merged commit 0613805 into INRIA:master Apr 20, 2021
@monperrus
Copy link
Collaborator

Thanks a lot @slarse

@monperrus
Copy link
Collaborator

Good bye @travis-ci! It was great to work with you, you helped Spoon very much over several years.

@slarse slarse deleted the issue/3836-remove-travis-config branch April 20, 2021 08:22
@monperrus monperrus mentioned this pull request Aug 19, 2021
woutersmeenk pushed a commit to woutersmeenk/spoon that referenced this pull request Aug 29, 2021
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.

2 participants