Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test with java 21 #2002

Open
wants to merge 59 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
0347275
test this
denis-yuen Aug 8, 2024
aced723
debug
denis-yuen Aug 8, 2024
c1cf8b0
experiment
denis-yuen Aug 8, 2024
d51d4f3
experiment
denis-yuen Aug 8, 2024
3a4f7e9
Revert "experiment"
denis-yuen Aug 13, 2024
e91da5d
Revert "experiment"
denis-yuen Aug 13, 2024
fa116f4
Update web.yml
denis-yuen Aug 13, 2024
5970ab3
Revert "Update web.yml"
denis-yuen Aug 14, 2024
5172c2a
is the wait script doing what we think it is doing?
denis-yuen Aug 14, 2024
8f9ed91
what if Java 18
denis-yuen Aug 14, 2024
37e790f
what if Java 19
denis-yuen Aug 14, 2024
ee55dea
what if java 20?
denis-yuen Aug 14, 2024
25fa4d0
What if Java 19 with newer chrome?
denis-yuen Aug 14, 2024
e907f94
signing key
denis-yuen Aug 14, 2024
df4c4e6
what if accessibility with ubuntu 22
denis-yuen Aug 14, 2024
d51a6a1
can I override the node version this way?
denis-yuen Aug 14, 2024
f6a3574
duh
denis-yuen Aug 14, 2024
f3fc015
match other invocations
denis-yuen Aug 14, 2024
8bd8469
more duh
denis-yuen Aug 14, 2024
1e53107
Merge branch 'develop' into feature/java_21
denis-yuen Nov 20, 2024
96f8c27
what if version in .nnvmrc
denis-yuen Nov 29, 2024
d958aec
Update config.yml
denis-yuen Nov 29, 2024
e86aef6
Update config.yml
denis-yuen Nov 29, 2024
19a5144
Update config.yml
denis-yuen Nov 29, 2024
f195cc0
Delete scripts/load-nvm.sh
denis-yuen Nov 29, 2024
a3429e5
Update config.yml
denis-yuen Nov 29, 2024
704f18c
Update config.yml
denis-yuen Nov 29, 2024
327b81b
Update config.yml
denis-yuen Nov 29, 2024
c1737b5
Update config.yml
denis-yuen Nov 29, 2024
01c3901
Update config.yml
denis-yuen Nov 29, 2024
045748f
Update web.yml
denis-yuen Nov 29, 2024
197a4b6
Update web.yml
denis-yuen Nov 29, 2024
b987b84
test
hyunnaye Mar 6, 2025
e5058c1
test
hyunnaye Mar 6, 2025
9e6ffe1
test
hyunnaye Mar 6, 2025
ca004d3
test
hyunnaye Mar 6, 2025
a30fb79
test
hyunnaye Mar 6, 2025
ead1871
test
hyunnaye Mar 6, 2025
670b086
test
hyunnaye Mar 6, 2025
ed13023
test
hyunnaye Mar 6, 2025
f6d9c73
test
hyunnaye Mar 6, 2025
0256242
Merge branch 'develop' into feature/java_21
hyunnaye Mar 7, 2025
c4c711c
try out this fix
hyunnaye Mar 11, 2025
09e03ea
try out this fix
hyunnaye Mar 11, 2025
747da0c
try out this fix
hyunnaye Mar 11, 2025
903753b
try out this fix
hyunnaye Mar 12, 2025
90c5210
try out this fix
hyunnaye Mar 12, 2025
0c13e83
try out this fix
hyunnaye Mar 13, 2025
56f0639
try out this fix
hyunnaye Mar 13, 2025
65cdd0b
try out this fix
hyunnaye Mar 14, 2025
45d2c51
try out this fix
hyunnaye Mar 18, 2025
8cda242
try out this fix
hyunnaye Mar 18, 2025
b78e139
merge
hyunnaye Mar 18, 2025
d1b4ff6
try out this fix
hyunnaye Mar 18, 2025
f9bd167
try out this fix
hyunnaye Mar 18, 2025
5fb7f5d
try out this fix
hyunnaye Mar 19, 2025
d646573
try out this fix
hyunnaye Mar 19, 2025
a2a9472
try out this fix
hyunnaye Mar 19, 2025
b793043
try out this fix
hyunnaye Mar 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 32 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,10 @@ parameters:
default: false
java-tag:
type: string
default: "17.0.4-browsers"
default: "17.0.5-browsers"
postgres-tag:
type: string
default: "16.1"
default: "16.4"
python-tag:
type: string
default: "3.11"
Expand Down Expand Up @@ -461,6 +461,20 @@ commands:
command: |
sudo apt-get update -y
sudo apt-get -o Acquire::Retries=3 install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb -yq
# - run:
# name: Swap node versions
# command: |
# # https://support.circleci.com/hc/en-us/articles/360051656632-Swap-Node-Version-on-CircleCI-Convenience-Image
# set +e
# wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
# export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
# nvm install 18
# nvm alias default node
#
# echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
# echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
setup_integration_test:
parameters:
db_dump:
Expand Down Expand Up @@ -510,6 +524,20 @@ commands:
install_ui_dependencies:
steps:
- restore_dep_cache
# - run:
# name: Swap node versions
# command: |
# # https://support.circleci.com/hc/en-us/articles/360051656632-Swap-Node-Version-on-CircleCI-Convenience-Image
# set +e
# wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
# export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
# nvm install 18
# nvm alias default node
#
# echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
# echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- run:
name: Install dependencies
#Only run 'npm ci' if node_modules was not restored from cache
Expand Down Expand Up @@ -545,15 +573,15 @@ commands:
name: Install nginx
command: sudo apt install -y nginx || true
- run:
name: Prepapre nginx config
name: Prepare nginx config
command: sed "s%REPLACEME%`pwd`%" .circleci/nginx.conf.tmpl > .circleci/nginx.conf
- run:
name: Run nginx
command: sudo nginx -c `pwd`/.circleci/nginx.conf
background: true
- run:
name: Run webservice
command: java -jar dockstore-webservice.jar server test/web.yml 1>/dev/null
command: java -jar dockstore-webservice.jar server test/web.yml # 1>/dev/null
background: true
- run:
name: Wait for services
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/accessibility_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17.0.4+8'
distribution: 'adopt'
java-version: '21.0.4+7'
distribution: 'temurin'

- name: Install npm
uses: actions/setup-node@v4
Expand Down
6 changes: 3 additions & 3 deletions scripts/wait-for.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ set -o errexit
set -o pipefail
set -o nounset
set -o xtrace
wget --output-document /dev/null --waitretry=5 --tries=10 --retry-connrefused localhost:4200 || true
wget --output-document /dev/null --waitretry=5 --tries=10 --retry-connrefused localhost:8080 || true
wget --output-document /dev/null --waitretry=5 --tries=10 --retry-connrefused localhost:9200 || true
wget --output-document /dev/null --waitretry=10 --tries=20 --retry-connrefused localhost:4200 || true
wget --output-document /dev/null --waitretry=10 --tries=20 --retry-connrefused localhost:8080 || true
wget --output-document /dev/null --waitretry=10 --tries=20 --retry-connrefused localhost:9200 || true
8 changes: 8 additions & 0 deletions test/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ esconfiguration:

authenticationCachePolicy: maximumSize=10000, expireAfterAccess=10s

localCloudWatchMetrics: true

logging:
level: INFO
appenders:
- type: console
logFormat: "%-5p [%d{ISO8601,UTC}] %c: %replace(%msg){'[\\n]','→'}%n%rEx"

database:
# the name of your JDBC driver
driverClass: org.postgresql.Driver
Expand Down
Loading