Compare commits
3 Commits
faa4f713c8
...
8baeda4cae
Author | SHA1 | Date |
---|---|---|
|
8baeda4cae | |
|
2547434d95 | |
|
b9d0bb7aa5 |
|
@ -21,7 +21,6 @@ pipeline:
|
|||
- yarn install
|
||||
- yarn run build
|
||||
|
||||
|
||||
build-backend:
|
||||
image: chewingbever/fej-builder:latest
|
||||
pull: true
|
||||
|
@ -51,7 +50,7 @@ pipeline:
|
|||
commands:
|
||||
- cargo fmt -- --check
|
||||
# This is run here because it requires compilation
|
||||
- cargo clippy -- -D warnings
|
||||
- cargo clippy --all-targets -- -D warnings
|
||||
|
||||
|
||||
# =====REBUILD & FLUSH CACHE=====
|
||||
|
@ -63,6 +62,7 @@ pipeline:
|
|||
rebuild: true
|
||||
mount:
|
||||
- target
|
||||
- .cargo
|
||||
- web/node_modules
|
||||
|
||||
secrets: [ cache_s3_access_key, cache_s3_secret_key ]
|
||||
|
@ -83,26 +83,3 @@ pipeline:
|
|||
# Push the cache, even on failure
|
||||
when:
|
||||
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
|
||||
#[cfg(test)]
|
||||
fn new(name: String, city: String) -> Street {
|
||||
Street {
|
||||
name: name,
|
||||
city: city,
|
||||
}
|
||||
Street { name, city }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue