Compare commits
No commits in common. "d64c2af1efe30ffe80049b94d5373797836a7fbe" and "3d35861ae4b5d8af0c5e22fb1623e4558c1e34af" have entirely different histories.
d64c2af1ef
...
3d35861ae4
3 changed files with 0 additions and 97 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
@ -1,7 +0,0 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "kotasks"
|
||||
version = "0.1.0"
|
34
Dockerfile
34
Dockerfile
|
@ -1,34 +0,0 @@
|
|||
# Stage 1: Build the Rust application
|
||||
FROM rust:alpine as builder
|
||||
|
||||
# Install necessary dependencies
|
||||
RUN apk add --no-cache musl-dev && \
|
||||
rustup target add x86_64-unknown-linux-musl
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the source code
|
||||
COPY . .
|
||||
|
||||
# Build the Rust binary
|
||||
RUN cargo build --release --target x86_64-unknown-linux-musl
|
||||
|
||||
# Stage 2: Create the minimal runtime image
|
||||
FROM alpine:latest
|
||||
|
||||
# Set the image name
|
||||
LABEL name="kotasks"
|
||||
|
||||
# Install necessary libraries
|
||||
RUN apk add --no-cache libgcc
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the built binary from the builder stage
|
||||
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/kotasks .
|
||||
|
||||
# Run the binary
|
||||
CMD ["./kotasks"]
|
||||
|
56
sumi.toml
56
sumi.toml
|
@ -1,56 +0,0 @@
|
|||
# git-sumi ~ configuration file
|
||||
# Config: https://sumi.rs/docs/configuration
|
||||
# Rules: https://sumi.rs/docs/rules
|
||||
|
||||
# Suppresses progress messages.
|
||||
quiet = false
|
||||
|
||||
# Displays parsed commit message.
|
||||
display = false
|
||||
|
||||
# Sets display format: cli, json, table, toml.
|
||||
format = "cli"
|
||||
|
||||
# Processes each non-empty line as an individual commit.
|
||||
split_lines = false
|
||||
|
||||
# Rule: Include one valid Gitmoji.
|
||||
# See https://gitmoji.dev/.
|
||||
gitmoji = true
|
||||
|
||||
# Rule: Description must start with the specified case.
|
||||
# Options: 'any', 'lower', 'upper'.
|
||||
description_case = "upper"
|
||||
|
||||
# Rule: Use the imperative mood in the description.
|
||||
# Example: 'Fix bug' instead of 'Fixed bug'.
|
||||
imperative = true
|
||||
|
||||
# Rule: Do not end commit header with a period.
|
||||
no_period = true
|
||||
|
||||
# Rule: Header length limit.
|
||||
# A value of 0 disables the rule.
|
||||
max_header_length = 60
|
||||
|
||||
# Rule: Body line length limit.
|
||||
# A value of 0 disables the rule.
|
||||
max_body_length = 150
|
||||
|
||||
# Rule: No leading, trailing, or consecutive spaces.
|
||||
whitespace = true
|
||||
|
||||
# Rule: Follow Conventional Commits format.
|
||||
# See https://www.conventionalcommits.org/.
|
||||
conventional = false
|
||||
|
||||
# Rule: List of allowed commit scopes.
|
||||
# An empty list allows all scopes. Example: ["docs", "cli"].
|
||||
scopes_allowed = []
|
||||
|
||||
# Rule: List of allowed commit types.
|
||||
# An empty list allows all types. Example: ["feat", "fix", "docs"].
|
||||
types_allowed = ["Feature", "Fix", "Docs", "Chore", "Refactor"]
|
||||
# Rule: Header must match regex pattern.
|
||||
# Example: '^JIRA-\d+:'.
|
||||
header_pattern = ""
|
Loading…
Reference in a new issue