Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #149

Merged
merged 83 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
2860e40
Update dependencies
gazwald May 25, 2023
a1576b5
Update dependencies
gazwald May 25, 2023
6a8a342
Poetry CLI update
gazwald May 25, 2023
622cb48
Black
gazwald May 25, 2023
465131d
Misc poetry shenanigans
gazwald May 25, 2023
3cd5d5f
All groups in test
gazwald May 25, 2023
3007896
SELabels
gazwald May 25, 2023
51b8d54
CI
gazwald May 25, 2023
15cc163
Podman support
gazwald May 29, 2023
888d36c
Use full paths for Hadolint and Shellcheck.
gazwald May 30, 2023
39ae73d
Fix path
gazwald May 30, 2023
513fe09
Linting
gazwald May 30, 2023
e4a636e
Ignore node version warning
gazwald May 30, 2023
0815fad
Set home for Hadolint
gazwald May 30, 2023
2806230
?
gazwald May 30, 2023
fe29603
?
gazwald May 30, 2023
fa0bc8a
Remove UserWarning
gazwald May 30, 2023
d403670
Exclude CDK
gazwald May 30, 2023
ae89f08
Fixing unit test scripts
gazwald May 30, 2023
67b0544
Skip?
gazwald May 30, 2023
d0082a4
?
gazwald May 30, 2023
7d06484
?
gazwald May 30, 2023
cccc56e
?
gazwald May 30, 2023
d908a2e
?
gazwald May 30, 2023
883dc35
?
gazwald May 30, 2023
9075858
?
gazwald May 30, 2023
0a268df
?
gazwald May 30, 2023
f404f0d
?
gazwald May 30, 2023
08de303
More updates since last
gazwald Jun 1, 2023
4ebe2d7
Fixing up podman/docker differences
gazwald Oct 10, 2023
43eb187
Shuffle
gazwald Oct 10, 2023
1f99cd0
Compose stuff
gazwald Oct 10, 2023
0286a30
Misc
gazwald Oct 21, 2023
b08475c
update
gazwald Oct 21, 2023
07d8f9d
Fix script paths
gazwald Oct 21, 2023
9454f5f
mypy
gazwald Oct 21, 2023
0744be9
Fix test container
gazwald Oct 21, 2023
3bd1477
12
gazwald Oct 21, 2023
f9cccfe
3.12
gazwald Oct 21, 2023
bcde41e
3.12
gazwald Oct 21, 2023
eb7ea5c
All tests for the moment
gazwald Oct 21, 2023
aafaf06
Shuffle build system around
gazwald Oct 22, 2023
99ee2a4
Use external container for CDK
gazwald Oct 23, 2023
2b4f26f
Testing reusable workflows
gazwald Oct 24, 2023
491a0d8
Missing on
gazwald Oct 24, 2023
4e1e9e2
?
gazwald Oct 24, 2023
7f1dfd7
Skip cache-to
gazwald Oct 24, 2023
a68195f
Dependenceis
gazwald Oct 24, 2023
5a8939c
Reworking
gazwald Oct 24, 2023
a25cef3
?
gazwald Oct 24, 2023
27e29f5
?
gazwald Oct 24, 2023
51bdab1
?
gazwald Oct 24, 2023
ad3b922
call
gazwald Oct 24, 2023
86e49a4
Dirrrrrr
gazwald Oct 24, 2023
0f871d1
Login
gazwald Oct 24, 2023
54f2fe9
Login
gazwald Oct 24, 2023
f03c8ec
Typo
gazwald Oct 24, 2023
f91e515
Wrong variable names
gazwald Oct 24, 2023
eb849aa
Continuing to rework build system
gazwald Oct 26, 2023
8dad9ff
Cleanup
gazwald Oct 28, 2023
94e3365
Paths
gazwald Oct 29, 2023
b9547eb
No anchor support?!
gazwald Oct 29, 2023
7e2830f
perms
gazwald Oct 29, 2023
d1f9bd2
Unbound
gazwald Oct 29, 2023
e87af31
Lock update
gazwald Oct 29, 2023
caf0a0d
Unused
gazwald Oct 29, 2023
fae4d60
cdk-test target
gazwald Oct 29, 2023
8126055
Stuff
gazwald Oct 29, 2023
26c8685
Lunch
gazwald Oct 30, 2023
03c4ad1
Wrong variable
gazwald Oct 30, 2023
f619a8f
Missing vars
gazwald Oct 30, 2023
850eaab
Why did I remove that?
gazwald Oct 30, 2023
05aa4cc
Missing target
gazwald Oct 30, 2023
b2688fb
Base tag
gazwald Oct 30, 2023
e5e7e1f
For isort
gazwald Oct 30, 2023
e21fa95
Stop rebuilding containers
gazwald Oct 30, 2023
48e53bd
Don't fail
gazwald Oct 30, 2023
0b1875e
Derp
gazwald Oct 30, 2023
81195a7
multiple jobs
gazwald Oct 30, 2023
f688431
Linting
gazwald Oct 31, 2023
98a6abe
Black
gazwald Oct 31, 2023
ad2a0a0
Env after login
gazwald Oct 31, 2023
49c3d2c
Fix CDK tests
gazwald Oct 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
**/__pycache__
*.pyc
**/cdk.out
deploymnet/
.venv/
.git/
.github/
Expand All @@ -10,12 +9,8 @@ deploymnet/
docker/
scripts/
test/
cdk.py
.coverage
.hadolint.yaml
.pylintrc
README.md
cdk.context.json
cdk.json
docker-compose.yaml
mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/build.yaml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/build_container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
name: Build Container

on:
workflow_call:
inputs:
target:
required: true
type: string
dockerfile:
required: true
type: string

jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3

- name: "Hadolint: docker/${{ inputs.dockerfile }}"
uses: hadolint/[email protected]
with:
dockerfile: docker/${{ inputs.dockerfile }}

- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v3

- name: "Login to GitHub Container Registry"
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: "Set environment: ${{ inputs.target }}"
run: scripts/include/env-github ${{ inputs.target }}

- name: "Build and push"
uses: docker/build-push-action@v5
with:
context: .
file: docker/${{ inputs.dockerfile }}
target: ${{ inputs.target }}
platforms: linux/amd64
build-args: |
"CDK_TAG=${{ env.CDK_TAG }}"
"CDK_VERSION=${{ env.CDK_VERSION }}"
"CODE_DIR=${{ env.CODE_DIR }}"
"PIP_VERSION=${{ env.PIP_VERSION }}"
"POETRY_VERSION=${{ env.POETRY_VERSION }}"
push: true
tags: ${{ env.CONTAINER_IMAGE_REVISION }}
cache-from: type=gha
cache-to: type=gha,mode=max
20 changes: 0 additions & 20 deletions .github/workflows/cleanup_old_workflow_runs.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
python-version: ["3.12"]

steps:
- name: Checkout repository
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/lint_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Lint Documentation

on:
workflow_call:

jobs:
lint_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: "Linting: Docs"
run: scripts/ci/lint-docs
70 changes: 70 additions & 0 deletions .github/workflows/lint_python.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
name: Lint Python

on:
workflow_call:

jobs:
black:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: "Linting: black"
run: scripts/ci/lint-black

isort:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: "Linting: isort"
run: scripts/ci/lint-isort

mypy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: "Linting: mypy"
run: scripts/ci/lint-mypy

pylint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: "Linting: pylint"
run: scripts/ci/lint-pylint
23 changes: 23 additions & 0 deletions .github/workflows/lint_yaml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Lint YAML

on:
workflow_call:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: "Linting: yaml"
run: scripts/ci/lint-yaml
if: always()
31 changes: 0 additions & 31 deletions .github/workflows/linting_docker.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/linting_docs.yaml

This file was deleted.

Loading
Loading