Skip to content

Commit c47071e

Browse files
authored
[INFRA-1474] Some code refactoring and cleanup (#7)
* [INFRA-1474] Some code refactoring and cleanup
1 parent 5b09bb1 commit c47071e

10 files changed

+471
-408
lines changed

.dockerignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
iac-repo
1+
iac-repo
2+
.env

.drone.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ get:
136136
name: dockerconfigjson
137137
---
138138
kind: signature
139-
hmac: a99348bb2060b9cbe2fcaaaeee8df0812a20ec9c4bb09f81b1f96119433c14e1
139+
hmac: 1124d1f9c29438b718e1bb673df6c54e70ee258556b3206083b79faa4ea8ff84
140140

141141
...

.env.dist

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ DEPLOY_ENVIRONMENTS=
55
DEPLOY_CONF_FILE=
66
DEPLOY_AGE_KEYS=
77
DEPLOY_DRY_RUN=
8-
DEPLOY_ASK_CONFIRM=
8+
DEPLOY_ASK_CONFIRM=
9+
DEBUG_SKIP_CLONE_REPO_STEP=

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ draw-with-git/
2424
conf.yaml
2525
age_keys.txt
2626
.DS_Store
27+
.byebug_history

Dockerfile

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM rancher/cli2:v2.7.0 as ranchercli
22

3-
FROM ruby:3.2.0-slim AS ruby
3+
FROM ruby:3.2.2-slim-bookworm AS ruby
44

55

66
RUN apt-get update -qq && \
@@ -10,9 +10,18 @@ RUN apt-get update -qq && \
1010
git curl unzip \
1111
groff \
1212
libssl-dev \
13-
libcurl4-openssl-dev && \
14-
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
15-
apt-get install -y nodejs
13+
libcurl4-openssl-dev
14+
15+
# install nodejs
16+
RUN apt-get install -y ca-certificates curl gnupg && \
17+
mkdir -p /etc/apt/keyrings && \
18+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
19+
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
20+
21+
ENV NODE_MAJOR=20
22+
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" \
23+
| tee /etc/apt/sources.list.d/nodesource.list
24+
RUN apt-get update && apt-get install -y nodejs
1625

1726
RUN node -v
1827
RUN npm -v

Gemfile.lock

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.8.1)
4+
addressable (2.8.5)
55
public_suffix (>= 2.0.2, < 6.0)
6-
colorize (0.8.1)
6+
colorize (1.1.0)
77
deep_merge (1.2.2)
88
dotenv (2.8.1)
9-
git (1.13.2)
9+
git (1.18.0)
1010
addressable (~> 2.8)
1111
rchardet (~> 1.8)
1212
pastel (0.8.0)
1313
tty-color (~> 0.5)
14-
public_suffix (5.0.1)
14+
public_suffix (5.0.3)
1515
rchardet (1.8.0)
1616
tty-color (0.6.0)
1717
tty-command (0.10.1)
@@ -21,6 +21,7 @@ PLATFORMS
2121
arm64-darwin-22
2222
universal-darwin-20
2323
x86_64-darwin-21
24+
x86_64-linux
2425

2526
DEPENDENCIES
2627
colorize

MIT-LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2005-2021 UALA
1+
Copyright (c) 2005-2023 UALA
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

0 commit comments

Comments
 (0)