Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0.0 Release #2

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog
## 2024
* `sep`
* `2.0.0.0` - New Major release:
* Migrated to `dotnet8`
* Updated `Readme`
* Fixed cookie bug
* Added `Jira OAuth` support
* Updated dependencies:
* `Bootstrap` and `Bootswatch`: `4` to `5` major release
* `jQuery` minor update to `3.7.1`
* `fontawesome`: `5` to `6` major release
* `Atlassian SDK` to `13.0.0` version
* `1.0.0.17` - public release
-------------------------------------------------------------------
## 2020
* `1.0.0.17` - internal stable release.
* `1.0.0.0 - 1.0.0.16` - internal development for `Antinomy Collective` for `Kayf-Life` game.
77 changes: 61 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,67 @@
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
WORKDIR /app
##################################################################
##################################################################
##################################################################
# Temp Build Layer
##################################################################
##################################################################
##################################################################
FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build

ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
ARG DOTNET_VER=net8.0

COPY ["./src", "/tmp/src"]

WORKDIR /tmp/src

RUN cd /tmp/src && \
mkdir -p /app/publish && \
dotnet publish -p:PublishProfile=linux-x64 --force && \
rm -rfv /tmp/src/bin/Release/${DOTNET_VER}/linux-x64/publish/epicmorg.jira.issue.web.reporter.pdb && \
rm -rfv /tmp/src/bin/Release/${DOTNET_VER}/linux-x64/publish/appsettings.Development.json && \
cp -rfv /tmp/src/bin/Release/${DOTNET_VER}/linux-x64/publish/* /app/publish

FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
WORKDIR /src-temp
COPY ["./src/epicmorg.jira.issue.web.reporter", "jwr/"]
RUN dotnet restore "jwr/epicmorg.jira.issue.web.reporter.csproj"
##################################################################
##################################################################
##################################################################
# Main Final Layer
##################################################################
##################################################################
##################################################################
FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim

COPY . .
WORKDIR "/src-temp/jwr"
RUN cat ./epicmorg.jira.issue.web.reporter.csproj && \
dotnet build "./epicmorg.jira.issue.web.reporter.csproj" -c Release -o /app/build
LABEL maintainer="EpicMorg DevTeam, [email protected]"
LABEL org.opencontainers.image.vendor="EpicMorg DevTeam, [email protected]"
LABEL org.opencontainers.image.authors="STAM, kasthack, Aleks-Z"
LABEL org.opencontainers.image.source="https://github.com/EpicMorg/docker"
LABEL org.opencontainers.image.url="https://github.com/EpicMorg/docker"
LABEL donate.crypto.TON="EQDvHXRK-K1ZieJhgTD9JZQk7xCnWzRbctYnUkWq1lZq1bUg"
LABEL donate.crypto.ETH="0x26a8443a694f08cdfec966aa6fd72c45068753ec"
LABEL donate.crypto.BTC="bc1querz8ug9asjmsuy6yn4a94a2athgprnu7e5zq2"
LABEL donate.crypto.LTC="ltc1qtwwacq8f0n76fer2y83wxu540hddnmf8cdrlvg"
LABEL donate.crypto.NVC="4SbMynYETyhmKdggu8f38ULU6yQKiJPuo6"
LABEL donate.crypto.DOGE="DHyfE1CZzWtyaQiaMmv6g4KvXVQRUgrYE6"
LABEL donate.crypto.PPC="pQWArPzYoLppNe7ew3QPfto1k1eq66BYUB"
LABEL donate.crypto.RVN="R9t2LKeLhDSZBKNgUzSDZAossA3UqNvbV3"
LABEL donate.crypto.ZEC="t1KRMMmwMSZth8vJcd2ZHtPEFKTQ74yVixE"
LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4wQxoVfEJoW7LBhdQMP9cFhZQpJr6xvg7esHLdCbb1"
ARG DEBIAN_FRONTEND=noninteractive

FROM build AS publish
RUN dotnet publish "./epicmorg.jira.issue.web.reporter.csproj" -c Release -o /app/publish
##################################################################
# Copy compilled app from dev stage and prepare
##################################################################
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "epicmorg.jira.issue.web.reporter.dll"]
COPY --from=build /app/publish .

EXPOSE 5000
EXPOSE 80
EXPOSE 443
EXPOSE 80

##################################################################
# Run app in foreground
##################################################################
ENTRYPOINT ["dotnet", "epicmorg.jira.issue.web.reporter.dll"]
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

13 changes: 6 additions & 7 deletions .../wwwroot/lib/jquery-validation/LICENSE.md → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
The MIT License (MIT)
=====================
MIT License

Copyright Jörn Zaefferer
Copyright (c) 2009 EpicMorg

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -10,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
80 changes: 76 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
all: jwr
VERSION = "2024.09.05"
AUTHOR = "EpicMorg"
MODIFIED = "STAM"
DOCKER_SCAN_SUGGEST = false
PIP_BREAK_SYSTEM_PACKAGES = 1

jwr:
docker build --compress -t epicmorg/jira-issue-web-reporter .
docker push epicmorg/jira-issue-web-reporter
app:
@make -s version
@make -s help

version:
@echo "=================================================="
@echo " Jira Quick Issue Creator, version: ${VERSION}, [` git branch --show-current `]"
@echo "=================================================="

help:
@echo "make help - show this help."
@echo "make version - show version of this repository."
@echo "make pip - intall kaniko-wrapper and requirements."
@echo "make git - git add . ; git commit ; git push"
@echo "make build - legacy option. just shows kaniko-wrapper version."
@echo "make dry-run - dry build with kaniko-wrapper. without deploy."
@echo "make test - same as make dry-run"
@echo "make dry - same as make dry-run"
@echo "make build-compose - build with docker-compose engine."
@echo "make deploy - build and deploy with kaniko-wrapper."
@echo "make deploy-compose - deploy with docker-compose engine."
@echo "make clean - cleanup docker."

git:
git add .
git commit -am "make - autocommit"
git push

pip:
@echo "======================================="
@echo "===== Installing kaniko-wrapper ====="
@echo "======================================="
-rm -rfv /usr/lib/python3.6/EXTERNALLY-MANAGED || true
-rm -rfv /usr/lib/python3.7/EXTERNALLY-MANAGED || true
-rm -rfv /usr/lib/python3.8/EXTERNALLY-MANAGED || true
-rm -rfv /usr/lib/python3.9/EXTERNALLY-MANAGED || true
-rm -rfv /usr/lib/python3.10/EXTERNALLY-MANAGED || true
-rm -rfv /usr/lib/python3.11/EXTERNALLY-MANAGED || true
-rm -rfv /usr/lib/python3.12/EXTERNALLY-MANAGED || true
-rm -rfv /usr/lib/python3.13/EXTERNALLY-MANAGED || true
-rm -rfv /usr/lib/python3.14/EXTERNALLY-MANAGED || true
-pip3 install --break-system-packages -r requirements.txt || true
-pip install --break-system-packages -r requirements.txt || true

build:
kaniko-wrapper --version

dry:
make dry-run

test:
make dry-run

dry-run:
kaniko-wrapper --dry-run

build-compose:
docker-compose build --compress --parallel --progress plain

deploy:
kaniko-wrapper --deploy

deploy-compose:
docker-compose push

clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
Loading