Compare commits
3 Commits
faa4f713c8
...
8baeda4cae
Author | SHA1 | Date |
---|---|---|
|
8baeda4cae | |
|
2547434d95 | |
|
b9d0bb7aa5 |
|
@ -21,7 +21,6 @@ pipeline:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn run build
|
- yarn run build
|
||||||
|
|
||||||
|
|
||||||
build-backend:
|
build-backend:
|
||||||
image: chewingbever/fej-builder:latest
|
image: chewingbever/fej-builder:latest
|
||||||
pull: true
|
pull: true
|
||||||
|
@ -51,7 +50,7 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
# This is run here because it requires compilation
|
# This is run here because it requires compilation
|
||||||
- cargo clippy -- -D warnings
|
- cargo clippy --all-targets -- -D warnings
|
||||||
|
|
||||||
|
|
||||||
# =====REBUILD & FLUSH CACHE=====
|
# =====REBUILD & FLUSH CACHE=====
|
||||||
|
@ -63,6 +62,7 @@ pipeline:
|
||||||
rebuild: true
|
rebuild: true
|
||||||
mount:
|
mount:
|
||||||
- target
|
- target
|
||||||
|
- .cargo
|
||||||
- web/node_modules
|
- web/node_modules
|
||||||
|
|
||||||
secrets: [ cache_s3_access_key, cache_s3_secret_key ]
|
secrets: [ cache_s3_access_key, cache_s3_secret_key ]
|
||||||
|
@ -83,26 +83,3 @@ pipeline:
|
||||||
# Push the cache, even on failure
|
# Push the cache, even on failure
|
||||||
when:
|
when:
|
||||||
status: [ success, failure ]
|
status: [ success, failure ]
|
||||||
|
|
||||||
|
|
||||||
# publish-builder:
|
|
||||||
# image: plugins/docker
|
|
||||||
# repo: chewingbever/fej-builder
|
|
||||||
# dockerfile: docker/Dockerfile.builder
|
|
||||||
# tag: [ latest ]
|
|
||||||
# secrets: [ docker_username, docker_password ]
|
|
||||||
# when:
|
|
||||||
# branch: develop
|
|
||||||
# event: push
|
|
||||||
|
|
||||||
# Backend cicd jobs are disabled until we can figure out a way to cache stuff
|
|
||||||
# test-backend:
|
|
||||||
# image: chewingbever/fej-builder:latest
|
|
||||||
# # Always update the builder image
|
|
||||||
# pull: true
|
|
||||||
# commands:
|
|
||||||
# - cargo test
|
|
||||||
|
|
||||||
# TODO build dev & rel image, deploy these images
|
|
||||||
|
|
||||||
# branches: [ master, develop ]
|
|
||||||
|
|
|
@ -18,10 +18,7 @@ impl Street {
|
||||||
// This constructor just makes my life a bit easier during testing
|
// This constructor just makes my life a bit easier during testing
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
fn new(name: String, city: String) -> Street {
|
fn new(name: String, city: String) -> Street {
|
||||||
Street {
|
Street { name, city }
|
||||||
name: name,
|
|
||||||
city: city,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue