Skip to content

Commit

Permalink
feat!: Release v2.0.0 (#228)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Stinson-Diess <[email protected]>
  • Loading branch information
jshlbrd and shellcromancer authored Sep 23, 2024
1 parent f2e0a8d commit c4d8849
Show file tree
Hide file tree
Showing 542 changed files with 5,453 additions and 11,987 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/arm64 mcr.microsoft.com/vscode/devcontainers/go:dev-1.22
FROM --platform=linux/arm64 mcr.microsoft.com/vscode/devcontainers/go:dev-1.23
RUN apt-get update -y && \
# Docker
curl -fsSL https://get.docker.com | sh && \
Expand Down
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
.git
.github
.vscode
build/config
build/container
build/scripts
!build/scripts/aws/lambda/extension.zip
build/terraform
examples
**/examples
.dockerignore
.gitignore
.golangci.yml
Expand Down
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/adopters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Become an Adopter
description: Add the name of your organization to the list of adopters.
title: '[organization] has adopted Substation!'
body:
- type: markdown
attributes:
value: |
Thank you for supporting Substation! By adding your organization to the list of adopters, you help raise awareness for the project and grow our community of users. Please fill out the information below to be added to the [list of adopters](https://github.com/brexhq/substation/blob/main/ADOPTERS.md).
- type: input
id: org-name
attributes:
label: Organization Name
description: Name of your organization.
placeholder: ex. Acme Corp
validations:
required: true
- type: input
id: org-url
attributes:
label: Organization Website
description: Link to your organization's website.
placeholder: ex. https://www.example.com
validations:
required: true
- type: dropdown
id: stage
attributes:
label: Stage of Adoption
description: What is your current stage of adoption?
options:
- We're learning about Substation
- We're testing Substation
- We're using Substation in production
- We're driving broad adoption of Substation
default: 0
validations:
required: true
- type: textarea
id: use-case
attributes:
label: Description of Use
description: Write one or two sentences about how your organization is using Substation.
validations:
required: true
53 changes: 28 additions & 25 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,60 @@ name: code

on:
pull_request:
branches: [ main ]
branches: [main]

jobs:
go:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: setup
uses: actions/setup-go@v2
with:
go-version: 1.22

- name: tests
run: go test -timeout 30s -v ./...

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.22

- name: Testing
run: go test -timeout 30s -v ./...

- name: Linting
uses: golangci/golangci-lint-action@v3
with:
version: latest

python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: "3.x"

- run: |
- name: Linting
run: |
pip3 install black
find -name *.py | xargs black --check
jsonnet:
runs-on: ubuntu-latest
steps:
- name: checkout
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: setup
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.22

- name: compile
- name: Compiling
run: |
go install github.com/google/go-jsonnet/cmd/jsonnet@latest
sh build/scripts/config/compile.sh
7 changes: 7 additions & 0 deletions ADOPTERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Adopters

If you're using Substation in your organization, please try to add your company name to this list. By [adding your name to this list](https://github.com/brexhq/substation/issues/new?assignees=&labels=&template=adopters.md&title=), you help raise awareness for the project and grow our community of users!

| Organization | Contact | Description of Use |
|--------------|---------|--------------------|
| [Brex](https://www.brex.com) | [@jshlbrd](https://github.com/jshlbrd) | All security event and audit logs (~5 TB/day) used by Security are handled by Substation. |
Loading

0 comments on commit c4d8849

Please sign in to comment.