Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/reusable-cron-dependency-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: (Cron) Dependency Update
name: (Reusable - Cron) Dependency Update

on:
workflow_call:
Expand Down
8 changes: 0 additions & 8 deletions Taskfile.variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ env:
TERM: xterm-256color

vars:
# System context
SED:
sh: |
if [ "$(uname -s)" = "Darwin" ]; then
Expand All @@ -30,8 +29,6 @@ vars:
fi
PROJECT_DIR_NAME:
sh: basename "$PWD"

# Container metadata
DOCKER_IMAGE: '{{.DOCKER_IMAGE | default .PROJECT_DIR_NAME}}'
GITHUB_REPO: '{{.GITHUB_REPO | default .PROJECT_DIR_NAME}}'
DOCKER_ORG_NAME: '{{.DOCKER_ORG_NAME | default "devopsinfra"}}'
Expand Down Expand Up @@ -63,8 +60,6 @@ vars:
LABEL_HOMEPAGE: '{{.LABEL_HOMEPAGE | default "https://shyper.pro"}}'
LABEL_VENDOR: '{{.LABEL_VENDOR | default "DevOps-Infra"}}'
LABEL_LICENSE: '{{.LABEL_LICENSE | default "MIT"}}'

# Build context
CONTEXT: '{{.CONTEXT | default "."}}'
DOCKERFILE: '{{.DOCKERFILE | default "Dockerfile"}}'
PLATFORMS: '{{.PLATFORMS | default "linux/amd64,linux/arm64"}}'
Expand Down Expand Up @@ -120,8 +115,6 @@ vars:
sh: echo "{{.VERSION_FROM_ACTION_YML}}" | awk -F\. '{print $1}'
MINOR_FROM_ACTION_YML:
sh: echo "{{.VERSION_FROM_ACTION_YML}}" | awk -F\. '{print $1"."$2}'

# Git metadata
GIT_SHA:
sh: git rev-parse HEAD 2>/dev/null || echo 0000000000000000000000000000000000000000
GIT_SHORT_SHA:
Expand All @@ -133,7 +126,6 @@ vars:
else
git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "unknown"
fi

# Labels for http://label-schema.org/rc1/#build-time-labels
# And for https://github.com/opencontainers/image-spec/blob/master/annotations.md
ANNOTATIONS: >-
Expand Down
8 changes: 0 additions & 8 deletions templates/actions/taskfiles/Taskfile.variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ env:
TERM: xterm-256color

vars:
# System context
SED:
sh: |
if [ "$(uname -s)" = "Darwin" ]; then
Expand All @@ -30,8 +29,6 @@ vars:
fi
PROJECT_DIR_NAME:
sh: basename "$PWD"

# Container metadata
DOCKER_IMAGE: '{{.DOCKER_IMAGE | default .PROJECT_DIR_NAME}}'
GITHUB_REPO: '{{.GITHUB_REPO | default .PROJECT_DIR_NAME}}'
DOCKER_ORG_NAME: '{{.DOCKER_ORG_NAME | default "devopsinfra"}}'
Expand Down Expand Up @@ -63,8 +60,6 @@ vars:
LABEL_HOMEPAGE: '{{.LABEL_HOMEPAGE | default "https://shyper.pro"}}'
LABEL_VENDOR: '{{.LABEL_VENDOR | default "DevOps-Infra"}}'
LABEL_LICENSE: '{{.LABEL_LICENSE | default "MIT"}}'

# Build context
CONTEXT: '{{.CONTEXT | default "."}}'
DOCKERFILE: '{{.DOCKERFILE | default "Dockerfile"}}'
PLATFORMS: '{{.PLATFORMS | default "linux/amd64,linux/arm64"}}'
Expand Down Expand Up @@ -120,8 +115,6 @@ vars:
sh: echo "{{.VERSION_FROM_ACTION_YML}}" | awk -F\. '{print $1}'
MINOR_FROM_ACTION_YML:
sh: echo "{{.VERSION_FROM_ACTION_YML}}" | awk -F\. '{print $1"."$2}'

# Git metadata
GIT_SHA:
sh: git rev-parse HEAD 2>/dev/null || echo 0000000000000000000000000000000000000000
GIT_SHORT_SHA:
Expand All @@ -133,7 +126,6 @@ vars:
else
git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "unknown"
fi

# Labels for http://label-schema.org/rc1/#build-time-labels
# And for https://github.com/opencontainers/image-spec/blob/master/annotations.md
ANNOTATIONS: >-
Expand Down
1 change: 1 addition & 0 deletions templates/dockerized/taskfiles/Taskfile.cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ tasks:
echo "❌ ERROR: VERSION '{{.VERSION}}' is not a valid semantic version (expected vX.Y.Z or X.Y.Z)"
exit 1
fi

