appveyor makes travis restart

Patrick's Avatar

Patrick

08 Feb, 2020 02:06 PM

Appveyor builds are reseting travis builds resulting in an infinity number of builds.
https://ci.appveyor.com/project/blueroboticsappveyor/ping-viewer/history

  1. Support Staff 1 Posted by Feodor Fitsner on 10 Feb, 2020 02:28 AM

    Feodor Fitsner's Avatar

    Hi Patrick,

    Add the following to appveyor.yml to stop AppVeyor building on tags:

    # Do not build on tags (GitHub, Bitbucket, GitLab, Gitea)
    skip_tags: true
    
  2. 2 Posted by Patrick on 10 Feb, 2020 09:55 AM

    Patrick's Avatar

    Hi Feodor,

    The problem that I'm saying is that Travis is creating AppVeyor builds and AppVeyor is creating Travis builds resulting in an infinity loop of both CI systems.

    We need the tag builds because we do tag releases (0.1 and etc) besides our master/continuous build release binary.

    https://travis-ci.org/bluerobotics/ping-viewer/builds

  3. Support Staff 3 Posted by Feodor Fitsner on 10 Feb, 2020 06:58 PM

    Feodor Fitsner's Avatar

    So, how are you planning to solve this problem ten without stop doing that (creating Travis build from AppVeyor and vice versa)? :) What is you goal there? I can help.

  4. 4 Posted by Patrick on 10 Feb, 2020 07:16 PM

    Patrick's Avatar

    I'm not creating a travis build from appveyor on purpose.
    My configuration files are explicit, and this build configuration was working for more than 1 year without problems.
    Travis and appveyor only do deployments for two things, master branch (continuous builds) and normal tags (E.g: v2.0.0), Both travis and appveyor are not pushing code or changes in any branch or tag, only doing deployments, so it's not clear to me how an artifact upload is creating builds for appveyor and vice-versa.

  5. Support Staff 5 Posted by Feodor Fitsner on 10 Feb, 2020 07:22 PM

    Feodor Fitsner's Avatar

    OK. You create a new GitHub release here: https://github.com/bluerobotics/ping-viewer/blob/master/.appveyor.y... which essentially creates a new tag (if it doesn't exist) and creating a tag triggers a new build.

    Adding skip_tags: true will fix the issue.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac