Skip to content

Commit b395a6f

Browse files
Merge remote-tracking branch 'origin/development'
2 parents 0c8382d + 3909864 commit b395a6f

8 files changed

Lines changed: 48 additions & 94 deletions

File tree

‎.github/docs-config.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
kind: java-library
2+
description: Docker-java provides a standalone Docker server for Java.

‎.github/workflows/build.yml‎

Lines changed: 14 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,20 @@
11
name: Build And Upload
2+
23
on:
34
push:
45
tags:
56
- "*"
6-
permissions:
7-
contents: write
8-
jobs:
9-
test:
10-
strategy:
11-
fail-fast: false
12-
matrix:
13-
os: [ubuntu-latest, macos-latest, windows-latest]
14-
runs-on: ${{ matrix.os }}
15-
steps:
16-
- uses: actions/checkout@v4
17-
18-
- name: Set up JDK 11
19-
uses: actions/setup-java@v4
20-
with:
21-
java-version: '11'
22-
distribution: 'temurin'
23-
24-
- name: Grant execute permission for gradlew
25-
run: chmod +x gradlew
26-
if: matrix.os != 'windows-latest'
27-
28-
- name: Run unit tests
29-
run: ./gradlew ciTest --no-daemon --info
30-
shell: bash
317

32-
build:
33-
needs: test
34-
runs-on: ubuntu-latest
35-
steps:
36-
- name: Checkout project sources
37-
uses: actions/checkout@v4
38-
39-
- name: Set up JDK 8
40-
uses: actions/setup-java@v4
41-
with:
42-
java-version: '8'
43-
distribution: 'temurin'
44-
45-
- name: Setup Gradle
46-
uses: gradle/gradle-build-action@v3
47-
48-
- name: Grant execute permission for gradlew
49-
run: chmod +x gradlew
50-
51-
- name: Publish GitHub Release
52-
run: ./gradlew publishGithub -Partifact_version=${{ github.ref_name }}
53-
env:
54-
GITHUB_TOKEN: ${{ secrets.PAT }}
8+
jobs:
9+
call-reusable-workflow:
10+
uses: intisy/workflows/.github/workflows/build.yml@main
11+
with:
12+
ref_name: ${{ github.ref_name }}
13+
java_version: '8'
14+
jdk_distribution: temurin
15+
publish_task: publishGithub
16+
test_task: ciTest --no-daemon --info
17+
test_java_version: '11'
18+
test_runners: '["ubuntu-latest", "macos-latest", "windows-latest"]'
19+
secrets:
20+
envPAT: ${{ secrets.PAT }}

‎.github/workflows/readme-dependency.yml‎

Lines changed: 0 additions & 15 deletions
This file was deleted.

‎.github/workflows/readme.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Generate README
2+
on:
3+
release:
4+
types: [published]
5+
permissions:
6+
contents: write
7+
jobs:
8+
readme:
9+
uses: intisy/workflows/.github/workflows/readme.yml@main
10+
with:
11+
repository: ${{ github.repository }}
12+
secrets:
13+
envPAT: ${{ secrets.PAT }}

‎.github/workflows/sync-development-to-main.yml‎

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,7 @@ permissions:
1010

1111
jobs:
1212
merge:
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- name: Checkout Repository
17-
uses: actions/checkout@v4
18-
with:
19-
fetch-depth: 0
20-
21-
- name: Set up Git
22-
run: |
23-
git config user.name "github-actions[bot]"
24-
git config user.email "github-actions[bot]@users.noreply.github.com"
25-
26-
- name: Fetch and Checkout Main
27-
run: |
28-
git fetch origin
29-
git checkout main
30-
31-
- name: Merge Development into Main
32-
run: |
33-
if ! git merge --no-ff development -m "Automated merge from development to main"; then
34-
echo "Merge conflict detected, auto-resolving README.md..."
35-
git checkout main -- README.md 2>/dev/null || git rm README.md 2>/dev/null || true
36-
git add -A
37-
git commit --no-edit
38-
fi
39-
40-
- name: Push Changes
41-
run: git push origin main
13+
uses: intisy/workflows/.github/workflows/merge.yml@main
14+
with:
15+
source: development
16+
target: main

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ out/
88
build/
99

1010
/.idea
11+
README.md

‎CONTENT.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
```
2+
DockerProvider dockerProvider = DockerProvider.get();
3+
dockerProvider.ensureInstalled();
4+
dockerProvider.start();
5+
DockerClient dockerClient = dockerProvider.getClient();
6+
```
7+
8+
Currently supported setups:
9+
* [x] - Linux root
10+
* [x] - Linux rootless
11+
* [x] - Windows Administrator
12+
* [x] - Windows non-Administrator
13+
* [x] - macOS root
14+
* [x] - macOS rootless

‎github.properties‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)