diff --git a/.travis.yml b/.travis.yml index 17d7b45..e595a7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,10 @@ python: branches: only: - master - - Add_testing + - dev +addons: + sonarcloud: + organization: "gwas-ebi" before_install: - mkdir logs install: @@ -14,3 +17,4 @@ script: - coverage run -m pytest - coverage xml - python-codacy-coverage -r coverage.xml + - sonar-scanner -Dsonar.organization=gwas-ebi -Dsonar.projectKey=gwas-template-services -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=0566d66d0cfe16cd2cb8ba02db7fcd0b6d1e7ee6 -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.exclusions=tests/*,build/** \ No newline at end of file diff --git a/config/properties.py b/config/properties.py index 7c0ab20..d05892b 100644 --- a/config/properties.py +++ b/config/properties.py @@ -19,7 +19,7 @@ class Configuration(): 'curatorPrefilled' : { 'addColumn' : { 'notes': ['study_tag', 'note', 'note_subject', 'status'], - 'study': ['study_accession', 'efo_trait', 'background_efo_trait'], + 'study': ['study_accession', 'efo_trait', 'background_efo_trait', 'raw_sumstats_file'], 'sample': ['ancestry'], 'association': ['study_tag', 'variant_id', 'pvalue', 'pvalue_text', 'proxy_variant', 'effect_allele', 'other_allele', 'effect_allele_frequency', 'odds_ratio', 'ci_lower', 'ci_upper', 'beta', diff --git a/k8chart/values.yaml b/k8chart/values.yaml index 8238759..747c891 100644 --- a/k8chart/values.yaml +++ b/k8chart/values.yaml @@ -2,7 +2,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -replicaCount: 3 +replicaCount: 1 image: repository: ebispot/gwas-deposition-template