- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- echo "None (good)"
Fedora/Coverity:
+ image: fedora:31
only:
- refs:
- - master@openconnect/openconnect
- - coverity@openconnect/openconnect
+ - schedules
+ - coverity
script:
- - dnf update -y
- dnf install -y git autoconf automake libtool python gettext make
'pkgconfig(openssl)' 'pkgconfig(libxml-2.0)' 'pkgconfig(liblz4)'
'pkgconfig(gnutls)' trousers-devel 'pkgconfig(libpcsclite)'
--form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN
- tar xfz /tmp/cov-analysis-linux64.tgz
- ./autogen.sh
+ - ./configure --with-java --without-gnutls --with-openssl --disable-dsa-tests
- cd java
- ../cov-analysis-linux64-*/bin/cov-build --dir ../cov-int ant
- cd ..
- - ./configure --with-java --without-gnutls --with-openssl --disable-dsa-tests
- cov-analysis-linux64-*/bin/cov-build --dir cov-int make -j4
- make clean
- ./configure --with-java --disable-dsa-tests --without-gnutls-version-check
- cov-analysis-linux64-*/bin/cov-build --dir cov-int make -j4
- tar cfz cov-int.tar.gz cov-int
- curl https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
- --form token=$COVERITY_SCAN_TOKEN --form email=$GITLAB_USER_EMAIL
+ --form token=$COVERITY_SCAN_TOKEN --form email=email=$GITLAB_USER_EMAIL
--form file=@cov-int.tar.gz --form version="`git describe --tags`"
--form description="`git describe --tags` / $CI_COMMIT_TITLE / $CI_COMMIT_REF_NAME:$CI_PIPELINE_ID "
tags:
- shared
- except:
- - tags
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure
- shared
except:
- tags
+ - schedules
artifacts:
expire_in: 1 week
when: on_failure