fix: testing dockerfile change name
This commit is contained in:
+3
-3
@@ -215,19 +215,19 @@ check_typos() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Make sure the unused lint isn't used
|
# Make sure the unused lint isn't used
|
||||||
check_allow_unsued() {
|
check_allow_unused() {
|
||||||
matches_any=$(find . -type d \( -name .git -o -name target \) -prune -o -type f -exec grep -lE '^#!\[allow\(unused\)\]$' {} +)
|
matches_any=$(find . -type d \( -name .git -o -name target \) -prune -o -type f -exec grep -lE '^#!\[allow\(unused\)\]$' {} +)
|
||||||
matches_cargo=$(grep "^unused = \"allow\"" ./Cargo.toml)
|
matches_cargo=$(grep "^unused = \"allow\"" ./Cargo.toml)
|
||||||
if [ -n "$matches_any" ]; then
|
if [ -n "$matches_any" ]; then
|
||||||
error_close "\"#[allow(unused)]\" in ${matches_any}"
|
error_close "\"#[allow(unused)]\" in ${matches_any}"
|
||||||
elif [ -n "$matches_cargo" ]; then
|
elif [ -n "$matches_cargo" ]; then
|
||||||
error_close "\"unsed = \"allow\"\" in Cargo.toml"
|
error_close "\"unused = \"allow\"\" in Cargo.toml"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Full flow to create a new release
|
# Full flow to create a new release
|
||||||
release_flow() {
|
release_flow() {
|
||||||
check_allow_unsued
|
check_allow_unused
|
||||||
check_typos
|
check_typos
|
||||||
|
|
||||||
check_git
|
check_git
|
||||||
|
|||||||
+5
-5
@@ -3,9 +3,11 @@ networks:
|
|||||||
oxker-example-net:
|
oxker-example-net:
|
||||||
name: oxker-examaple-net
|
name: oxker-examaple-net
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres_but_with_a_longer_container_name:
|
||||||
image: postgres:alpine3.19
|
container_name: postgres_but_with_a_longer_container_name
|
||||||
container_name: postgres
|
build:
|
||||||
|
dockerfile: ./postgres.Dockerfile
|
||||||
|
context: "."
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=never_use_this_password_in_production
|
- POSTGRES_PASSWORD=never_use_this_password_in_production
|
||||||
ipc: private
|
ipc: private
|
||||||
@@ -39,5 +41,3 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 512M
|
memory: 512M
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
FROM postgres:16-alpine3.19
|
||||||
Reference in New Issue
Block a user