Skip to content

Commit 3bf22df

Browse files
committed
fix(asp): upgrade everything to make it work again
1 parent f4aee97 commit 3bf22df

File tree

6 files changed

+69
-57
lines changed

6 files changed

+69
-57
lines changed

async-server-provisioner/Dockerfile-dev

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
FROM node:14.17.0-stretch as build
1+
FROM node:21.7-bullseye-slim
22

33
ENV NODE_ENV=development
44
WORKDIR /usr/src/app
55

66
RUN apt-get update \
7-
&& apt-get install -y wget unzip \
8-
&& wget https://releases.hashicorp.com/terraform/0.13.5/terraform_0.13.5_linux_amd64.zip -O /root/terraform.zip \
9-
&& unzip -d /root/ /root/terraform.zip \
10-
&& mv /root/terraform /usr/bin/terraform \
11-
&& wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.26.7/terragrunt_linux_amd64 -O /usr/bin/terragrunt \
7+
&& apt-get install -y curl wget unzip \
8+
&& curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh \
9+
&& chmod +x install-opentofu.sh \
10+
&& ./install-opentofu.sh --install-method deb \
11+
&& wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.58.0/terragrunt_linux_amd64 -O /usr/bin/terragrunt \
1212
&& chmod +x /usr/bin/terragrunt
1313

1414
COPY package.json .

async-server-provisioner/config/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hetzner:
1111

1212
hcloudServer:
1313
type: cx31
14-
image: '67590527'
14+
image: '162583525'
1515
location: nbg1
1616

1717
datadog:

async-server-provisioner/src/adapters/MySqlAdapter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ export default class MySqlAdapter {
44
constructor(private connection: mysql.Connection) {}
55

66
public async query(query: string, args: any[] = []): Promise<any> {
7-
return this.connection.query(query, args);
7+
const [results] = await this.connection.query(query, args);
8+
return results;
89
}
910

1011
public async beginTransaction(): Promise<void> {

async-server-provisioner/terraform/02-game-server/.terraform.lock.hcl

Lines changed: 14 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM steamcmd/steamcmd:latest
2+
3+
RUN useradd steamuser -d /home/steamuser
4+
5+
WORKDIR /home/steamuser
6+
7+
RUN steamcmd +force_install_dir /home/steamuser/SatisfactoryDedicatedServer +login anonymous +app_update 1690800 -beta public validate +quit \
8+
&& chown -R steamuser /home/steamuser/SatisfactoryDedicatedServer
9+
10+
USER steamuser
11+
12+
ENTRYPOINT ["/bin/bash"]
13+
CMD ["./SatisfactoryDedicatedServer/FactoryServer.sh"]

infrastructure/terraform/02-game-server/.terraform.lock.hcl

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)