Merge pull request #1477 from gerhard/how-to-run-europa-with-changelog-highlevel
Make changelog.com highlevel Europa have fewer failures
This commit is contained in:
commit
ad07e9964f
@ -42,8 +42,8 @@ dagger.#Plan & {
|
|||||||
mix: {
|
mix: {
|
||||||
env: "prod"
|
env: "prod"
|
||||||
app: _appName
|
app: _appName
|
||||||
depsCache: "readonly"
|
depsCache: "private"
|
||||||
buildCache: "readonly"
|
buildCache: "private"
|
||||||
}
|
}
|
||||||
workdir: _
|
workdir: _
|
||||||
// FIXME: remove copy-pasta
|
// FIXME: remove copy-pasta
|
||||||
@ -52,7 +52,7 @@ dagger.#Plan & {
|
|||||||
// FIXME: do we need an ID here?
|
// FIXME: do we need an ID here?
|
||||||
id: "\(mix.app)_assets_node_modules"
|
id: "\(mix.app)_assets_node_modules"
|
||||||
// FIXME: does this command need write access to node_modules cache?
|
// FIXME: does this command need write access to node_modules cache?
|
||||||
concurrency: "readonly"
|
concurrency: "private"
|
||||||
}
|
}
|
||||||
dest: "\(workdir)/node_modules"
|
dest: "\(workdir)/node_modules"
|
||||||
}
|
}
|
||||||
@ -71,14 +71,16 @@ dagger.#Plan & {
|
|||||||
assets: docker.#Build & {
|
assets: docker.#Build & {
|
||||||
steps: [
|
steps: [
|
||||||
// 1. Start from dev runtime build
|
// 1. Start from dev runtime build
|
||||||
build,
|
{
|
||||||
|
output: build.output
|
||||||
|
},
|
||||||
// 2. Build web assets
|
// 2. Build web assets
|
||||||
mix.#Run & {
|
mix.#Run & {
|
||||||
mix: {
|
mix: {
|
||||||
env: "dev"
|
env: "dev"
|
||||||
app: _appName
|
app: _appName
|
||||||
depsCache: "readonly"
|
depsCache: "private"
|
||||||
buildCache: "readonly"
|
buildCache: "private"
|
||||||
}
|
}
|
||||||
// FIXME: move this to a reusable def (yarn package? or private?)
|
// FIXME: move this to a reusable def (yarn package? or private?)
|
||||||
mounts: nodeModules: {
|
mounts: nodeModules: {
|
||||||
|
@ -71,9 +71,9 @@ import (
|
|||||||
}
|
}
|
||||||
docker.#Run
|
docker.#Run
|
||||||
env: MIX_ENV: mix.env
|
env: MIX_ENV: mix.env
|
||||||
|
workdir: string
|
||||||
{
|
{
|
||||||
mix: depsCache: string
|
mix: depsCache: string
|
||||||
workdir: string
|
|
||||||
mounts: depsCache: {
|
mounts: depsCache: {
|
||||||
contents: engine.#CacheDir & {
|
contents: engine.#CacheDir & {
|
||||||
id: "\(mix.app)_deps"
|
id: "\(mix.app)_deps"
|
||||||
@ -84,7 +84,6 @@ import (
|
|||||||
} | {}
|
} | {}
|
||||||
{
|
{
|
||||||
mix: buildCache: string
|
mix: buildCache: string
|
||||||
workdir: string
|
|
||||||
mounts: buildCache: {
|
mounts: buildCache: {
|
||||||
contents: engine.#CacheDir & {
|
contents: engine.#CacheDir & {
|
||||||
id: "\(mix.app)_deps"
|
id: "\(mix.app)_deps"
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
package ci
|
||||||
|
|
||||||
|
inputs: directories: app: path: "/Users/gerhard/github.com/thechangelog/changelog.com/"
|
Reference in New Issue
Block a user