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

Jlesage master #2

Merged
merged 67 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
acf242c
Remove the tmp file under the same user that created it: with NFS4, e…
jlesage Aug 18, 2022
341778d
Updated baseimage to version 3.5.8, based on Alpine 15.
jlesage Aug 18, 2022
255579b
Added changelog for version 1.7.2. [skip ci]
jlesage Aug 18, 2022
e8eb7c3
Adjusted PayPal URL.
jlesage Oct 24, 2022
54a528c
- Adaptations for the new baseimage version 4.
jlesage Nov 8, 2022
d721fdc
Image is now built with Github Actions and is multi-arch.
jlesage Nov 8, 2022
1ab94a1
Updated documentation.
jlesage Nov 8, 2022
25d3b89
Converted app definitions to YAML format.
jlesage Nov 8, 2022
2c17984
Enhanced the app start script.
jlesage Nov 8, 2022
aaf0050
Only set the settings that need to change.
jlesage Nov 8, 2022
5b78c41
Added the ability to set the MyJDownloader credentials via environmen…
jlesage Nov 8, 2022
9a23a79
Added the ability to run JDownloader in headless mode.
jlesage Nov 8, 2022
8b0aec2
Removed invalid changelog entry.
jlesage Nov 18, 2022
e16b57b
Added changelog for version 22.11.1.
jlesage Nov 18, 2022
1154dbc
Adjusted the rough size.
jlesage Nov 18, 2022
a8c26d7
Updated baseimage to version 4.2.0.
jlesage Nov 27, 2022
c008337
Allow more time to JDownloader to restart.
jlesage Nov 28, 2022
3e7f267
Use helper to take ownership of `/output`.
jlesage Nov 29, 2022
92bc525
Fixed commit: Allow more time to JDownloader to restart.
jlesage Dec 1, 2022
10cf66b
Added changelog for version 22.11.2.
jlesage Dec 1, 2022
8c508bc
Revert "Use helper to take ownership of `/output`."
jlesage Dec 1, 2022
03d198a
Added changelog for version 22.12.1.
jlesage Dec 1, 2022
f35008f
Updated baseimage to version 4.2.2.
jlesage Dec 11, 2022
2b656dc
Added changelog for version 22.12.2.
jlesage Dec 11, 2022
1daf900
Removed unset defaults.
jlesage Dec 20, 2022
ced1f8c
Updated README.
jlesage Jan 5, 2023
d2a78cc
Updated baseimage to version 4.3.1.
jlesage Jan 5, 2023
53a6076
Use baseimage helper to take ownership of `/output`.
jlesage Jan 5, 2023
f992860
Added changelog for version 23.01.1.
jlesage Jan 5, 2023
263c3c5
Updated baseimage to version 4.3.2.
jlesage Jan 7, 2023
27c2cb5
Restored previous behavior and take ownership of `/output` only, with…
jlesage Jan 7, 2023
32c4379
Use helper to check boolean value.
jlesage Jan 7, 2023
939cdc5
Added changelog for version 23.01.2.
jlesage Jan 7, 2023
4570e2e
Updated docker/build-push-action to v4.
jlesage Feb 4, 2023
880f6d0
Updated baseimage to version 4.3.3.
jlesage Feb 4, 2023
e8ba05c
Updated READMEs.
jlesage Feb 4, 2023
515554e
Removed rough_download_size: no longer used.
jlesage Feb 4, 2023
e56bdac
Simplified the way settings are changed in config files.
jlesage Feb 4, 2023
6c02998
Added changelog for version 23.02.1.
jlesage Feb 4, 2023
acf982a
Updated README.
jlesage Feb 5, 2023
8c6a5d0
Disable provenance attestation to keep better compatibility with olde…
jlesage Feb 7, 2023
a509e14
Update to documentation.
jlesage Feb 8, 2023
a3edd11
Updated baseimage to version 4.3.4.
jlesage Feb 8, 2023
743dd02
Added changelog for version 23.02.2.
jlesage Feb 8, 2023
a2d49f3
Adjusted application's title.
jlesage Feb 12, 2023
9faf214
Updated README.
jlesage Feb 12, 2023
840cc83
Updated baseimage to version 4.3.6.
jlesage Feb 14, 2023
433ccdb
Updated README.
jlesage Feb 24, 2023
d3e8fa0
Updated baseimage to version 4.4.0.
jlesage Mar 4, 2023
fac1e64
Added changelog for version 23.03.1.
jlesage Mar 5, 2023
8c6c07a
Updated baseimage to version 4.4.1.
jlesage Apr 19, 2023
7dc3df6
Added changelog for version 23.04.1.
jlesage Apr 29, 2023
cbe5ab6
Do not send notification when build is started from pull request.
jlesage May 8, 2023
c3223be
Small update to the README.
jlesage May 9, 2023
615f79c
Removed the checkout step: buildx do its own checkout.
jlesage May 9, 2023
f7ef116
Added GitHub issue templates.
jlesage May 9, 2023
80e8b4b
Checkout step is needed for pushing the dockerhub description.
jlesage May 16, 2023
7aaf7d0
Adjusted badges in documentation.
jlesage May 16, 2023
6d6e4d9
Updated funding custom URLs.
jlesage May 16, 2023
6cca8a8
Upgraded baseimage to version 4.4.2.
jlesage May 16, 2023
d7d8934
Fixed changelog.
jlesage May 19, 2023
0f5e5af
Updated documentation about ports.
jlesage May 19, 2023
7aa8f53
Disabled blank issue.
jlesage May 27, 2023
6758e33
Adjusted vim modeline.
jlesage Jun 8, 2023
035f5f0
Added changelog for version 23.06.1.
jlesage Jun 8, 2023
45954d3
Fixed typos.
jlesage Jun 22, 2023
0f0ab2e
Merge branch 'master' of https://github.com/jlesage/docker-jdownloade…
9Mad-Max5 Jul 11, 2023
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
86 changes: 0 additions & 86 deletions .drone.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://paypal.me/JocelynLeSage/0usd
custom: ["https://paypal.me/JocelynLeSage", "https://www.tesla.com/referral/jocelyn4590"]
93 changes: 93 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Bug report
description: File a bug report.
title: "[Bug] Provide a short description of the bug here"
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
attributes:
label: Current Behavior
description: A concise description of what you're experiencing.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
validations:
required: false
- type: textarea
attributes:
label: Environment
description: |
Provide details about the host running the container.
Examples:
- Operating system (e.g. Ubuntu, Windows, TrueNAS, openmediavault, unRAID, etc).
- Version of the operating system.
- CPU architecture (x86-64, arm, arm64, etc).
- Model of the device, if applicable (e.g. Raspberry Pi 4B, Synology DS418, QNAP TS-364, etc).
- The Docker version (output of `docker version`).
- Anything else specific to your environment. Examples:
- Network share (NFS, CIFS) mapped to the container.
- Docker running in LXC container.
- etc.
- If applicable, how the UI provided by the container is access:
- Browser (Chrome, Firefox, Edge, etc).
- Version of the browser.
- OS of the browser.
- Is the container accessed through a reverse proxy.
- etc.
value: |
- OS:
- OS version:
- CPU:
- Docker version:
- Device model:
- Browser/OS:
validations:
required: false
- type: textarea
attributes:
label: Container creation
description: |
How did you create the container ?
Examples:
- The `docker run` command used.
- The compose file used.
- Screenshots of the management tool UI (e.g. Portainer, unRAID, etc) showing container settings.
validations:
required: true
- type: textarea
attributes:
label: Container log
description: Please copy/paste the output of `docker logs <container name>`.
render: text
validations:
required: true
- type: textarea
attributes:
label: Container inspect
description: |
If the container is running, please provide the output of `docker inspect <container name>`.
**Attention**: If you defined passwords, secrets or any sensitive information via environment variables, make sure to remove them from the output.
render: text
validations:
required: false
- type: textarea
attributes:
label: Anything else?
description: |
Anything that will give more context about the issue you are encountering.

Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question, discuss
url: https://github.com/jlesage/docker-jdownloader-2/discussions
about: Get help using this Docker container.
- name: Documentation
url: https://github.com/jlesage/docker-jdownloader-2#readme
about: Documentation about this Docker container.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Feature request
description: Suggest an idea for this project.
title: "[Feature request] Provide a short description of the feature here"
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thank you for suggesting an idea to make this project better.
- type: textarea
attributes:
label: Idea
description: |
Please describe the desired behavior, pitch your idea, or suggest improvements.
validations:
required: true
159 changes: 159 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
name: Docker image CI/CD

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
DOCKER_IMAGE_NAME: jlesage/jdownloader-2
PLATFORMS: linux/amd64,linux/386,linux/arm64/v8

on:
push:
branches: '*'
tags:
- v[0-9][0-9].[0-9][0-9].[0-9]+
- v[0-9][0-9].[0-9][0-9].[0-9]+-pre.[0-9]+
pull_request:

jobs:
build:
name: Build image
runs-on: ubuntu-20.04

steps:
- name: Free disk space
run: |
# Free disk space.
echo "::group::Before"
df -h /
echo "::endgroup::"
echo "::group::Removing unneeded softwares and files..."
for DIR in /usr/local/lib/android /usr/share/dotnet /opt/ghc
do
if [ -d "$DIR" ]; then
echo "Removing $DIR..."
sudo rm -r "$DIR"
fi
done
echo "::endgroup::"
echo "::group::After"
df -h /
echo "::endgroup::"

- name: Prepare
id: prep
run: |
# Determine the Docker container version.
VERSION=unknown
if [[ $GITHUB_REF =~ refs/tags/* ]]; then
# Git tag pushed: use tag as the version.
VERSION=${GITHUB_REF#refs/tags/}
elif [[ $GITHUB_REF =~ refs/heads/* ]]; then
# Git commit pushed: use the commit SHA as the version.
VERSION=${GITHUB_SHA::8}
elif [[ $GITHUB_REF =~ refs/pull/* ]]; then
# Pull request: use PR number as the version.
VERSION=pr-${{ github.event.number }}
else
echo "::error::Unexpected GITHUB_REF: $GITHUB_REF"
exit 1
fi
# Determine the version to put in container label.
LABEL_VERSION=${VERSION}
if [[ $GITHUB_REF =~ refs/tags/* ]]; then
# Do not include the starting 'v' of the version.
LABEL_VERSION=${VERSION:1}
fi
# Determine the Docker container tags.
TAGS="${{ env.DOCKER_IMAGE_NAME }}:${VERSION}"
if [[ $GITHUB_REF =~ refs/tags/* ]]; then
TAGS="$TAGS,${{ env.DOCKER_IMAGE_NAME }}:latest"
fi
# Determine the release type.
if [[ $GITHUB_REF =~ refs/tags/* ]]; then
IS_RELEASE=yes
if [[ $GITHUB_REF =~ -pre\.[0-9]+ ]]; then
RELEASE_TYPE="pre"
else
RELEASE_TYPE="standard"
fi
else
IS_RELEASE=no
RELEASE_TYPE="n/a"
fi
# Print results.
echo "::group::Results"
echo "Github reference: $GITHUB_REF"
echo "Release: $IS_RELEASE"
echo "Release type: $RELEASE_TYPE"
echo "Docker container version: $VERSION"
echo "Docker container version label: $LABEL_VERSION"
echo "Docker container tag(s): $TAGS"
echo "::endgroup::"
# Export outputs.
echo "is_release=${IS_RELEASE}" >> $GITHUB_OUTPUT
echo "release_type=${RELEASE_TYPE}" >> $GITHUB_OUTPUT
echo "version=${VERSION}" >> $GITHUB_OUTPUT
echo "label_version=${LABEL_VERSION}" >> $GITHUB_OUTPUT
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
#echo "build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT

- name: Setup QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm,arm64,ppc64le,mips64,s390x

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
if: ${{ steps.prep.outputs.is_release == 'yes' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v4
with:
push: ${{ steps.prep.outputs.is_release == 'yes' }}
provenance: false
platforms: ${{ env.PLATFORMS }}
tags: ${{ steps.prep.outputs.tags }}
build-args: |
DOCKER_IMAGE_VERSION=${{ steps.prep.outputs.label_version }}
cache-from: type=gha,scope=${{ env.DOCKER_IMAGE_NAME }}
cache-to: type=gha,mode=max,scope=${{ env.DOCKER_IMAGE_NAME }}

- name: Inspect
if: ${{ steps.prep.outputs.is_release == 'yes' }}
run: |
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE_NAME }}:${{ steps.prep.outputs.version }}

- name: Checkout
uses: actions/checkout@v3
if: ${{ steps.prep.outputs.release_type == 'standard' }}

- name: Dockerhub description
if: ${{ steps.prep.outputs.release_type == 'standard' }}
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ env.DOCKER_IMAGE_NAME }}
readme-filepath: DOCKERHUB.md

notification:
name: Notification
needs: [ build ]
runs-on: ubuntu-20.04
if: ${{ always() && github.event_name != 'pull_request' }}

steps:
- name: Pushover notification
uses: desiderati/github-action-pushover@v1
with:
job-status: ${{ needs.build.result }}
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

Loading