Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
  • Loading branch information
d80tb7 committed Jun 24, 2024
2 parents 5353f19 + 3a9207f commit e90839c
Show file tree
Hide file tree
Showing 123 changed files with 3,422 additions and 3,279 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/airflow-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
- 'internal/jobservice/*'
- 'pkg/api/*.proto'
- 'pkg/api/jobservice/*.proto'
- 'scripts/build-airflow-operator.sh'
- 'scripts/build-python-client.sh'
- 'third_party/airflow/**'
- './magefiles/tests.go'
Expand All @@ -37,7 +36,6 @@ on:
- 'internal/jobservice/*'
- 'pkg/api/*.proto'
- 'pkg/api/jobservice/*.proto'
- 'scripts/build-airflow-operator.sh'
- 'scripts/build-python-client.sh'
- 'third_party/airflow/**'

Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ dockers:
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.base.name=alpine:3.18.3
- --label=org.opencontainers.image.base.name=alpine:3.20.1
- --label=org.opencontainers.image.licenses=Apache-2.0
- --label=org.opencontainers.image.vendor=G-Research
ids:
Expand Down
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ pull_request_rules:
- "#approved-reviews-by>=2"
- and:
- "#approved-reviews-by>=1"
- "author~=^(d80tb7|dave[-]gantenbein|dejanzele|JamesMurkin|msumner91|masipauskas|mijovicmia|MustafaI|zuqq|richscott|robertdavidsmith|samclark)"
- "author~=^(d80tb7|dave[-]gantenbein|dejanzele|JamesMurkin|msumner91|masipauskas|mijovicmia|MustafaI|zuqq|richscott|robertdavidsmith|samclark|suprjinx)"
title:
Two are checks required.
2 changes: 1 addition & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
| Rich Scott | [richscott](https://github.com/richscott) | G-Research |
| Robert Smith | [robertdavidsmith](https://github.com/robertdavidsmith) | G-Research |
| Sam Clark | [samclark](https://github.com/samclark) | G-Research |
| Geoffrey Wilson | [suprjinx](https://github.com/suprjinx) | G-Research |

## Past

Expand All @@ -26,6 +27,5 @@
| Carlo Camurri | [carlocamurri](https://github.com/carlocamurri) | G-Research |
| Clifton Houck | [ClifHouck](https://github.com/ClifHouck) | G-Research |
| Daniel Rastelli | [theAntiYeti](https://github.com/theAntiYeti) | G-Research |
| Geoffrey Wilson | [suprjinx](https://github.com/suprjinx) | G-Research |
| Jamie Poole | [jimbobby5](https://github.com/jimbobby5) | G-Research |
| Kevin Hannon | [kannon92](https://github.com/kannon92) | G-Research |
2 changes: 1 addition & 1 deletion build/airflow-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG PLATFORM=x86_64
ARG BASE_IMAGE=python:3.8.18-bookworm
ARG BASE_IMAGE=python:3.10.14-bookworm
FROM --platform=$PLATFORM ${BASE_IMAGE}

RUN mkdir /proto
Expand Down
2 changes: 1 addition & 1 deletion build/armada-load-tester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/armada/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/armadactl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/binoculars/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/eventingester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/executor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/fakeexecutor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/jobservice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/lookoutingesterv2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/lookoutv2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/scheduler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/scheduleringester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/testsuite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.3
FROM alpine:3.20.1

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/armadactl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1
FROM ${BASE_IMAGE}

LABEL org.opencontainers.image.title=armadactl
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/binoculars/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=binoculars
LABEL org.opencontainers.image.description="binoculars"
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/bundles/armada/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=armada
LABEL org.opencontainers.image.description="Armada Bundle"
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/bundles/full/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG NODE_BUILD_IMAGE=node:16.14-buster
ARG OPENAPI_BUILD_IMAGE=openapitools/openapi-generator-cli:v5.4.0
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${OPENAPI_BUILD_IMAGE} AS OPENAPI
LABEL org.opencontainers.image.title=armada-full-bundle
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/bundles/lookout/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=armada-lookout-bundle
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/eventingester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.5
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=eventingester
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/executor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=executor
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/fakeexecutor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=fakeexecutor
LABEL org.opencontainers.image.description="Fake Executor"
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/jobservice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=jobservice
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/loadtester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=loadtester
Expand Down
4 changes: 2 additions & 2 deletions build_goreleaser/lookoutingesterv2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=lookoutingesterv2
Expand All @@ -13,4 +13,4 @@ COPY config/lookoutingesterv2/config.yaml /app/config/lookoutingesterv2/config.y

WORKDIR /app

ENTRYPOINT ["./lookoutingesterv2"]
ENTRYPOINT ["./lookoutingesterv2"]
2 changes: 1 addition & 1 deletion build_goreleaser/lookoutv2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG NODE_BUILD_IMAGE=node:16.14-buster
ARG OPENAPI_BUILD_IMAGE=openapitools/openapi-generator-cli:v5.4.0
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${OPENAPI_BUILD_IMAGE} AS OPENAPI

Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/scheduler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=scheduler
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/scheduleringester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=scheduleringester
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=armada-server
Expand Down
2 changes: 1 addition & 1 deletion build_goreleaser/testsuite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.18.3
ARG BASE_IMAGE=alpine:3.20.1
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=testsuite
LABEL org.opencontainers.image.description="Test Suite"
Expand Down
2 changes: 1 addition & 1 deletion cmd/armada-load-tester/cmd/loadtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var loadtestCmd = &cobra.Command{
containers:
- name: sleep
imagePullPolicy: IfNotPresent
image: alpine:3.18.3
image: alpine:3.20.1
command:
- sh
args:
Expand Down
1 change: 1 addition & 0 deletions config/armada/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ pulsar:
compressionLevel: faster
eventsPrinter: false
eventsPrinterSubscription: "EventsPrinter"
maxAllowedEventsPerMessage: 1000
maxAllowedMessageSize: 4194304 # 4MB
receiverQueueSize: 100
postgres:
Expand Down
4 changes: 2 additions & 2 deletions config/eventingester/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ pulsar:
receiverQueueSize: 100
subscriptionName: "events-ingester"
minMessageCompressionSize: 1024
batchSize: 1048576 #1MB
maxOutputMessageSizeBytes: 1048576 #1MB
batchSize: 10000
batchDuration: 100ms
batchMessages: 10000
eventRetentionPolicy:
retentionDuration: 336h
metricsPort: 9001
2 changes: 2 additions & 0 deletions config/scheduler/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pulsar:
maxConnectionsPerBroker: 1
compressionType: zlib
compressionLevel: faster
maxAllowedEventsPerMessage: 1000
maxAllowedMessageSize: 4194304 #4Mi
armadaApi:
armadaUrl: "server:50051"
Expand Down Expand Up @@ -86,6 +87,7 @@ scheduling:
disableScheduling: false
enableAssertions: false
protectedFractionOfFairShare: 1.0
useAdjustedFairShareProtection: true
nodeIdLabel: "kubernetes.io/hostname"
priorityClasses:
armada-default:
Expand Down
4 changes: 2 additions & 2 deletions developer/config/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
containers:
- name: sleep
imagePullPolicy: IfNotPresent
image: alpine:3.10
image: alpine:latest
args:
- "exit"
- "1"
Expand All @@ -26,4 +26,4 @@ jobs:
timeout: "100s"
expectedEvents:
- submitted:
- failed:
- failed:
2 changes: 1 addition & 1 deletion developer/env/docker/server.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ARMADA_QUEUECACHEREFRESHPERIOD="1s"
ARMADA_CORSALLOWEDORIGINS="http://localhost:3000,http://localhost:10000,http://example.com:10000"

ARMADA_QUERYAPI_POSTGRES_CONNECTION_HOST=postgres
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ services:
depends_on:
- lookoutv2-migration
- eventingester
- lookoutingesterv2
working_dir: /app
env_file:
- developer/env/docker/server.env
Expand Down
Loading

0 comments on commit e90839c

Please sign in to comment.