Skip to content

Commit 959f33c

Browse files
author
Jacob Woffenden
committed
Scaffold
Signed-off-by: Jacob Woffenden <jacob.woffenden@digital.justice.gov.uk>
1 parent 02c6455 commit 959f33c

8 files changed

+116
-29
lines changed

.devcontainer/devcontainer-lock.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"features": {
3+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
4+
"version": "2.11.0",
5+
"resolved": "ghcr.io/devcontainers/features/docker-in-docker@sha256:503f23cd692325b3cbb8c20a0ecfabb3444b0c786b363e0c82572bd7d71dc099",
6+
"integrity": "sha256:503f23cd692325b3cbb8c20a0ecfabb3444b0c786b363e0c82572bd7d71dc099"
7+
},
8+
"ghcr.io/ministryofjustice/devcontainer-feature/container-structure-test:1": {
9+
"version": "1.0.0",
10+
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/container-structure-test@sha256:19eb30f9eb327b667be2002757d55381de87cdb5a79a6e37d293369fe8ad01ad",
11+
"integrity": "sha256:19eb30f9eb327b667be2002757d55381de87cdb5a79a6e37d293369fe8ad01ad",
12+
"dependsOn": [
13+
"ghcr.io/devcontainers/features/docker-in-docker:2"
14+
]
15+
},
16+
"ghcr.io/ministryofjustice/devcontainer-feature/static-analysis:1": {
17+
"version": "1.0.0",
18+
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/static-analysis@sha256:e81d52725655c8ffb861605feac7ad155b447d51af65f6c3a03cab32d59f1e16",
19+
"integrity": "sha256:e81d52725655c8ffb861605feac7ad155b447d51af65f6c3a03cab32d59f1e16"
20+
}
21+
}
22+
}

.devcontainer/devcontainer.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "analytical-platform-cloud-development-environment-base",
3+
"image": "ghcr.io/ministryofjustice/devcontainer-base:latest",
4+
"features": {
5+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
6+
"ghcr.io/ministryofjustice/devcontainer-feature/container-structure-test:1": {},
7+
"ghcr.io/ministryofjustice/devcontainer-feature/static-analysis:1": {}
8+
},
9+
"customizations": {
10+
"vscode": {
11+
"extensions": [
12+
"EditorConfig.EditorConfig",
13+
"GitHub.vscode-github-actions",
14+
"GitHub.vscode-pull-request-github"
15+
]
16+
}
17+
}
18+
}

.editorconfig

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
8+
[*.json]
9+
indent_style = space
10+
indent_size = 2
11+
12+
[*.sh]
13+
indent_style = space
14+
indent_size = 2
15+
16+
[{*.yml,*.yaml}]
17+
indent_style = space
18+
indent_size = 2
19+
20+
# This file is autogenerated
21+
[.devcontainer/devcontainer-lock.json]
22+
end_of_line = unset
23+
insert_final_newline = unset

.github/CODEOWNERS

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
# Add a team or username to this file
2-
# Example:
3-
# * @ministryofjustice/operations-engineering
1+
* @ministryofjustice/analytical-platform

.github/dependabot.yml

+10-22
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,25 @@
11
---
2-
# To get started with Dependabot version updates, you'll need to specify which
3-
# package ecosystems to update and where the package manifests are located.
4-
# Please see the documentation for all configuration options:
5-
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
6-
72
version: 2
83

94
updates:
10-
- package-ecosystem: "bundler"
11-
directory: "/"
12-
schedule:
13-
interval: "daily"
14-
- package-ecosystem: "terraform"
15-
directory: "/terraform"
16-
schedule:
17-
interval: "daily"
185
- package-ecosystem: "github-actions"
196
directory: "/"
207
schedule:
218
interval: "daily"
22-
- package-ecosystem: "pip"
23-
directory: "/"
24-
schedule:
25-
interval: "daily"
26-
- package-ecosystem: "npm"
27-
directory: "/"
28-
schedule:
29-
interval: "daily"
30-
- package-ecosystem: "gomod"
9+
commit-message:
10+
prefix: ":dependabot: github-actions"
11+
include: "scope"
12+
- package-ecosystem: "devcontainers"
3113
directory: "/"
3214
schedule:
3315
interval: "daily"
16+
commit-message:
17+
prefix: ":dependabot: devcontainers"
18+
include: "scope"
3419
- package-ecosystem: "docker"
3520
directory: "/"
3621
schedule:
3722
interval: "daily"
23+
commit-message:
24+
prefix: ":dependabot: docker"
25+
include: "scope"

.github/workflows/dependency-review.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
2-
name: Dependency Review
2+
name: 🔍 Dependency Review
33

44
on:
55
pull_request:
6+
branches:
7+
- main
68
types:
79
- edited
810
- opened
@@ -20,9 +22,10 @@ jobs:
2022
steps:
2123
- name: Checkout
2224
id: checkout
23-
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
25+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2426

25-
- name: Dependency Review
26-
uses: actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3
27+
- name: Dependency review
28+
id: dependency_review
29+
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
2730
with:
2831
fail-on-severity: critical

.github/workflows/super-linter.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: 🦝 Super-Linter
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
types:
9+
- edited
10+
- opened
11+
- reopened
12+
- synchronize
13+
14+
permissions: {}
15+
16+
jobs:
17+
super-linter:
18+
name: Super-Linter
19+
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
statuses: write
23+
steps:
24+
- name: Checkout
25+
id: checkout
26+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
27+
with:
28+
fetch-depth: 0
29+
30+
- name: Super-Linter
31+
id: super_linter
32+
uses: super-linter/super-linter/slim@b4515bd4ad9d0aa4681960e053916ab991bdbe96 # v6.8.0
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM public.ecr.aws/ubuntu/ubuntu@sha256:288b44a1b2dfe3788255c3abd41e346bece153b9e066325f461f605425afaf82

0 commit comments

Comments
 (0)