Skip to content

Commit

Permalink
Merge branch 'release/1.15.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-yuen committed Feb 6, 2024
2 parents 118556a + 234c0b0 commit cbd5ea3
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 5 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "CodeQL"

on:
push:
branches: [ "develop", hotfix/*, master, release/*, feature/** ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "develop", hotfix/*, master, release/* ]
schedule:
- cron: "30 8 * * 3"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python', 'javascript' ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
3 changes: 3 additions & 0 deletions dockstore_launcher_config/compose.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"BITBUCKET_CLIENT_SECRET":"foobared",
"CHECK_URL_EXISTS_ENDPOINT":"replaceme",
"CHECK_URL_LAMBDA_VERSION":"n/a",
"COLAB_IMPORT_URL":"replaceme",
"COMPOSE_SETUP_VERSION":"foo",
"CWL_PARSING_LAMBDA_VERSION":"n/a",
"DATABASE_DOMAIN":"postgres",
Expand Down Expand Up @@ -33,13 +34,15 @@
"GITHUB_APP_PRIVATE_KEY_FILE": "/replaceme",
"GITHUB_CLIENT2_ID":"foobared",
"GITHUB_CLIENT2_SECRET":"foobared",
"GITHUB_CODESPACES_IMPORT_URL":"replaceme",
"GITLAB_CLIENT_ID":"foobar",
"GITLAB_CLIENT_SECRET":"foobar",
"GOOGLE_CLIENT_ID":"potato",
"GOOGLE_CLIENT_SECRET":"potato",
"LOGSTASH":false,
"LOGSTASH_HOST":"replaceme",
"METRICS_BUCKET_NAME":"replaceme",
"MYBINDER_IMPORT_URL":"replaceme",
"NEXTFLOW_PARSING_LAMBDA_VERSION":"n/a",
"ORCID_CLIENT_ID":"replaceme",
"ORCID_CLIENT_SECRET":"replaceme",
Expand Down
2 changes: 1 addition & 1 deletion install_bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh

# Created by Solomon Shorser
# Hacked by Denis Yuen
Expand Down
2 changes: 1 addition & 1 deletion templates/init_migration.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ java -Ddw.database.user=postgres -Ddw.database.password="{{{ POSTGRES_DBPASSWORD
# this particular migration needs to run as postgres because only postgres can surrender ownership
java -Ddw.database.user=postgres -Ddw.database.password="{{{ POSTGRES_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.7.0.relinquish
# future migrations will start here and should be run as dockstore
java -Ddw.database.user=dockstore -Ddw.database.password="{{{ DOCKSTORE_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.8.0,1.9.0,1.10.0,1.11.0,1.12.0,1.13.0,1.14.0
java -Ddw.database.user=dockstore -Ddw.database.password="{{{ DOCKSTORE_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.8.0,1.9.0,1.10.0,1.11.0,1.12.0,1.13.0,1.14.0,1.15.0
14 changes: 11 additions & 3 deletions templates/web.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ database:
# any properties specific to your JDBC driver:
properties:
charSet: UTF-8
hibernate.dialect: org.hibernate.dialect.PostgreSQL10Dialect
hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
# create database as needed, disable in production
hibernate.hbm2ddl.auto: validate
hibernate.jdbc.batch_size: 30
Expand Down Expand Up @@ -142,8 +142,14 @@ database:
logAbandonedConnections: true
removeAbandonedTimeout: 5 minutes

{{#LOGSTASH}}
server:
applicationConnectors:
- type: custom-http
port: 8080
adminConnectors:
- type: http
port: 8001
{{#LOGSTASH}}
requestLog:
type: classic
timeZone: UTC
Expand All @@ -160,6 +166,9 @@ uiConfig:
bdCatalystTerraImportUrl: {{ BD_CATALYST_TERRA_IMPORT_URL }}
bdCatalystSevenBridgesImportUrl: {{ BD_CATALYST_SEVEN_BRIDGES_IMPORT_URL }}
elwaziImportUrl: {{ ELWAZI_IMPORT_URL }}
colabImportUrl: {{ COLAB_IMPORT_URL }}
mybinderImportUrl: {{ MYBINDER_IMPORT_URL }}
gitHubCodespacesImportUrl: {{ GITHUB_CODESPACES_IMPORT_URL }}


gitHubAuthUrl: https://github.com/login/oauth/authorize
Expand Down Expand Up @@ -195,7 +204,6 @@ uiConfig:
featuredContentUrl: {{ FEATURED_CONTENT_URL }}
featuredNewsUrl: {{ FEATURED_NEWS_URL }}

composeSetupVersion: "{{ COMPOSE_SETUP_VERSION }}"
deployVersion: "{{ DEPLOY_VERSION }}"
cwlParsingLambdaVersion: {{ CWL_PARSING_LAMBDA_VERSION }}
wdlParsingLambdaVersion: {{ WDL_PARSING_LAMBDA_VERSION }}
Expand Down

0 comments on commit cbd5ea3

Please sign in to comment.