mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-04-30 00:49:26 +03:00
fisheye-crucible 2-4
This commit is contained in:
parent
9d090f226d
commit
9d057936a4
@ -14,7 +14,7 @@ jobs:
|
|||||||
version: [
|
version: [
|
||||||
'5.6',
|
'5.6',
|
||||||
'7.0', '7.1', '7.2', '7.3', '7.4',
|
'7.0', '7.1', '7.2', '7.3', '7.4',
|
||||||
'8.0', '8.1', '8.2', '8.3', '8.4'
|
'8.0', '8.1', '8.2', '8.3', '8.4',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -15,7 +15,7 @@ jobs:
|
|||||||
'1.1.2',
|
'1.1.2',
|
||||||
'1.2.1',
|
'1.2.1',
|
||||||
'1.2.4',
|
'1.2.4',
|
||||||
'1.3.1'
|
'1.3.1',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
|||||||
'2.12.3',
|
'2.12.3',
|
||||||
'2.12.4',
|
'2.12.4',
|
||||||
'2.12.5',
|
'2.12.5',
|
||||||
'2.12.6'
|
'2.12.6',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
|||||||
'3.11.2',
|
'3.11.2',
|
||||||
'3.11.3',
|
'3.11.3',
|
||||||
'3.11.4',
|
'3.11.4',
|
||||||
'3.11.6'
|
'3.11.6',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -74,7 +74,7 @@ jobs:
|
|||||||
'4.14.9',
|
'4.14.9',
|
||||||
'4.14.10',
|
'4.14.10',
|
||||||
'4.14.11',
|
'4.14.11',
|
||||||
'4.14.12'
|
'4.14.12',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -123,7 +123,7 @@ jobs:
|
|||||||
'5.16.8',
|
'5.16.8',
|
||||||
'5.16.9',
|
'5.16.9',
|
||||||
'5.16.10',
|
'5.16.10',
|
||||||
'5.16.11'
|
'5.16.11',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
|||||||
'6.10.14',
|
'6.10.14',
|
||||||
'6.10.15',
|
'6.10.15',
|
||||||
'6.10.16',
|
'6.10.16',
|
||||||
'6.10.17'
|
'6.10.17',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -144,7 +144,7 @@ jobs:
|
|||||||
'7.21.20',
|
'7.21.20',
|
||||||
'7.21.21',
|
'7.21.21',
|
||||||
'7.21.22',
|
'7.21.22',
|
||||||
'7.21.23'
|
'7.21.23',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -152,7 +152,7 @@ jobs:
|
|||||||
'8.19.13',
|
'8.19.13',
|
||||||
'8.19.14',
|
'8.19.14',
|
||||||
'8.19.15',
|
'8.19.15',
|
||||||
'8.19.16'
|
'8.19.16',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -28,7 +28,7 @@ jobs:
|
|||||||
'9.5.0',
|
'9.5.0',
|
||||||
'9.5.1',
|
'9.5.1',
|
||||||
'9.5.2',
|
'9.5.2',
|
||||||
'9.6.0'
|
'9.6.0',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -89,7 +89,7 @@ jobs:
|
|||||||
max_attempts: 15
|
max_attempts: 15
|
||||||
command: make pip
|
command: make pip
|
||||||
|
|
||||||
- name: "Build and Deploy Atlassian crucible ${{ matrix.version }} Image:"
|
- name: "Build and Deploy Atlassian Crucible ${{ matrix.version }} Image:"
|
||||||
uses: nick-fields/retry@v3
|
uses: nick-fields/retry@v3
|
||||||
with:
|
with:
|
||||||
retry_wait_seconds: 45
|
retry_wait_seconds: 45
|
||||||
|
@ -88,7 +88,7 @@ jobs:
|
|||||||
max_attempts: 15
|
max_attempts: 15
|
||||||
command: make pip
|
command: make pip
|
||||||
|
|
||||||
- name: "Build and Deploy Atlassian fisheye ${{ matrix.version }} Image:"
|
- name: "Build and Deploy Atlassian Fisheye ${{ matrix.version }} Image:"
|
||||||
uses: nick-fields/retry@v3
|
uses: nick-fields/retry@v3
|
||||||
with:
|
with:
|
||||||
retry_wait_seconds: 45
|
retry_wait_seconds: 45
|
||||||
|
170
.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.02.yml
vendored
Normal file
170
.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.02.yml
vendored
Normal file
@ -0,0 +1,170 @@
|
|||||||
|
name: EpicMorg Atlassian Fisheye + Crucible 02 Images
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build-images:
|
||||||
|
name: Atlassian Fisheye + Crucible ${{ matrix.version }} Image
|
||||||
|
runs-on: [ ubuntu-24.04 ]
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
version: [
|
||||||
|
'2.0.0',
|
||||||
|
'2.0.0.B3',
|
||||||
|
'2.0.0.RC1',
|
||||||
|
'2.0.0.RC2',
|
||||||
|
'2.0.0.RC3',
|
||||||
|
'2.0.1',
|
||||||
|
'2.0.2',
|
||||||
|
'2.0.3',
|
||||||
|
'2.0.4',
|
||||||
|
'2.0.5',
|
||||||
|
'2.0.6',
|
||||||
|
'2.1.0',
|
||||||
|
'2.1.0.M2cc',
|
||||||
|
'2.1.0.RC1',
|
||||||
|
'2.1.1',
|
||||||
|
'2.1.2',
|
||||||
|
'2.1.3',
|
||||||
|
'2.1.4',
|
||||||
|
'2.2.0',
|
||||||
|
'2.2.1',
|
||||||
|
'2.2.3',
|
||||||
|
'2.3.0',
|
||||||
|
'2.3.1',
|
||||||
|
'2.3.2',
|
||||||
|
'2.3.3',
|
||||||
|
'2.3.4',
|
||||||
|
'2.3.5',
|
||||||
|
'2.3.6',
|
||||||
|
'2.3.7',
|
||||||
|
'2.3.8',
|
||||||
|
'2.4.0',
|
||||||
|
'2.4.1',
|
||||||
|
'2.4.2',
|
||||||
|
'2.4.3',
|
||||||
|
'2.4.4',
|
||||||
|
'2.4.5',
|
||||||
|
'2.4.6',
|
||||||
|
'2.5.0',
|
||||||
|
'2.5.1',
|
||||||
|
'2.5.2',
|
||||||
|
'2.5.3',
|
||||||
|
'2.5.4',
|
||||||
|
'2.5.5',
|
||||||
|
'2.5.6',
|
||||||
|
'2.5.7',
|
||||||
|
'2.5.8',
|
||||||
|
'2.5.9',
|
||||||
|
'2.6.0',
|
||||||
|
'2.6.1',
|
||||||
|
'2.6.2',
|
||||||
|
'2.6.3',
|
||||||
|
'2.6.4',
|
||||||
|
'2.6.5',
|
||||||
|
'2.6.6',
|
||||||
|
'2.6.7',
|
||||||
|
'2.6.8',
|
||||||
|
'2.6.9',
|
||||||
|
'2.7.0',
|
||||||
|
'2.7.0-EAP-1',
|
||||||
|
'2.7.0-EAP-2',
|
||||||
|
'2.7.1',
|
||||||
|
'2.7.2',
|
||||||
|
'2.7.3',
|
||||||
|
'2.7.4',
|
||||||
|
'2.7.5',
|
||||||
|
'2.7.6',
|
||||||
|
'2.7.7',
|
||||||
|
'2.7.8',
|
||||||
|
'2.7.9',
|
||||||
|
'2.7.10',
|
||||||
|
'2.7.11',
|
||||||
|
'2.7.12',
|
||||||
|
'2.7.13',
|
||||||
|
'2.7.14',
|
||||||
|
'2.7.15',
|
||||||
|
'2.8.0',
|
||||||
|
'2.8.0-m1',
|
||||||
|
'2.8.1',
|
||||||
|
'2.8.2',
|
||||||
|
'2.9.0',
|
||||||
|
'2.9.1',
|
||||||
|
'2.9.2',
|
||||||
|
'2.10.0',
|
||||||
|
'2.10.1',
|
||||||
|
'2.10.2',
|
||||||
|
'2.10.3',
|
||||||
|
'2.10.4',
|
||||||
|
'2.10.5',
|
||||||
|
'2.10.6',
|
||||||
|
'2.10.7',
|
||||||
|
'2.10.8',
|
||||||
|
]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
show-progress: true
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Log into docker registry
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
||||||
|
|
||||||
|
- name: Log into Quay.IO registry
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}"
|
||||||
|
|
||||||
|
- name: Check buildah
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: buildah --version
|
||||||
|
|
||||||
|
- name: Test Make
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make
|
||||||
|
|
||||||
|
- name: Install requirements.txt
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make pip
|
||||||
|
|
||||||
|
- name: "Build and Deploy Atlassian Fisheye + Crucible ${{ matrix.version }} Image:"
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: cd linux/ecosystem/atlassian/fisheye-crucible/2/${{ matrix.version }} && pwd && make build && make deploy
|
||||||
|
|
||||||
|
##################################################################################
|
||||||
|
|
||||||
|
- name: Cleanup
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make clean
|
131
.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.03.yml
vendored
Normal file
131
.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.03.yml
vendored
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
name: EpicMorg Atlassian Fisheye + Crucible 03 Images
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build-images:
|
||||||
|
name: Atlassian Fisheye + Crucible ${{ matrix.version }} Image
|
||||||
|
runs-on: [ ubuntu-24.04 ]
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
version: [
|
||||||
|
'3.0.0',
|
||||||
|
'3.0.1',
|
||||||
|
'3.0.2',
|
||||||
|
'3.0.3',
|
||||||
|
'3.0.4',
|
||||||
|
'3.1.0',
|
||||||
|
'3.1.1',
|
||||||
|
'3.1.2',
|
||||||
|
'3.1.3',
|
||||||
|
'3.1.4',
|
||||||
|
'3.1.5',
|
||||||
|
'3.1.6',
|
||||||
|
'3.1.7',
|
||||||
|
'3.2.0',
|
||||||
|
'3.2.1',
|
||||||
|
'3.2.2',
|
||||||
|
'3.2.3',
|
||||||
|
'3.2.4',
|
||||||
|
'3.2.5',
|
||||||
|
'3.3.0',
|
||||||
|
'3.3.1',
|
||||||
|
'3.3.2',
|
||||||
|
'3.3.3',
|
||||||
|
'3.3.4',
|
||||||
|
'3.4.0',
|
||||||
|
'3.4.3',
|
||||||
|
'3.4.4',
|
||||||
|
'3.4.5',
|
||||||
|
'3.4.6',
|
||||||
|
'3.4.7',
|
||||||
|
'3.5.0',
|
||||||
|
'3.5.1',
|
||||||
|
'3.5.2',
|
||||||
|
'3.5.3',
|
||||||
|
'3.5.4',
|
||||||
|
'3.5.5',
|
||||||
|
'3.6.0',
|
||||||
|
'3.6.1',
|
||||||
|
'3.6.2',
|
||||||
|
'3.6.3',
|
||||||
|
'3.6.4',
|
||||||
|
'3.7.0',
|
||||||
|
'3.7.1',
|
||||||
|
'3.8.0',
|
||||||
|
'3.8.1',
|
||||||
|
'3.9.0',
|
||||||
|
'3.9.1',
|
||||||
|
'3.9.2',
|
||||||
|
'3.10.1',
|
||||||
|
'3.10.2',
|
||||||
|
'3.10.3',
|
||||||
|
'3.10.4',
|
||||||
|
]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
show-progress: true
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Log into docker registry
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
||||||
|
|
||||||
|
- name: Log into Quay.IO registry
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}"
|
||||||
|
|
||||||
|
- name: Check buildah
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: buildah --version
|
||||||
|
|
||||||
|
- name: Test Make
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make
|
||||||
|
|
||||||
|
- name: Install requirements.txt
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make pip
|
||||||
|
|
||||||
|
- name: "Build and Deploy Atlassian Fisheye + Crucible ${{ matrix.version }} Image:"
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: cd linux/ecosystem/atlassian/fisheye-crucible/3/${{ matrix.version }} && pwd && make build && make deploy
|
||||||
|
|
||||||
|
##################################################################################
|
||||||
|
|
||||||
|
- name: Cleanup
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make clean
|
131
.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.04.yml
vendored
Normal file
131
.github/workflows/epicmorg.ecosystem.images.atlassian.fisheye.04.yml
vendored
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
name: EpicMorg Atlassian Fisheye + Crucible 04 Images
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build-images:
|
||||||
|
name: Atlassian Fisheye + Crucible ${{ matrix.version }} Image
|
||||||
|
runs-on: [ ubuntu-24.04 ]
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
version: [
|
||||||
|
'4.0.2',
|
||||||
|
'4.0.3',
|
||||||
|
'4.0.4',
|
||||||
|
'4.1.0',
|
||||||
|
'4.1.1',
|
||||||
|
'4.1.2',
|
||||||
|
'4.1.3',
|
||||||
|
'4.2.0',
|
||||||
|
'4.2.1',
|
||||||
|
'4.2.2',
|
||||||
|
'4.2.3',
|
||||||
|
'4.3.0',
|
||||||
|
'4.3.1',
|
||||||
|
'4.3.2',
|
||||||
|
'4.3.3',
|
||||||
|
'4.4.0',
|
||||||
|
'4.4.1',
|
||||||
|
'4.4.2',
|
||||||
|
'4.4.3',
|
||||||
|
'4.4.5',
|
||||||
|
'4.4.6',
|
||||||
|
'4.4.7',
|
||||||
|
'4.5.0',
|
||||||
|
'4.5.1',
|
||||||
|
'4.5.2',
|
||||||
|
'4.5.3',
|
||||||
|
'4.5.4',
|
||||||
|
'4.6.0',
|
||||||
|
'4.6.1',
|
||||||
|
'4.7.0',
|
||||||
|
'4.7.1',
|
||||||
|
'4.7.2',
|
||||||
|
'4.7.3',
|
||||||
|
'4.8.0',
|
||||||
|
'4.8.1',
|
||||||
|
'4.8.2',
|
||||||
|
'4.8.3',
|
||||||
|
'4.8.4',
|
||||||
|
'4.8.5',
|
||||||
|
'4.8.6',
|
||||||
|
'4.8.7',
|
||||||
|
'4.8.8',
|
||||||
|
'4.8.9',
|
||||||
|
'4.8.10',
|
||||||
|
'4.8.11',
|
||||||
|
'4.8.12',
|
||||||
|
'4.8.13',
|
||||||
|
'4.8.14',
|
||||||
|
'4.8.15',
|
||||||
|
'4.8.16',
|
||||||
|
'4.9.0',
|
||||||
|
'4.9.1',
|
||||||
|
]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
show-progress: true
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Log into docker registry
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
||||||
|
|
||||||
|
- name: Log into Quay.IO registry
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}"
|
||||||
|
|
||||||
|
- name: Check buildah
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: buildah --version
|
||||||
|
|
||||||
|
- name: Test Make
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make
|
||||||
|
|
||||||
|
- name: Install requirements.txt
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make pip
|
||||||
|
|
||||||
|
- name: "Build and Deploy Atlassian Fisheye + Crucible ${{ matrix.version }} Image:"
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: cd linux/ecosystem/atlassian/fisheye-crucible/4/${{ matrix.version }} && pwd && make build && make deploy
|
||||||
|
|
||||||
|
##################################################################################
|
||||||
|
|
||||||
|
- name: Cleanup
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
retry_wait_seconds: 45
|
||||||
|
timeout_minutes: 600
|
||||||
|
max_attempts: 15
|
||||||
|
command: make clean
|
@ -27,7 +27,7 @@ jobs:
|
|||||||
'4.4.1',
|
'4.4.1',
|
||||||
'4.4.3',
|
'4.4.3',
|
||||||
'4.4.4',
|
'4.4.4',
|
||||||
'4.4.5'
|
'4.4.5',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -39,7 +39,7 @@ jobs:
|
|||||||
'5.2.5',
|
'5.2.5',
|
||||||
'5.2.6',
|
'5.2.6',
|
||||||
'5.2.7',
|
'5.2.7',
|
||||||
'5.2.8'
|
'5.2.8',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -67,7 +67,7 @@ jobs:
|
|||||||
'6.4.6',
|
'6.4.6',
|
||||||
'6.4.7',
|
'6.4.7',
|
||||||
'6.4.8',
|
'6.4.8',
|
||||||
'6.4.9'
|
'6.4.9',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -117,7 +117,7 @@ jobs:
|
|||||||
'7.8.2',
|
'7.8.2',
|
||||||
'7.8.4',
|
'7.8.4',
|
||||||
'7.9.0',
|
'7.9.0',
|
||||||
'7.9.2'
|
'7.9.2',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -149,7 +149,7 @@ jobs:
|
|||||||
'8.8.0',
|
'8.8.0',
|
||||||
'8.8.1',
|
'8.8.1',
|
||||||
'8.9.0',
|
'8.9.0',
|
||||||
'8.9.1'
|
'8.9.1',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -104,7 +104,7 @@ jobs:
|
|||||||
'9.8.2',
|
'9.8.2',
|
||||||
'9.9.0',
|
'9.9.0',
|
||||||
'9.9.1',
|
'9.9.1',
|
||||||
'9.9.2'
|
'9.9.2',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -27,7 +27,7 @@ jobs:
|
|||||||
'10.4.1',
|
'10.4.1',
|
||||||
'10.5.0',
|
'10.5.0',
|
||||||
'10.5.1',
|
'10.5.1',
|
||||||
'10.6.0'
|
'10.6.0',
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -121,7 +121,7 @@ jobs:
|
|||||||
{type: 'php', version: '8.1', path: 'php81'},
|
{type: 'php', version: '8.1', path: 'php81'},
|
||||||
{type: 'php', version: '8.2', path: 'php82'},
|
{type: 'php', version: '8.2', path: 'php82'},
|
||||||
{type: 'php', version: '8.3', path: 'php83'},
|
{type: 'php', version: '8.3', path: 'php83'},
|
||||||
{type: 'php', version: '8.4', path: 'php84'}
|
{type: 'php', version: '8.4', path: 'php84'},
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -121,7 +121,7 @@ jobs:
|
|||||||
{type: 'php', version: '8.1', path: 'php81'},
|
{type: 'php', version: '8.1', path: 'php81'},
|
||||||
{type: 'php', version: '8.2', path: 'php82'},
|
{type: 'php', version: '8.2', path: 'php82'},
|
||||||
{type: 'php', version: '8.3', path: 'php83'},
|
{type: 'php', version: '8.3', path: 'php83'},
|
||||||
{type: 'php', version: '8.4', path: 'php84'}
|
{type: 'php', version: '8.4', path: 'php84'},
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
3
Makefile
3
Makefile
@ -44,6 +44,9 @@ ansible.gen.crucible:
|
|||||||
ansible.gen.fisheye:
|
ansible.gen.fisheye:
|
||||||
cd `pwd`/bin/ansible && ansible-playbook ./generate.fisheye.yml
|
cd `pwd`/bin/ansible && ansible-playbook ./generate.fisheye.yml
|
||||||
|
|
||||||
|
ansible.gen.fisheye-crucible:
|
||||||
|
cd `pwd`/bin/ansible && ansible-playbook ./generate.fisheye-crucible.yml
|
||||||
|
|
||||||
ansible.gen.bitbucket:
|
ansible.gen.bitbucket:
|
||||||
cd `pwd`/bin/ansible && ansible-playbook ./generate.bitbucket.yml
|
cd `pwd`/bin/ansible && ansible-playbook ./generate.bitbucket.yml
|
||||||
|
|
||||||
|
30
README.md
30
README.md
@ -49,17 +49,17 @@ A collection of docker images for production use. This repo contains 2 types of
|
|||||||
|
|
||||||
| # | Bitbucket | Confluence | Jira | Crowd |Crucible + Fisheye
|
| # | Bitbucket | Confluence | Jira | Crowd |Crucible + Fisheye
|
||||||
|:-------------:|:-------------:|:-------------:|:-------------:|:-------------:|:-------------:|
|
|:-------------:|:-------------:|:-------------:|:-------------:|:-------------:|:-------------:|
|
||||||
| `00` | `-` | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.00.yml) | `-` |
|
| `00` | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.00.yml) | :no_entry_sign: |
|
||||||
| `01` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml) | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.01.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml) [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml) |
|
| `01` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.01.yml) | :no_entry_sign: | :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.01.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crucible.01.yml) [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.01.yml) |
|
||||||
| `02` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml) | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.02.yml) | `-` |
|
| `02` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.02.yml) | :no_entry_sign: | :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.02.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.02.yml) |
|
||||||
| `03` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml) | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.03.yml) | `-` |
|
| `03` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.03.yml) | :no_entry_sign: | :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.03.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.03.yml) |
|
||||||
| `04` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.04.yml) | `-` |
|
| `04` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.04.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.fisheye.04.yml) |
|
||||||
| `05` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.05.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.05.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.05.yml) | `-` |
|
| `05` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.05.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.05.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.05.yml) | :no_entry_sign: |
|
||||||
| `06` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.06.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.06.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.06.yml) | `-` |
|
| `06` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.06.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.06.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.06.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.crowd.06.yml) | :no_entry_sign: |
|
||||||
| `07` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.07.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.07.yml) | `-` | `-` |
|
| `07` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.07.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.07.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.07.yml) | :no_entry_sign: | :no_entry_sign: |
|
||||||
| `08` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.08.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.08.yml) | `-` | `-` |
|
| `08` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.08.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.08.yml) | :no_entry_sign: | :no_entry_sign: |
|
||||||
| `09` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.09.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.09.yml) | `-` | `-` |
|
| `09` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.confluence.09.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.09.yml) | :no_entry_sign: | :no_entry_sign: |
|
||||||
| `10` | `-` | `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.10.yml) | `-` | `-` |
|
| `10` | :no_entry_sign: | :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.jira.10.yml) | :no_entry_sign: | :no_entry_sign: |
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> **DEPRECATION WARNING**
|
> **DEPRECATION WARNING**
|
||||||
@ -102,10 +102,10 @@ For more information - look at `Support Document` to replace this tags and image
|
|||||||
| [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.vscode.images.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.teamcity.agents.yml)
|
| [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.vscode.images.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.teamcity.agents.yml)
|
||||||
| [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.teamcity.servers.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.misc.yml)
|
| [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.teamcity.servers.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.misc.yml)
|
||||||
| [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.cassandra.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.latest.yml)
|
| [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.cassandra.yml) | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.atlassian.latest.yml)
|
||||||
| `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.perforce.yml)
|
| :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.perforce.yml)
|
||||||
| `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.giltab.runners.yml)
|
| :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.giltab.runners.yml)
|
||||||
| `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.github.runners.yml)
|
| :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.github.runners.yml)
|
||||||
| `-` | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.qbittorrent.yml)
|
| :no_entry_sign: | [](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosystem.images.qbittorrent.yml)
|
||||||
|
|
||||||
# Few popular products [](https://ko-fi.com/B0B81CUI4)
|
# Few popular products [](https://ko-fi.com/B0B81CUI4)
|
||||||
|
|
||||||
|
21
bin/ansible/generate.fisheye-crucible.yml
Normal file
21
bin/ansible/generate.fisheye-crucible.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
- name: Clear log file before write new stdout to it at this session
|
||||||
|
hosts: localhost
|
||||||
|
connection: local
|
||||||
|
tasks:
|
||||||
|
- name: echo -n > output.log
|
||||||
|
shell: echo -n > output.log
|
||||||
|
|
||||||
|
- name: Lets Go!
|
||||||
|
hosts: localhost
|
||||||
|
connection: local
|
||||||
|
tasks:
|
||||||
|
- name: Create directory for ansible custom facts
|
||||||
|
debug:
|
||||||
|
msg: "[ Python: {{ ansible_facts['python_version'] }}, OS: {{ ansible_facts['distribution'] }} {{ ansible_facts['distribution_version'] }} ({{ansible_architecture }}), Ansible: {{ ansible_version.full }}]"
|
||||||
|
|
||||||
|
- name: Generate Fisheye images
|
||||||
|
hosts: localhost
|
||||||
|
connection: local
|
||||||
|
gather_facts: false
|
||||||
|
roles:
|
||||||
|
- atlassian.fisheye-crucible
|
@ -0,0 +1,59 @@
|
|||||||
|
- name: Read versions from file
|
||||||
|
slurp:
|
||||||
|
src: "roles/common/files/versions/fisheye-crucible/2.jdk6-7.txt"
|
||||||
|
register: version_output
|
||||||
|
|
||||||
|
- name: Set version variable
|
||||||
|
set_fact:
|
||||||
|
fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
|
||||||
|
|
||||||
|
- name: Create directories for Crowd versions
|
||||||
|
file:
|
||||||
|
path: "{{ target_directory_fisheye_2 }}/{{ item }}"
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy .env with link from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "env/template.env.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/.env"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy docker-compose.yml from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "docker-compose/template.docker-compose.jdk6-7.yml.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/docker-compose.yml"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Dockerfile from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "dockerfile/template.Dockerfile.jdk6.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Dockerfile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Dockerfile.jdk7 from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "dockerfile/template.Dockerfile.jdk7.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Dockerfile.jdk7"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy entrypoint.sh from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "entrypoint.sh"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/entrypoint.sh"
|
||||||
|
mode: "0777"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Makefile from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "Makefile"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Makefile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
@ -0,0 +1,52 @@
|
|||||||
|
- name: Read versions from file
|
||||||
|
slurp:
|
||||||
|
src: "roles/common/files/versions/fisheye-crucible/2.jdk6.txt"
|
||||||
|
register: version_output
|
||||||
|
|
||||||
|
- name: Set version variable
|
||||||
|
set_fact:
|
||||||
|
fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
|
||||||
|
|
||||||
|
- name: Create directories for Crowd versions
|
||||||
|
file:
|
||||||
|
path: "{{ target_directory_fisheye_2 }}/{{ item }}"
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy .env with link from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "env/template.env.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/.env"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy docker-compose.yml from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "docker-compose/template.docker-compose.jdk6.yml.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/docker-compose.yml"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Dockerfile from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "dockerfile/template.Dockerfile.jdk6.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Dockerfile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy entrypoint.sh from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "entrypoint.sh"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/entrypoint.sh"
|
||||||
|
mode: "0777"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Makefile from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "Makefile"
|
||||||
|
dest: "{{ target_directory_fisheye_2 }}/{{ item }}/Makefile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
@ -0,0 +1,59 @@
|
|||||||
|
- name: Read versions from file
|
||||||
|
slurp:
|
||||||
|
src: "roles/common/files/versions/fisheye-crucible/3.jdk6-7.txt"
|
||||||
|
register: version_output
|
||||||
|
|
||||||
|
- name: Set version variable
|
||||||
|
set_fact:
|
||||||
|
fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
|
||||||
|
|
||||||
|
- name: Create directories for Crowd versions
|
||||||
|
file:
|
||||||
|
path: "{{ target_directory_fisheye_3 }}/{{ item }}"
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy .env with link from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "env/template.env.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/.env"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy docker-compose.yml from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "docker-compose/template.docker-compose.jdk6-7.yml.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/docker-compose.yml"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Dockerfile from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "dockerfile/template.Dockerfile.jdk6.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Dockerfile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Dockerfile.jdk7 from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "dockerfile/template.Dockerfile.jdk7.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Dockerfile.jdk7"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy entrypoint.sh from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "entrypoint.sh"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/entrypoint.sh"
|
||||||
|
mode: "0777"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Makefile from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "Makefile"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Makefile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
@ -0,0 +1,52 @@
|
|||||||
|
- name: Read versions from file
|
||||||
|
slurp:
|
||||||
|
src: "roles/common/files/versions/fisheye-crucible/3.jdk8.txt"
|
||||||
|
register: version_output
|
||||||
|
|
||||||
|
- name: Set version variable
|
||||||
|
set_fact:
|
||||||
|
fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
|
||||||
|
|
||||||
|
- name: Create directories for Crowd versions
|
||||||
|
file:
|
||||||
|
path: "{{ target_directory_fisheye_3 }}/{{ item }}"
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy .env with link from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "env/template.env.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/.env"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy docker-compose.yml from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "docker-compose/template.docker-compose.jdk8.yml.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/docker-compose.yml"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Dockerfile from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "dockerfile/template.Dockerfile.jdk8.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Dockerfile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy entrypoint.sh from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "entrypoint.sh"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/entrypoint.sh"
|
||||||
|
mode: "0777"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Makefile from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "Makefile"
|
||||||
|
dest: "{{ target_directory_fisheye_3 }}/{{ item }}/Makefile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
@ -0,0 +1,52 @@
|
|||||||
|
- name: Read versions from file
|
||||||
|
slurp:
|
||||||
|
src: "roles/common/files/versions/fisheye-crucible/4.jdk8.txt"
|
||||||
|
register: version_output
|
||||||
|
|
||||||
|
- name: Set version variable
|
||||||
|
set_fact:
|
||||||
|
fisheye_versions: "{{ version_output['content'] | b64decode | trim | split('\n') }}"
|
||||||
|
|
||||||
|
- name: Create directories for Crowd versions
|
||||||
|
file:
|
||||||
|
path: "{{ target_directory_fisheye_4 }}/{{ item }}"
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy .env with link from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "env/template.env.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_4 }}/{{ item }}/.env"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy docker-compose.yml from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "docker-compose/template.docker-compose.jdk8.yml.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_4 }}/{{ item }}/docker-compose.yml"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Dockerfile from template to each version directory
|
||||||
|
template:
|
||||||
|
src: "dockerfile/template.Dockerfile.jdk8.j2"
|
||||||
|
dest: "{{ target_directory_fisheye_4 }}/{{ item }}/Dockerfile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy entrypoint.sh from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "entrypoint.sh"
|
||||||
|
dest: "{{ target_directory_fisheye_4 }}/{{ item }}/entrypoint.sh"
|
||||||
|
mode: "0777"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
||||||
|
|
||||||
|
- name: Copy Makefile from 'files' directory to each version directory
|
||||||
|
copy:
|
||||||
|
src: "Makefile"
|
||||||
|
dest: "{{ target_directory_fisheye_4 }}/{{ item }}/Makefile"
|
||||||
|
force: true
|
||||||
|
with_items: "{{ fisheye_versions }}"
|
14
bin/ansible/roles/atlassian.fisheye-crucible/tasks/main.yml
Normal file
14
bin/ansible/roles/atlassian.fisheye-crucible/tasks/main.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#- name: "Generate images for Fisheye + Crucible 2 (jdk6)"
|
||||||
|
# import_tasks: atlassian.fisheye.2.jdk6.yml
|
||||||
|
#
|
||||||
|
#- name: "Generate images for Fisheye + Crucible 2 (jdk6 + jdk7)"
|
||||||
|
# import_tasks: atlassian.fisheye.2.jdk6-7.yml
|
||||||
|
#
|
||||||
|
#- name: "Generate images for Fisheye + Crucible 3 (jdk6 + jdk7)"
|
||||||
|
# import_tasks: atlassian.fisheye.3.jdk6-7.yml
|
||||||
|
#
|
||||||
|
#- name: "Generate images for Fisheye + Crucible 3 (jdk8)"
|
||||||
|
# import_tasks: atlassian.fisheye.3.jdk8.yml
|
||||||
|
#
|
||||||
|
- name: "Generate images for Fisheye + Crucible 4 (jdk8)"
|
||||||
|
import_tasks: atlassian.fisheye.4.jdk8.yml
|
@ -0,0 +1,15 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "quay.io/epicmorg/fisheye-crucible:{{ item }}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.jdk7
|
||||||
|
app-jdk6:
|
||||||
|
image: "quay.io/epicmorg/fisheye-crucible:{{ item }}-jdk6"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
app-jdk7:
|
||||||
|
image: "quay.io/epicmorg/fisheye-crucible:{{ item }}-jdk7"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.jdk7
|
@ -0,0 +1,10 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "quay.io/epicmorg/fisheye-crucible:{{ item }}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
app-jdk6:
|
||||||
|
image: "quay.io/epicmorg/fisheye-crucible:{{ item }}-jdk6"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "quay.io/epicmorg/fisheye-crucible:{{ item }}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
app-jdk8:
|
||||||
|
image: "quay.io/epicmorg/fisheye-crucible:{{ item }}-jdk8"
|
||||||
|
build:
|
||||||
|
context: .
|
@ -0,0 +1,63 @@
|
|||||||
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG RELEASE={{ item }}
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
|
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
@ -0,0 +1,63 @@
|
|||||||
|
FROM quay.io/epicmorg/debian:bookworm-jdk7
|
||||||
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG RELEASE={{ item }}
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
|
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
@ -0,0 +1,63 @@
|
|||||||
|
FROM quay.io/epicmorg/debian:bookworm-jdk8
|
||||||
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
ARG RELEASE={{ item }}
|
||||||
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
|
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
3
bin/ansible/roles/atlassian.fisheye-crucible/templates/env/template.env.j2
vendored
Normal file
3
bin/ansible/roles/atlassian.fisheye-crucible/templates/env/template.env.j2
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
RELEASE={{ item }}
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
@ -0,0 +1,4 @@
|
|||||||
|
# Defaults
|
||||||
|
target_directory_fisheye_2: "/opt/tmp/fisheye-crucible/2"
|
||||||
|
target_directory_fisheye_3: "/opt/tmp/fisheye-crucible/3"
|
||||||
|
target_directory_fisheye_4: "/opt/tmp/fisheye-crucible/4"
|
@ -0,0 +1,34 @@
|
|||||||
|
2.7.0
|
||||||
|
2.7.0-EAP-1
|
||||||
|
2.7.0-EAP-2
|
||||||
|
2.7.1
|
||||||
|
2.7.2
|
||||||
|
2.7.3
|
||||||
|
2.7.4
|
||||||
|
2.7.5
|
||||||
|
2.7.6
|
||||||
|
2.7.7
|
||||||
|
2.7.8
|
||||||
|
2.7.9
|
||||||
|
2.7.10
|
||||||
|
2.7.11
|
||||||
|
2.7.12
|
||||||
|
2.7.13
|
||||||
|
2.7.14
|
||||||
|
2.7.15
|
||||||
|
2.8.0
|
||||||
|
2.8.0-m1
|
||||||
|
2.8.1
|
||||||
|
2.8.2
|
||||||
|
2.9.0
|
||||||
|
2.9.1
|
||||||
|
2.9.2
|
||||||
|
2.10.0
|
||||||
|
2.10.1
|
||||||
|
2.10.2
|
||||||
|
2.10.3
|
||||||
|
2.10.4
|
||||||
|
2.10.5
|
||||||
|
2.10.6
|
||||||
|
2.10.7
|
||||||
|
2.10.8
|
@ -54,38 +54,4 @@
|
|||||||
2.6.6
|
2.6.6
|
||||||
2.6.7
|
2.6.7
|
||||||
2.6.8
|
2.6.8
|
||||||
2.6.9
|
2.6.9
|
||||||
2.7.0
|
|
||||||
2.7.0-EAP-1
|
|
||||||
2.7.0-EAP-2
|
|
||||||
2.7.1
|
|
||||||
2.7.2
|
|
||||||
2.7.3
|
|
||||||
2.7.4
|
|
||||||
2.7.5
|
|
||||||
2.7.6
|
|
||||||
2.7.7
|
|
||||||
2.7.8
|
|
||||||
2.7.9
|
|
||||||
2.7.10
|
|
||||||
2.7.11
|
|
||||||
2.7.12
|
|
||||||
2.7.13
|
|
||||||
2.7.14
|
|
||||||
2.7.15
|
|
||||||
2.8.0
|
|
||||||
2.8.0-m1
|
|
||||||
2.8.1
|
|
||||||
2.8.2
|
|
||||||
2.9.0
|
|
||||||
2.9.1
|
|
||||||
2.9.2
|
|
||||||
2.10.0
|
|
||||||
2.10.1
|
|
||||||
2.10.2
|
|
||||||
2.10.3
|
|
||||||
2.10.4
|
|
||||||
2.10.5
|
|
||||||
2.10.6
|
|
||||||
2.10.7
|
|
||||||
2.10.8
|
|
@ -27,26 +27,4 @@
|
|||||||
3.4.4
|
3.4.4
|
||||||
3.4.5
|
3.4.5
|
||||||
3.4.6
|
3.4.6
|
||||||
3.4.7
|
3.4.7
|
||||||
3.5.0
|
|
||||||
3.5.1
|
|
||||||
3.5.2
|
|
||||||
3.5.3
|
|
||||||
3.5.4
|
|
||||||
3.5.5
|
|
||||||
3.6.0
|
|
||||||
3.6.1
|
|
||||||
3.6.2
|
|
||||||
3.6.3
|
|
||||||
3.6.4
|
|
||||||
3.7.0
|
|
||||||
3.7.1
|
|
||||||
3.8.0
|
|
||||||
3.8.1
|
|
||||||
3.9.0
|
|
||||||
3.9.1
|
|
||||||
3.9.2
|
|
||||||
3.10.1
|
|
||||||
3.10.2
|
|
||||||
3.10.3
|
|
||||||
3.10.4
|
|
@ -0,0 +1,22 @@
|
|||||||
|
3.5.0
|
||||||
|
3.5.1
|
||||||
|
3.5.2
|
||||||
|
3.5.3
|
||||||
|
3.5.4
|
||||||
|
3.5.5
|
||||||
|
3.6.0
|
||||||
|
3.6.1
|
||||||
|
3.6.2
|
||||||
|
3.6.3
|
||||||
|
3.6.4
|
||||||
|
3.7.0
|
||||||
|
3.7.1
|
||||||
|
3.8.0
|
||||||
|
3.8.1
|
||||||
|
3.9.0
|
||||||
|
3.9.1
|
||||||
|
3.9.2
|
||||||
|
3.10.1
|
||||||
|
3.10.2
|
||||||
|
3.10.3
|
||||||
|
3.10.4
|
@ -48,4 +48,5 @@
|
|||||||
4.8.14
|
4.8.14
|
||||||
4.8.15
|
4.8.15
|
||||||
4.8.16
|
4.8.16
|
||||||
4.9.0
|
4.9.0
|
||||||
|
4.9.1
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.0.B3
|
RELEASE=2.0.0.B3
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.B3.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.0.B3
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0.B3"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0.B3-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.0.RC1
|
RELEASE=2.0.0.RC1
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC1.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.0.RC1
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC1"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC1-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.0.RC2
|
RELEASE=2.0.0.RC2
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC2.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.0.RC2
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC2"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC2-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.0.RC3
|
RELEASE=2.0.0.RC3
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC3.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.0.RC3
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC3"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0.RC3-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.0
|
RELEASE=2.0.0
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.0
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.0-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.1
|
RELEASE=2.0.1
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.1.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.1
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.1"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.1-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.2
|
RELEASE=2.0.2
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.2.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.2
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.2"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.2-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.3
|
RELEASE=2.0.3
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.3.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.3
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.3"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.3-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.4
|
RELEASE=2.0.4
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.4.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.4
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.4"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.4-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.5
|
RELEASE=2.0.5
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.5.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.5
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.5"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.5-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.0.6
|
RELEASE=2.0.6
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.6.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.0.6
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.6"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.0.6-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.1.0.M2cc
|
RELEASE=2.1.0.M2cc
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.0.M2cc.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.1.0.M2cc
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.1.0.M2cc"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.1.0.M2cc-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
RELEASE=2.1.0.RC1
|
RELEASE=2.1.0.RC1
|
||||||
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.0.RC1.zip
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
FROM quay.io/epicmorg/debian:bullseye-jdk7
|
FROM quay.io/epicmorg/debian:bookworm-jdk6
|
||||||
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
LABEL maintainer="Atlassian Fisheye Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# ARGuments
|
# ARGuments
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG RELEASE
|
ARG RELEASE=2.1.0.RC1
|
||||||
ARG DOWNLOAD_URL
|
ARG DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-${RELEASE}.zip
|
||||||
|
ARG TEMP_ARCHIVE=/tmp/fisheye-${RELEASE}.zip
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Setup
|
# Setup
|
||||||
@ -27,21 +28,36 @@ EXPOSE 8060
|
|||||||
##################################################################
|
##################################################################
|
||||||
# Installing
|
# Installing
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN mkdir -p ${FISHEYE_HOME} \
|
ADD ${DOWNLOAD_URL} /tmp
|
||||||
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
|
||||||
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
|
||||||
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
|
||||||
&& chmod +x /usr/bin/p4 \
|
|
||||||
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
|
||||||
&& apt-get clean -y \
|
|
||||||
&& apt-get autoclean -y \
|
|
||||||
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
|
||||||
&& rm -rfv /tmp/fecru-${RELEASE} \
|
|
||||||
&& rm -rfv /var/lib/apt/lists/* \
|
|
||||||
&& rm -rfv /var/cache/apt/archives/*.deb
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
RUN mkdir -p ${FISHEYE_HOME} ${FISHEYE_INST} && \
|
||||||
|
7zz x ${TEMP_ARCHIVE} -o/tmp/fisheye-temp && \
|
||||||
|
mv /tmp/fisheye-temp/*/* "${FISHEYE_HOME}" && \
|
||||||
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh && \
|
||||||
|
chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME}
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleanup
|
||||||
|
##################################################################
|
||||||
|
RUN echo "clean up" && \
|
||||||
|
apt-get clean -y && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /root/tmp/* && \
|
||||||
|
rm -rfv /tmp/*
|
||||||
|
|
||||||
CMD ["/entrypoint.sh", "run"]
|
CMD ["/entrypoint.sh", "run"]
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
@ -1,7 +1,44 @@
|
|||||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
||||||
|
|
||||||
all: app
|
all: app
|
||||||
|
|
||||||
app:
|
app:
|
||||||
docker-compose build --compress
|
make pip
|
||||||
|
make build
|
||||||
|
make deploy
|
||||||
|
make clean
|
||||||
|
|
||||||
|
build:
|
||||||
|
make build-buildah
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
make deploy-buildah
|
||||||
|
|
||||||
|
build-buildah:
|
||||||
|
buildah-wrapper --build
|
||||||
|
|
||||||
|
deploy-buildah:
|
||||||
|
buildah-wrapper --deploy
|
||||||
|
|
||||||
|
build-kaniko:
|
||||||
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run
|
||||||
|
|
||||||
|
deploy-kaniko:
|
||||||
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
|
build-compose:
|
||||||
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
|
deploy-compose:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker network prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
docker system prune -af
|
||||||
|
buildah rm -a
|
||||||
|
buildah rmi -a
|
||||||
|
|
||||||
|
pip:
|
||||||
|
pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
||||||
|
pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper
|
@ -1,8 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "quay.io/epicmorg/fisheye-crucible:${RELEASE}"
|
image: "quay.io/epicmorg/fisheye-crucible:2.1.0.RC1"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
app-jdk6:
|
||||||
RELEASE: ${RELEASE}
|
image: "quay.io/epicmorg/fisheye-crucible:2.1.0.RC1-jdk6"
|
||||||
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
build:
|
||||||
|
context: .
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user