version:update:patch:
desc: Increment patch version (e.g., 1.2.3 -> 1.2.4)
cmds:
Expand Down
1 change: 1 addition & 0 deletions templates/dockerized/taskfiles/Taskfile.scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ tasks:
echo "❌ ERROR: VERSION is empty"
exit 1
fi

version:update:patch:
desc: Increment patch version (e.g., 1.2.3 -> 1.2.4)
cmds:
Expand Down
8 changes: 0 additions & 8 deletions templates/dockerized/taskfiles/Taskfile.variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ env:
TERM: xterm-256color

vars:
# System context
SED:
sh: |
if [ "$(uname -s)" = "Darwin" ]; then
Expand All @@ -30,8 +29,6 @@ vars:
fi
PROJECT_DIR_NAME:
sh: basename "$PWD"

# Container metadata
DOCKER_IMAGE: '{{.DOCKER_IMAGE | default .PROJECT_DIR_NAME}}'
GITHUB_REPO: '{{.GITHUB_REPO | default .PROJECT_DIR_NAME}}'
DOCKER_ORG_NAME: '{{.DOCKER_ORG_NAME | default "devopsinfra"}}'
Expand Down Expand Up @@ -63,8 +60,6 @@ vars:
LABEL_HOMEPAGE: '{{.LABEL_HOMEPAGE | default "https://shyper.pro"}}'
LABEL_VENDOR: '{{.LABEL_VENDOR | default "DevOps-Infra"}}'
LABEL_LICENSE: '{{.LABEL_LICENSE | default "MIT"}}'

# Build context
CONTEXT: '{{.CONTEXT | default "."}}'
DOCKERFILE: '{{.DOCKERFILE | default "Dockerfile"}}'
PLATFORMS: '{{.PLATFORMS | default "linux/amd64,linux/arm64"}}'
Expand Down Expand Up @@ -120,8 +115,6 @@ vars:
sh: echo "{{.VERSION_FROM_ACTION_YML}}" | awk -F\. '{print $1}'
MINOR_FROM_ACTION_YML:
sh: echo "{{.VERSION_FROM_ACTION_YML}}" | awk -F\. '{print $1"."$2}'

# Git metadata
GIT_SHA:
sh: git rev-parse HEAD 2>/dev/null || echo 0000000000000000000000000000000000000000
GIT_SHORT_SHA:
Expand All @@ -133,7 +126,6 @@ vars:
else
git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "unknown"
fi

# Labels for http://label-schema.org/rc1/#build-time-labels
# And for https://github.com/opencontainers/image-spec/blob/master/annotations.md
ANNOTATIONS: >-
Expand Down
1 change: 1 addition & 0 deletions templates/other/taskfiles/Taskfile.cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ tasks:
echo "❌ ERROR: VERSION '{{.VERSION}}' is not a valid semantic version (expected vX.Y.Z or X.Y.Z)"
exit 1
fi

version:update:patch:
desc: Increment patch version (e.g., 1.2.3 -> 1.2.4)
cmds:
Expand Down
1 change: 1 addition & 0 deletions templates/other/taskfiles/Taskfile.scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ tasks:
echo "❌ ERROR: VERSION '{{.VERSION}}' is not a valid semantic version (expected vX.Y.Z or X.Y.Z)"
exit 1
fi

version:update:patch:
desc: Increment patch version (e.g., 1.2.3 -> 1.2.4)
cmds:
Expand Down
4 changes: 0 additions & 4 deletions templates/other/taskfiles/Taskfile.variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ env:
TERM: xterm-256color

vars:
# System context
SED:
sh: |
if [ "$(uname -s)" = "Darwin" ]; then
Expand Down Expand Up @@ -61,9 +60,6 @@ vars:
sh: echo $(( {{.MINOR}} + 1 ))
NEXT_MAJOR:
sh: echo $(( {{.MAJOR}} + 1 ))


# Git metadata
GIT_SHA:
sh: git rev-parse HEAD 2>/dev/null || echo 0000000000000000000000000000000000000000
GIT_SHORT_SHA:
Expand Down
1 change: 1 addition & 0 deletions templates/static/taskfiles/Taskfile.scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ tasks:
echo "ERROR: VERSION '{{.VERSION}}' is not a valid semantic version (expected vX.Y.Z or X.Y.Z)"
exit 1
fi

version:update:patch:
desc: Increment patch version (e.g., 1.2.3 -> 1.2.4)
cmds:
Expand Down
Loading