Skip to content

Commit aeb49cb

Browse files
Merge pull request #150 from bitrise-io/fix-slug
fix: Change x-app-slug to x-app-id
2 parents 23d7ee2 + 00efef8 commit aeb49cb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

internal/config/bazel/bazel_config_generate_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ build --remote_header=x-flare-buildtool=bazel
177177
build --remote_header=x-flare-builduser=CIProviderValue
178178
build --remote_upload_local_results
179179
build --remote_header='x-org-id=WorkspaceIDValue'
180-
build --remote_header='x-app-slug=AppSlugValue'
180+
build --remote_header='x-app-id=AppSlugValue'
181181
build --remote_header='x-ci-provider=CIProviderValue'
182182
`
183183

@@ -187,7 +187,7 @@ build --remote_header=authorization="Bearer some-jwt-token"
187187
build --remote_header=x-flare-buildtool=bazel
188188
build --remote_header=x-flare-builduser=CIProviderValue
189189
build --remote_upload_local_results
190-
build --remote_header='x-app-slug=AppSlugValue'
190+
build --remote_header='x-app-id=AppSlugValue'
191191
build --remote_header='x-ci-provider=CIProviderValue'
192192
`
193193

@@ -198,7 +198,7 @@ build --remote_header=x-flare-buildtool=bazel
198198
build --remote_header=x-flare-builduser=CIProviderValue
199199
build --noremote_upload_local_results
200200
build --remote_header='x-org-id=WorkspaceIDValue'
201-
build --remote_header='x-app-slug=AppSlugValue'
201+
build --remote_header='x-app-id=AppSlugValue'
202202
build --remote_header='x-ci-provider=CIProviderValue'
203203
`
204204

@@ -210,7 +210,7 @@ build --remote_header=x-flare-builduser=CIProviderValue
210210
build --remote_upload_local_results
211211
build --show_timestamps
212212
build --remote_header='x-org-id=WorkspaceIDValue'
213-
build --remote_header='x-app-slug=AppSlugValue'
213+
build --remote_header='x-app-id=AppSlugValue'
214214
build --remote_header='x-ci-provider=CIProviderValue'
215215
`
216216

@@ -223,7 +223,7 @@ build --remote_upload_local_results
223223
build --verbose_failures
224224
build --show_timestamps
225225
build --remote_header='x-org-id=WorkspaceIDValue'
226-
build --remote_header='x-app-slug=AppSlugValue'
226+
build --remote_header='x-app-id=AppSlugValue'
227227
build --remote_header='x-ci-provider=CIProviderValue'
228228
build --remote_header='x-repository-url=https://repo-url'
229229
build --remote_header='x-workflow-name=workflow-name'
@@ -247,8 +247,8 @@ build --verbose_failures
247247
build --show_timestamps
248248
build --remote_header='x-org-id=WorkspaceIDValue'
249249
build --bes_header='x-org-id=WorkspaceIDValue'
250-
build --remote_header='x-app-slug=AppSlugValue'
251-
build --bes_header='x-app-slug=AppSlugValue'
250+
build --remote_header='x-app-id=AppSlugValue'
251+
build --bes_header='x-app-id=AppSlugValue'
252252
build --remote_header='x-ci-provider=CIProviderValue'
253253
build --bes_header='x-ci-provider=CIProviderValue'
254254
build --remote_header='x-repository-url=https://repo-url'

internal/config/bazel/bazelrc.gotemplate

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ build --bes_header='x-org-id={{ .Common.WorkspaceID }}'
4747

4848
{{- if .Common.AppSlug }}
4949
{{- if .Cache.Enabled }}
50-
build --remote_header='x-app-slug={{ .Common.AppSlug }}'
50+
build --remote_header='x-app-id={{ .Common.AppSlug }}'
5151
{{- end }}
5252
{{- if .BES.Enabled }}
53-
build --bes_header='x-app-slug={{ .Common.AppSlug }}'
53+
build --bes_header='x-app-id={{ .Common.AppSlug }}'
5454
{{- end }}
5555
{{- end }}
5656

0 commit comments

Comments
 (0)