Skip to content

Commit

Permalink
Update .gitlab-ci.yml file (merge commit)
Browse files Browse the repository at this point in the history
Merge branch 'feature/gitlab-ci-release' into 'main'
* remove extra spaces

* codeql track main

* add tox

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml file

See merge request https://gitlab.ci.csc.fi/sds-dev/crypt4gh-gui/-/merge_requests/25

Approved-by: Timo Nurminen <[email protected]>
Co-authored-by: Stefan Negru <[email protected]>
Merged by Teemu Kataja <[email protected]>
  • Loading branch information
teemukataja committed Feb 6, 2024
2 parents c3d35f2 + b185b1f commit cccce37
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ main ]
schedule:
- cron: '40 11 * * 5'

Expand Down
32 changes: 32 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
stages:
- test
- release

variables:
BUILD_IMAGE: $ARTIFACTORY_SERVER/sds/sdd-common-ci

include:
- project: 'sds-dev/releases'
ref: main
file: 'releases.yml'

test:
stage: test
tags:
- docker-exec
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'

image: $BUILD_IMAGE
before_script:
- pip install tox
script:
- tox -e black
- tox -e flake8
- tox -e mypy


release-job:
extends: .automated-release
release:
description: 'Crypt4gh GUI'

0 comments on commit cccce37

Please sign in to comment.