Skip to content

Commit 0bc26ae

Browse files
author
Jorgen-5
committed
Test with solr-remote profile
1 parent e170729 commit 0bc26ae

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.github/workflows/klass-api-build-and-deploy.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: Klass-api build and deploy
22

33
on:
44
pull_request:
5-
release:
6-
types: [ published ]
7-
push:
8-
branches:
9-
- nais-migration
10-
paths:
11-
- "klass-api/**"
12-
- "klass-shared/**"
13-
- ".nais/**/klass-api.yaml"
14-
- ".github/workflows/klass-api-build-and-deploy.yaml"
5+
#release:
6+
# types: [ published ]
7+
#push:
8+
# branches:
9+
# - nais-migration
10+
# paths:
11+
# - "klass-api/**"
12+
# - "klass-shared/**"
13+
# - ".nais/**/klass-api.yaml"
14+
# - ".github/workflows/klass-api-build-and-deploy.yaml"
1515

1616
jobs:
1717
docker-build:

.nais/test/klass-api.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ spec:
2828
- name: klass
2929
env:
3030
- name: SPRING_PROFILES_ACTIVE
31-
value: api, postgres
31+
value: api, postgres, solr-remote
3232
- name: SPRING_DATA_SOLR_HOST
3333
value: http://klass-solr/solr
34-
34+
- name: KLASS_ENV_SEARCH_SOLR_INSTANCE
35+
value: klass-solr
36+
- name: KLASS_ENV_SEARCH_SOLR_PORT
37+
value: "8983"
3538

3639
accessPolicy:
3740
outbound:

0 commit comments

Comments
 (0)