Skip to content

Commit

Permalink
Run dynatrace API fixture using cflinuxfs3 (until go bp is pubic avai…
Browse files Browse the repository at this point in the history
…lable on cflinuxfs4) (#348)
  • Loading branch information
thitch97 authored Feb 23, 2023
1 parent df64c39 commit c9a7917
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/staticfile/integration/deploy_app_with_dynatrace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package integration_test

import (
"fmt"
"os"
"os/exec"
"time"

Expand All @@ -21,6 +22,11 @@ var _ = Describe("CF Staticfile Buildpack", func() {

BeforeEach(func() {
dynatraceAPI = cutlass.New(Fixtures("fake_dynatrace_api"))
// TODO: remove this once go-buildpack runs on cflinuxfs4
// This is done to have the dynatrace broker app written in go up and running
if os.Getenv("CF_STACK") == "cflinuxfs4" {
dynatraceAPI.Stack = "cflinuxfs3"
}
dynatraceAPI.SetEnv("BP_DEBUG", "true")

Expect(dynatraceAPI.Push()).To(Succeed())
Expand Down

0 comments on commit c9a7917

Please sign in to comment.