Skip to content

Commit 18756bc

Browse files
committed
update based on reviews
1 parent 4f68edd commit 18756bc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }}
181181
AZURE_BUCKET_NAME: ${{ secrets.AZURE_BUCKET_NAME }}
182182
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_COMMUNITY }}
183-
TELEMETRY_ENDPOINT: ${{ github.ref_type == 'branch' && github.event_name == 'push' && github.ref == 'refs/heads/release' && 'oss-dev.edge.df.f5.com:443' || 'oss.edge.df.f5.com:443' }}
183+
TELEMETRY_ENDPOINT: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release-') && 'oss-dev.edge.df.f5.com:443' || 'oss.edge.df.f5.com:443' }}
184184
TELEMETRY_ENDPOINT_INSECURE: "false"
185185

186186
- name: Cache Artifacts

tests/framework/ngf.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,10 @@ func UninstallNGF(cfg InstallationConfig, k8sClient client.Client) ([]byte, erro
192192
func setTelemetryArgs(cfg InstallationConfig) []string {
193193
var args []string
194194

195-
args = append(args, formatValueSet("nginxGateway.productTelemetry.enable", "false")...)
196195
if cfg.Telemetry {
197196
args = append(args, formatValueSet("nginxGateway.productTelemetry.enable", "true")...)
197+
} else {
198+
args = append(args, formatValueSet("nginxGateway.productTelemetry.enable", "false")...)
198199
}
199200
return args
200201
}

0 commit comments

Comments
 (0)