Skip to content

Commit 0137f93

Browse files
[Atlassian Confluence][Atlassian Jira][Cisco Secure Endpoint][Okta] Fix CI for snapshot (#20097)
Set the mock service hostname to svc-<service> for atlassian_confluence, atlassian_jira, cisco_secure_endpoint, and okta so stream-generated absolute Link/next URLs match the origin injected into system test configs, fixing flaky pagination in system tests.
1 parent 1fcadfa commit 0137f93

4 files changed

Lines changed: 5 additions & 0 deletions

File tree

packages/atlassian_confluence/_dev/deploy/docker/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
command: /bin/sh -c "cp /sample_logs/*.log /var/log/"
99
confluence-api:
1010
image: docker.elastic.co/observability/stream:v0.18.0
11+
hostname: svc-confluence-api
1112
ports:
1213
- 8080
1314
volumes:

packages/atlassian_jira/_dev/deploy/docker/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
command: /bin/sh -c "cp /sample_logs/*.log /var/log/"
99
jira-api:
1010
image: docker.elastic.co/observability/stream:v0.18.0
11+
hostname: svc-jira-api
1112
ports:
1213
- 8080
1314
volumes:

packages/cisco_secure_endpoint/_dev/deploy/docker/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: '2.3'
22
services:
33
cisco_secure_endpoint:
44
image: docker.elastic.co/observability/stream:v0.18.0
5+
hostname: svc-cisco_secure_endpoint
56
ports:
67
- 8080
78
volumes:

packages/okta/_dev/deploy/docker/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: '2.3'
22
services:
33
okta:
44
image: docker.elastic.co/observability/stream:v0.20.0
5+
hostname: svc-okta
56
ports:
67
- 8080
78
volumes:
@@ -14,6 +15,7 @@ services:
1415
- --config=/files/config.yml
1516
okta-oauth2:
1617
image: docker.elastic.co/observability/stream:v0.20.0
18+
hostname: svc-okta-oauth2
1719
ports:
1820
- 8080
1921
volumes:

0 commit comments

Comments
 (0)