Skip to content

Commit

Permalink
use bookworm for hypernode-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
vdloo committed Dec 23, 2024
1 parent 22a915c commit 78de77d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .distrobox/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:10
FROM debian:12

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout hypernode-deploy
with:
ref: ${{ github.event.pull_request.head.ref }}
uses: actions/checkout@v3
- name: Run general testsuite
with:
ref: ${{ github.event.pull_request.head.ref }}
if: ${{ matrix.testsuite == 'general' }}
run: MAGENTO_REPO=./magento2 ./runtests.sh general
shell: bash
env:
PHP_VERSION: ${{ matrix.php_version }}
- name: Start SSH agent for brancher testsuite
with:
ref: ${{ github.event.pull_request.head.ref }}
if: ${{ matrix.testsuite == 'brancher' && matrix.php_version == '8.2' }}
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Run brancher testsuite
with:
ref: ${{ github.event.pull_request.head.ref }}
if: ${{ matrix.testsuite == 'brancher' && matrix.php_version == '8.2' }}
run: ./runtests.sh brancher
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions ci/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:buster
FROM debian:bookworm

ARG NODE_VERSION
ARG PHP_VERSION
Expand All @@ -22,9 +22,9 @@ RUN apt-get update \
gettext-base \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sSL http://debian.hypernode.com/repo.key | apt-key add - \
&& echo "deb http://debian.hypernode.com buster main hypernode" | tee /etc/apt/sources.list.d/hypernode.list \
&& echo "deb http://debian.hypernode.com bookworm main hypernode" | tee /etc/apt/sources.list.d/hypernode.list \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
&& echo "deb http://deb.nodesource.com/node_${NODE_VERSION}.x buster main" | tee /etc/apt/sources.list.d/nodesource.list \
&& echo "deb http://deb.nodesource.com/node_${NODE_VERSION}.x bookworm main" | tee /etc/apt/sources.list.d/nodesource.list \
&& echo \
"Package: * \
Pin origin deb.nodesource.com \
Expand Down

0 comments on commit 78de77d

Please sign in to comment.