@@ -57,13 +57,11 @@ var _ = Describe("Build", func() {
57
57
// docker build's stdin is a dockerfile
58
58
Expect (buf .String ()).To (ContainSubstring ("COPY config.yaml /temp-config.yaml" ))
59
59
Expect (buf .String ()).To (ContainSubstring ("--skip-tags=precompile,migrate,db" ))
60
- Expect (buf .String ()).ToNot (ContainSubstring ("SKIP_EMBER_CLI_COMPILE=1" ))
61
60
}
62
61
63
62
var checkMigrateCmd = func (cmd exec.Cmd ) {
64
63
Expect (cmd .String ()).To (ContainSubstring ("docker run" ))
65
64
Expect (cmd .String ()).To (ContainSubstring ("--env DISCOURSE_DEVELOPER_EMAILS" ))
66
- Expect (cmd .String ()).To (ContainSubstring ("--env SKIP_EMBER_CLI_COMPILE=1" ))
67
65
// no commit after, we expect an --rm as the container isn't needed after it is stopped
68
66
Expect (cmd .String ()).To (ContainSubstring ("--rm" ))
69
67
Expect (cmd .Env ).To (ContainElement ("DISCOURSE_DB_PASSWORD=SOME_SECRET" ))
@@ -97,7 +95,6 @@ var _ = Describe("Build", func() {
97
95
"--env RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR " +
98
96
"--env UNICORN_SIDEKIQS " +
99
97
"--env UNICORN_WORKERS " +
100
- "--env SKIP_EMBER_CLI_COMPILE=1 " +
101
98
"--volume /var/discourse/shared/web-only:/shared " +
102
99
"--volume /var/discourse/shared/web-only/log/var-log:/var/log " +
103
100
"--link data:data " +
@@ -220,7 +217,6 @@ var _ = Describe("Build", func() {
220
217
Expect (cmd .String ()).To (ContainSubstring ("docker run" ))
221
218
Expect (cmd .String ()).To (ContainSubstring ("--env DISCOURSE_DEVELOPER_EMAILS" ))
222
219
Expect (cmd .String ()).To (ContainSubstring ("--env SKIP_POST_DEPLOYMENT_MIGRATIONS=1" ))
223
- Expect (cmd .String ()).To (ContainSubstring ("--env SKIP_EMBER_CLI_COMPILE=1" ))
224
220
// no commit after, we expect an --rm as the container isn't needed after it is stopped
225
221
Expect (cmd .String ()).To (ContainSubstring ("--rm" ))
226
222
Expect (cmd .Env ).To (ContainElement ("DISCOURSE_DB_PASSWORD=SOME_SECRET" ))
0 commit comments