@ossy/deployment-tools 1.20.1 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/package.json +2 -2
- package/src/infrastructure/container-deployment-target/caddy.service.js +0 -2
- package/src/infrastructure/container-deployment-target/container-deployment-target.js +0 -2
- package/src/infrastructure/container-deployment-target/container-service.js +0 -1
- package/src/infrastructure/container-deployment-target/ossy-api.service.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 1.21.0 (2026-05-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **business-strategy:** Add comprehensive business strategy document ([408a820](https://github.com/ossy-se/ossy/commit/408a820e7b86019faba178596cc759bd88b4a620))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 1.20.1 (2026-05-26)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ossy/deployment-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "Collection of scripts and tools to aid deployment of containers and static files to Amazon Web Services through GitHub Actions",
|
|
5
5
|
"source": "./src/index.js",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"jest": "^27.5.1"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "6eb721d6fa63b333f4b8f8e9b4178f721ecaa531"
|
|
26
26
|
}
|
|
@@ -21,7 +21,6 @@ api.ossy.se {
|
|
|
21
21
|
tls {
|
|
22
22
|
dns route53 {
|
|
23
23
|
max_retries 10
|
|
24
|
-
profile ci-client
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
reverse_proxy localhost:3001
|
|
@@ -33,7 +32,6 @@ ${serviceBlocks}
|
|
|
33
32
|
on_demand
|
|
34
33
|
dns route53 {
|
|
35
34
|
max_retries 10
|
|
36
|
-
profile ci-client
|
|
37
35
|
}
|
|
38
36
|
}
|
|
39
37
|
reverse_proxy localhost:3000
|
|
@@ -22,7 +22,6 @@ const { CaddyService } = require('./caddy.service')
|
|
|
22
22
|
const { OssyRuntimeService } = require('./ossy-runtime.service')
|
|
23
23
|
const { OssyApiService } = require('./ossy-api.service')
|
|
24
24
|
const { fromConfig: buildContainerServices } = require('./container-service')
|
|
25
|
-
const { AwsProfile } = require('./aws-profile')
|
|
26
25
|
const { SupportedRegions } = require('../../config')
|
|
27
26
|
|
|
28
27
|
/**
|
|
@@ -131,7 +130,6 @@ class ContainerDeploymentTarget extends Construct {
|
|
|
131
130
|
...getInstallNpm(),
|
|
132
131
|
...getInstallDocker(),
|
|
133
132
|
'sudo apt-get install awscli --yes',
|
|
134
|
-
...AwsProfile.writeFile(role.roleArn, SupportedRegions.North),
|
|
135
133
|
// Write all platform env vars before starting any service
|
|
136
134
|
`sudo tee /etc/environment << 'ENVEOF'\n${envLines.join('\n')}\nENVEOF`,
|
|
137
135
|
// Create shared Docker network for inter-container communication
|
|
@@ -10,7 +10,7 @@ ExecStartPre=-/usr/bin/docker rm -f ossy-api
|
|
|
10
10
|
ExecStartPre=/usr/bin/docker pull ghcr.io/ossy-se/api:latest
|
|
11
11
|
ExecStart=/usr/bin/docker run --name ossy-api \\
|
|
12
12
|
--network ossy-network \\
|
|
13
|
-
-p 3001:
|
|
13
|
+
-p 3001:3000 \\
|
|
14
14
|
-e DB_URL=\${DB_URL} \\
|
|
15
15
|
-e DB_NAME=\${DB_NAME} \\
|
|
16
16
|
-e TOKEN_SECRET=\${TOKEN_SECRET} \\
|