Skip to content

Commit 8f5f540

Browse files
committed
Organize changes (make and in scripts) folder
1 parent ca1bf74 commit 8f5f540

18 files changed

+60
-60
lines changed

.github/workflows/build_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
# Push Artifacts to GitHub
5050
- uses: actions/upload-artifact@v4
5151
with:
52-
name: artifact-${{ matrix.docker_arch }}-${{ env.TAG }}
52+
name: server-${{ matrix.docker_arch }}
5353
path: release/
5454

5555
# Push to DockerHub
@@ -84,7 +84,7 @@ jobs:
8484
# Push Artifacts to GitHub
8585
- uses: actions/upload-artifact@v4
8686
with:
87-
name: artifact-${{ matrix.docker_arch }}-${{ env.TAG }}
87+
name: client-${{ matrix.docker_arch }}
8888
path: release/
8989

9090
manifest:

PROCESS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ scripts/update-version.bash v3.2.7 cb3d41e838dec0e1002aaf5ee4c0e6cd28284c74
1111
make dev-shell
1212

1313
# And then
14-
scripts/steps.bash
14+
scripts/make-all.bash
1515

1616
# You can then try to compile image
1717
make dev-docker

dockerfiles/Dockerfile.build

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ RUN git config --system user.email "[email protected]" && \
3232

3333
FROM toolchain as builder
3434

35-
ADD /scripts /src/scripts
35+
ADD /scripts/build /src/scripts/build
3636
ADD /repos /src/repos
3737

38-
RUN ./scripts/repo.bash pve-eslint make_dinstall
39-
RUN ./scripts/repo.bash proxmox-biome make_dinstall
40-
RUN ./scripts/repo.bash proxmox-widget-toolkit make_dinstall
41-
RUN ./scripts/repo.bash perlmod "dpkg_build perlmod-bin" "dpkg_install"
42-
RUN ./scripts/repo.bash proxmox-perl-rs "make_deb common/pkg" "make_deb pve-rs" dpkg_install
43-
RUN ./scripts/repo.bash pve-common make_dinstall
44-
RUN ./scripts/repo.bash extjs make_deb
45-
RUN ./scripts/repo.bash proxmox-i18n make_deb
46-
RUN ./scripts/repo.bash proxmox-mini-journalreader make_deb
47-
RUN ./scripts/repo.bash libjs-qrcodejs make_deb
48-
RUN ./scripts/repo.bash proxmox-acme make_deb
49-
RUN ./scripts/repo.bash pve-xtermjs "make_deb termproxy" "make_deb xterm.js"
50-
RUN ./scripts/repo.bash proxmox-backup make_deb
38+
RUN ./scripts/build/make.bash pve-eslint make_dinstall
39+
RUN ./scripts/build/make.bash proxmox-biome make_dinstall
40+
RUN ./scripts/build/make.bash proxmox-widget-toolkit make_dinstall
41+
RUN ./scripts/build/make.bash perlmod "dpkg_build perlmod-bin" "dpkg_install"
42+
RUN ./scripts/build/make.bash proxmox-perl-rs "make_deb common/pkg" "make_deb pve-rs" dpkg_install
43+
RUN ./scripts/build/make.bash pve-common make_dinstall
44+
RUN ./scripts/build/make.bash extjs make_deb
45+
RUN ./scripts/build/make.bash proxmox-i18n make_deb
46+
RUN ./scripts/build/make.bash proxmox-mini-journalreader make_deb
47+
RUN ./scripts/build/make.bash libjs-qrcodejs make_deb
48+
RUN ./scripts/build/make.bash proxmox-acme make_deb
49+
RUN ./scripts/build/make.bash pve-xtermjs "make_deb termproxy" "make_deb xterm.js"
50+
RUN ./scripts/build/make.bash proxmox-backup make_deb
5151

5252
#=================================
5353

@@ -58,9 +58,9 @@ COPY --from=builder /src/release/ /release/
5858

5959
# Bundle server
6060
ARG VERSION
61-
ADD /dockerfiles/scripts/ /dockerfiles/scripts/
62-
RUN /dockerfiles/scripts/install.bash --gen /release/install /release proxmox-backup-server
63-
RUN /dockerfiles/scripts/bundle-server.bash
61+
ADD /scripts/release /src/scripts/release
62+
RUN /src/scripts/release/apt-install.bash --gen /release/install /release proxmox-backup-server
63+
RUN /src/scripts/release/bundle-tgz.bash /proxmox-backup-server-${VERSION}-${DOCKER_ARCH:-dev}.tgz /release/.
6464

6565
#=================================
6666

dockerfiles/Dockerfile.client

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,17 @@ RUN \
3030
fi
3131

3232
# Apply all patches
33-
ADD /scripts /src/scripts
33+
ADD /scripts/build /src/scripts/build
3434
ADD /repos /src/repos
3535

3636
# Build
37-
RUN ./scripts/repo.bash --keep proxmox-backup "make . ignore proxmox-backup-client-static BUILD_MODE=release COMPILEDIR=target/static/release CARGO_STATIC_CONFIG="
37+
RUN ./scripts/build/make.bash --keep proxmox-backup "make . ignore proxmox-backup-client-static BUILD_MODE=release COMPILEDIR=target/static/release CARGO_STATIC_CONFIG="
3838

3939
# Bundle client
4040
ARG VERSION
41-
ADD /dockerfiles/scripts/ /dockerfiles/scripts/
42-
RUN /dockerfiles/scripts/bundle-client.bash
41+
ADD /dockerfiles/client/ /dockerfiles/client/
42+
ADD /scripts/release /src/scripts/release
43+
RUN /src/scripts/release/bundle-tgz.bash /proxmox-backup-client-${VERSION}-${DOCKER_ARCH:-dev}.tgz \
44+
/dockerfiles/client/. \
45+
/src/build/proxmox-backup/target/static-build/*/release/pxar \
46+
/src/build/proxmox-backup/target/static-build/*/release/proxmox-backup-client
File renamed without changes.

dockerfiles/scripts/bundle-client.bash

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

dockerfiles/scripts/bundle-server.bash

Lines changed: 0 additions & 14 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)