Skip to content

Commit

Permalink
Everywhere: Update dependencies
Browse files Browse the repository at this point in the history
Nothing too noteworthy. MariaDB removed mysql compatibility symlinks in
v11 so now Docker compose files need to use mariadbd instead of mysqld
as the entrypoint.
  • Loading branch information
StenAL committed Jul 1, 2024
1 parent 7afb2eb commit 6ff5624
Show file tree
Hide file tree
Showing 10 changed files with 142 additions and 143 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/client-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout current repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: set up Node.js 18.x
uses: actions/setup-node@v3
- name: set up Node.js LTS
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: npm install
run: npm ci
Expand All @@ -49,12 +49,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout current repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: set up Node.js 18.x
uses: actions/setup-node@v3
- name: set up Node.js LTS
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20'

- name: npm install
working-directory: ./client
Expand All @@ -67,7 +67,7 @@ jobs:
run: npm run build

- name: deploy assets to server
uses: appleboy/[email protected].3
uses: appleboy/[email protected].7
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/server-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout current repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: set up Java 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'

- name: build application jar
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: wrapper
arguments: build
build-root-directory: server

- name: create server artifact from jar
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: server
path: server/build
Expand All @@ -47,25 +47,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout current repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: download server artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: server
path: server/build

- name: set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: log in to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: build and publish server Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: server
file: server/docker/Dockerfile
Expand All @@ -74,7 +74,7 @@ jobs:
tags: stenal/baltic-stock-server:latest

- name: deploy production docker-compose.yml
uses: appleboy/[email protected].3
uses: appleboy/[email protected].7
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
Expand All @@ -85,7 +85,7 @@ jobs:
strip_components: 3

- name: Deploy published images
uses: appleboy/ssh-action@v0.1.7
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
Expand Down
Loading

0 comments on commit 6ff5624

Please sign in to comment.