Edgewall Software

Opened 4 years ago

Last modified 4 years ago

#13280 closed defect

Skip commits on AppVeyor — at Version 2

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.20
Component: general Version:
Severity: normal Keywords: appveyor
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Appveyor will not run builds when commits contain only files in trac/locale/ or trac/wiki/default-pages/.

Description

32546122 ran even though the message contained [skip ci]. It looks like we need to setup commit filtering.

Also, we can configure to skip commits matching only files in trac/locale, in case we forget to specify [skip ci].

Change History (2)

comment:1 by Ryan J Ollos, 4 years ago

NOTE: Similarly to custom skip commit message, AppVeyor searches for [skip ci] / [ci skip] / [skip appveyor] in the commit message title only. This avoids confusion when squashing commits, in particular with the GitHub squash-and-merge feature.

That differs from Travis CI and I'm not sure we want to start putting [skip ci] in the title.

We could cover most cases with:

  • .appveyor.yml

    diff --git a/.appveyor.yml b/.appveyor.yml
    index 5390dfabe..79a9eebf5 100644
    a b  
    11version: '{branch}.{build}'
    22clone_depth: 20
     3skip_commits:
     4  files:
     5    - trac/locale/
     6    - trac/wiki/default-pages/
    37init:
    48- ps: >-
    59    # Note 1: in 'Environment variables' groups above, use:
    test_script:  
    4549
    4650    Trac-Tests
    4751artifacts:
    48 - path: 'dist\*'
    49  No newline at end of file
     52- path: 'dist\*'

comment:2 by Ryan J Ollos, 4 years ago

Internal Changes: modified (diff)
Note: See TracTickets for help on using tickets.