Skip to content

Commit 0b7f914

Browse files
committed
Fix docker smoke HTTPS feed target
1 parent 52713e3 commit 0b7f914

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ ARG UID=991
5555
ARG GID=991
5656

5757
RUN apk add --no-cache \
58+
'ca-certificates>=2024' \
5859
'curl>=8' \
5960
'gcompat>=0' \
6061
'tzdata>=2024' \

spec/smoke/docker_spec.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
let(:health_token) { ENV.fetch('SMOKE_HEALTH_TOKEN', 'CHANGE_ME_HEALTH_CHECK_TOKEN') }
1010
let(:feed_token) { ENV.fetch('SMOKE_API_TOKEN', 'CHANGE_ME_ADMIN_TOKEN') }
1111
let(:auto_source_enabled) { ENV.fetch('SMOKE_AUTO_SOURCE_ENABLED', 'false') == 'true' }
12+
let(:feed_url) { 'https://www.ruby-lang.org/en/' }
1213

1314
def get_json(path, headers: {})
1415
uri = URI.join(base_url, path)
@@ -69,7 +70,7 @@ def expect_json_feed_response(path)
6970

7071
it 'creates a feed when provided with valid credentials', :aggregate_failures do
7172
payload = {
72-
url: 'https://example.com/articles',
73+
url: feed_url,
7374
strategy: 'ssrf_filter'
7475
}
7576

@@ -82,7 +83,7 @@ def expect_json_feed_response(path)
8283
next unless auto_source_enabled
8384

8485
payload = {
85-
url: 'https://example.com/articles',
86+
url: feed_url,
8687
strategy: 'ssrf_filter'
8788
}
8889

@@ -99,7 +100,7 @@ def expect_json_feed_response(path)
99100
next if auto_source_enabled
100101

101102
payload = {
102-
url: 'https://example.com/articles',
103+
url: feed_url,
103104
strategy: 'ssrf_filter'
104105
}
105106

0 commit comments

Comments
 (0)