Skip to content

Commit 1ce3ebf

Browse files
authored
Merge pull request #113 from trydirect/dev
Dev
2 parents 4952b19 + 23f6330 commit 1ce3ebf

973 files changed

Lines changed: 181594 additions & 232 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ COMMAND_TIMEOUT_SECS=300
2424
STATUS_PANEL_USERNAME=admin
2525
STATUS_PANEL_PASSWORD=admin
2626

27+
# HTTP bind address. Defaults to 127.0.0.1 (loopback) for bare-metal safety.
28+
# In containers with port mapping, must be 0.0.0.0 to be reachable from the host.
29+
STATUS_PANEL_BIND=0.0.0.0
30+
2731
# Backup signer / verification
2832
DEPLOYMENT_HASH=replace-with-secret
2933
TRYDIRECT_IP=127.0.0.1

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ jobs:
201201
name: Docker Build & Push (branches/tags)
202202
runs-on: ubuntu-latest
203203
needs: build-and-test
204+
env:
205+
STACKER_REPO_TOKEN: ${{ secrets.CONFIG_FIXTURES_TOKEN }}
204206
if: |
205207
github.ref == 'refs/heads/production' ||
206208
github.ref == 'refs/heads/master' ||
@@ -211,6 +213,8 @@ jobs:
211213
- name: Checkout repository
212214
uses: actions/checkout@v4
213215

216+
217+
214218
- name: Set up QEMU
215219
uses: docker/setup-qemu-action@v3
216220

@@ -228,8 +232,8 @@ jobs:
228232
run: |
229233
REF_NAME="${GITHUB_REF#refs/*/}"
230234
TAGS="trydirect/status:${REF_NAME}\ntrydirect/status:${GITHUB_SHA::7}"
231-
if [[ "${GITHUB_REF}" == "refs/heads/master" ]]; then
232-
TAGS="${TAGS}\ntrydirect/status:latest"
235+
if [[ "${GITHUB_REF}" == "refs/heads/dev" ]]; then
236+
TAGS="${TAGS}\ntrydirect/status:unstable\ntrydirect/status:latest"
233237
fi
234238
echo "ref_name=${REF_NAME}" >> $GITHUB_OUTPUT
235239
echo "sha_short=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
@@ -240,6 +244,12 @@ jobs:
240244
- name: Build and push image
241245
uses: docker/build-push-action@v5
242246
with:
247+
context: .
248+
build-contexts: |
249+
stacker=./stacker
243250
file: Dockerfile.prod
251+
platforms: linux/amd64,linux/arm64
244252
push: true
245253
tags: ${{ steps.vars.outputs.tags }}
254+
cache-from: type=gha
255+
cache-to: type=gha,mode=max
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"version": 1,
3+
"selector": {
4+
"mode": "remote",
5+
"selector_kind": "app",
6+
"selector": "status-panel-web",
7+
"deployment_hash": "deployment_a631cf66-a224-440b-9871-12b63548671c",
8+
"container": null
9+
},
10+
"protocols_requested": [
11+
"html_forms"
12+
],
13+
"capture_samples": true,
14+
"cached_at": "2026-05-22T07:55:49.388248+00:00",
15+
"report": {
16+
"type": "probe_endpoints",
17+
"deployment_hash": "deployment_a631cf66-a224-440b-9871-12b63548671c",
18+
"app_code": "status-panel-web",
19+
"protocols_detected": [
20+
"html_forms"
21+
],
22+
"protocols_requested": [
23+
"html_forms"
24+
],
25+
"containers": [],
26+
"endpoints": [],
27+
"resources": [],
28+
"forms": [
29+
{
30+
"container": "project-status-panel-web-1",
31+
"id": "form_contact",
32+
"action": "",
33+
"method": "POST",
34+
"fields": [
35+
"name",
36+
"email",
37+
"subject",
38+
"message"
39+
]
40+
}
41+
],
42+
"probe_attempts": [
43+
{
44+
"scope": "remote_app",
45+
"selector": "status-panel-web",
46+
"container": null,
47+
"protocols": [
48+
"html_forms"
49+
],
50+
"outcome": "detected"
51+
}
52+
],
53+
"target_kind": "html_form",
54+
"probed_at": "2026-05-22T07:55:48Z"
55+
}
56+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"version": 1,
3+
"selector": {
4+
"mode": "remote",
5+
"selector_kind": "app",
6+
"selector": "status-panel-web",
7+
"deployment_hash": "deployment_a631cf66-a224-440b-9871-12b63548671c",
8+
"container": null
9+
},
10+
"protocols_requested": [
11+
"html_forms",
12+
"openapi",
13+
"rest"
14+
],
15+
"capture_samples": true,
16+
"cached_at": "2026-05-22T07:55:51.452961+00:00",
17+
"report": {
18+
"type": "probe_endpoints",
19+
"deployment_hash": "deployment_a631cf66-a224-440b-9871-12b63548671c",
20+
"app_code": "status-panel-web",
21+
"protocols_detected": [
22+
"html_forms"
23+
],
24+
"protocols_requested": [
25+
"html_forms",
26+
"openapi",
27+
"rest"
28+
],
29+
"containers": [],
30+
"endpoints": [],
31+
"resources": [],
32+
"forms": [
33+
{
34+
"container": "project-status-panel-web-1",
35+
"id": "form_contact",
36+
"action": "",
37+
"method": "POST",
38+
"fields": [
39+
"name",
40+
"email",
41+
"subject",
42+
"message"
43+
]
44+
}
45+
],
46+
"probe_attempts": [
47+
{
48+
"scope": "remote_app",
49+
"selector": "status-panel-web",
50+
"container": null,
51+
"protocols": [
52+
"html_forms",
53+
"openapi",
54+
"rest"
55+
],
56+
"outcome": "detected"
57+
}
58+
],
59+
"target_kind": "html_form",
60+
"probed_at": "2026-05-22T07:55:50Z"
61+
}
62+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"version": 1,
3+
"selector": {
4+
"mode": "remote",
5+
"selector_kind": "app",
6+
"selector": "status-panel-web",
7+
"deployment_hash": "deployment_a631cf66-a224-440b-9871-12b63548671c",
8+
"container": null
9+
},
10+
"protocols_requested": [
11+
"html_forms",
12+
"openapi",
13+
"rest"
14+
],
15+
"capture_samples": true,
16+
"cached_at": "2026-05-22T07:55:51.452961+00:00",
17+
"report": {
18+
"type": "probe_endpoints",
19+
"deployment_hash": "deployment_a631cf66-a224-440b-9871-12b63548671c",
20+
"app_code": "status-panel-web",
21+
"protocols_detected": [
22+
"html_forms"
23+
],
24+
"protocols_requested": [
25+
"html_forms",
26+
"openapi",
27+
"rest"
28+
],
29+
"containers": [],
30+
"endpoints": [],
31+
"resources": [],
32+
"forms": [
33+
{
34+
"container": "project-status-panel-web-1",
35+
"id": "form_contact",
36+
"action": "",
37+
"method": "POST",
38+
"fields": [
39+
"name",
40+
"email",
41+
"subject",
42+
"message"
43+
]
44+
}
45+
],
46+
"probe_attempts": [
47+
{
48+
"scope": "remote_app",
49+
"selector": "status-panel-web",
50+
"container": null,
51+
"protocols": [
52+
"html_forms",
53+
"openapi",
54+
"rest"
55+
],
56+
"outcome": "detected"
57+
}
58+
],
59+
"target_kind": "html_form",
60+
"probed_at": "2026-05-22T07:55:50Z"
61+
}
62+
}

0 commit comments

Comments
 (0)