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

Remove travis left out code and update docs. #14784

Closed
wants to merge 3 commits into from

Conversation

arpit551
Copy link
Collaborator

@arpit551 arpit551 commented Apr 28, 2020

Renaming for cleaner CI files is done in #14783
@timabbott can you check this.

Since in travis we don't have root access so we used to add different
srv path. As now we shifted our production suites to Circle CI
we don't need that code so removed it.

Also we used a hacky code in commit-lint-message for travis which is
now of no use.
@@ -85,12 +85,6 @@ assignee(s) if they are still working on the issue.
issue's current assignee(s) and the "in progress" label to allow others to
work on an inactive issue.

Copy link
Collaborator Author

@arpit551 arpit551 Apr 28, 2020

Choose a reason for hiding this comment

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

After this feature is added in zulipbot for Circle CI, we can replace it with Circle CI.

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Opened zulip/zulipbot#172 to track this.

@amanagr
Copy link
Member

amanagr commented Apr 28, 2020

Should we enable the commented nagios test?

# Some of the Nagios tests have been temporarily disabled to work
# around a Travis CI infrastructure issue.
echo; echo "Now running additional Nagios tests"; echo
if ! /usr/lib/nagios/plugins/zulip_app_frontend/check_queue_worker_errors || \
   ! su zulip -c /usr/lib/nagios/plugins/zulip_postgres_appdb/check_fts_update_log; then # || \
#   ! su zulip -c "/usr/lib/nagios/plugins/zulip_app_frontend/check_send_receive_time --site=https://127.0.0.1/api --nagios --insecure"; then
    set +x
    echo
    echo "FAILURE: Nagios checks don't pass:"
    echo
    echo "DEBUG: printing Zulip server's error log:"
    cat /var/log/zulip/errors.log
    exit 1
fi

@amanagr
Copy link
Member

amanagr commented Apr 28, 2020

Also, we can remove the TODO in .config.yml


  - &save_cache_requirements
    save_cache:
      paths:
        - /srv/zulip-venv-cache
      key: v1-venv-base.{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements/thumbor-dev.txt" }}-{{ checksum "requirements/dev.txt" }}
    # TODO: in Travis we also cache ~/zulip-emoji-cache, ~/node, ~/misc

* Built/downloaded emoji sprite sheets and data.

This is probably worth eventually adding to the CircleCI caches, but
because it only saves ~5s, it hasn't been a priority yet.
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Can you open an issue for doing this in CircleCI? It seems probably worth tracking; even 5s per job with 5 jobs adds up to a significant amount of runtime, and we have all the tooling to do this in the development environment, so it should be relatively easy.

@timabbott
Copy link
Sponsor Member

Merged as the series ending with a6df0b9, thanks @arpit551!

You can see how many hacks Travis CI made us do, as part of the reason I'm happy to be done with it.

@timabbott timabbott closed this Apr 28, 2020
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.

3 participants