Commit 7e627a7d authored by Herber Madrigal's avatar Herber Madrigal

Update API Fuzzing image name to use SECURE_ANALYZERS_PREFIX

parent 79dbf3c5
...@@ -8,8 +8,8 @@ RSpec.describe 'API-Fuzzing.gitlab-ci.yml' do ...@@ -8,8 +8,8 @@ RSpec.describe 'API-Fuzzing.gitlab-ci.yml' do
describe 'the template file' do describe 'the template file' do
let(:template_filename) { Rails.root.join("lib/gitlab/ci/templates/" + template.full_name) } let(:template_filename) { Rails.root.join("lib/gitlab/ci/templates/" + template.full_name) }
let(:contents) { File.read(template_filename) } let(:contents) { File.read(template_filename) }
let(:production_registry) { 'registry.gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing:${FUZZAPI_VERSION}-engine' } let(:production_registry) { '${SECURE_ANALYZERS_PREFIX}/api-fuzzing:${FUZZAPI_VERSION}' }
let(:staging_registry) { 'registry.gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing-src:${FUZZAPI_VERSION}-engine' } let(:staging_registry) { '${SECURE_ANALYZERS_PREFIX}/api-fuzzing-src:${FUZZAPI_VERSION}' }
# Make sure future changes to the template use the production container registry. # Make sure future changes to the template use the production container registry.
# #
......
...@@ -11,6 +11,7 @@ stages: ...@@ -11,6 +11,7 @@ stages:
- fuzz - fuzz
variables: variables:
SECURE_ANALYZERS_PREFIX: "registry.gitlab.com/gitlab-org/security-products/analyzers"
FUZZAPI_PROFILE: Quick FUZZAPI_PROFILE: Quick
FUZZAPI_VERSION: "1.6" FUZZAPI_VERSION: "1.6"
FUZZAPI_CONFIG: .gitlab-api-fuzzing.yml FUZZAPI_CONFIG: .gitlab-api-fuzzing.yml
...@@ -24,7 +25,7 @@ variables: ...@@ -24,7 +25,7 @@ variables:
# available (non 500 response to HTTP(s)) # available (non 500 response to HTTP(s))
FUZZAPI_SERVICE_START_TIMEOUT: "300" FUZZAPI_SERVICE_START_TIMEOUT: "300"
# #
FUZZAPI_IMAGE: registry.gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing:${FUZZAPI_VERSION}-engine FUZZAPI_IMAGE: ${SECURE_ANALYZERS_PREFIX}/api-fuzzing:${FUZZAPI_VERSION}
# #
apifuzzer_fuzz_unlicensed: apifuzzer_fuzz_unlicensed:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment