diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca1f4c10597..bc202e316c7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,9 +23,9 @@ jobs: cache: yarn cache-dependency-path: ./internal/lookoutui/yarn.lock - - name: Install Dependencies And Run Unit Tests + - name: Install Dependencies, Check Types And Run Unit Tests run: | - yarn install --frozen-lockfile && yarn openapi && CI=true yarn test --reporter=junit + yarn install --frozen-lockfile && yarn openapi && yarn typecheck && CI=true yarn test --reporter=junit working-directory: ./internal/lookoutui - name: Publish JUnit Report diff --git a/.goreleaser.yml b/.goreleaser.yml index 971a76269d8..cb7907aa6e0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -68,18 +68,18 @@ builds: goarch: - amd64 - env: [CGO_ENABLED=0] - id: lookoutv2 - binary: lookoutv2 - main: ./cmd/lookoutv2/main.go + id: lookout + binary: lookout + main: ./cmd/lookout/main.go mod_timestamp: '{{ .CommitTimestamp }}' goos: - linux goarch: - amd64 - env: [CGO_ENABLED=0] - id: lookoutingesterv2 - binary: lookoutingesterv2 - main: ./cmd/lookoutingesterv2/main.go + id: lookoutingester + binary: lookoutingester + main: ./cmd/lookoutingester/main.go mod_timestamp: '{{ .CommitTimestamp }}' goos: - linux @@ -215,12 +215,12 @@ dockers: - "{{ .Env.DOCKER_REPO }}armada-lookout-bundle:{{ .Version }}" build_flag_templates: *BUILD_FLAG_TEMPLATES ids: - - lookoutv2 - - lookoutingesterv2 + - lookout + - lookoutingester extra_files: - config/logging.yaml - - config/lookoutv2/config.yaml - - config/lookoutingesterv2/config.yaml + - config/lookout/config.yaml + - config/lookoutingester/config.yaml - internal/lookoutui - pkg/api/api.swagger.json - pkg/api/binoculars/api.swagger.json @@ -243,8 +243,8 @@ dockers: - armadactl - scheduler - scheduleringester - - lookoutv2 - - lookoutingesterv2 + - lookout + - lookoutingester - fakeexecutor extra_files: - config/logging.yaml @@ -254,8 +254,8 @@ dockers: - config/eventingester/config.yaml - config/scheduler/config.yaml - config/scheduleringester/config.yaml - - config/lookoutv2/config.yaml - - config/lookoutingesterv2/config.yaml + - config/lookout/config.yaml + - config/lookoutingester/config.yaml - internal/lookoutui - pkg/api/api.swagger.json - pkg/api/binoculars/api.swagger.json @@ -331,41 +331,45 @@ dockers: - testsuite dockerfile: ./build/testsuite/Dockerfile - - id: lookoutingesterv2 + - id: lookoutingester use: buildx goos: linux goarch: amd64 image_templates: - "{{ .Env.DOCKER_REPO }}armada-lookout-ingester-v2:latest" - "{{ .Env.DOCKER_REPO }}armada-lookout-ingester-v2:{{ .Version }}" + - "{{ .Env.DOCKER_REPO }}armada-lookout-ingester:latest" + - "{{ .Env.DOCKER_REPO }}armada-lookout-ingester:{{ .Version }}" build_flag_templates: *BUILD_FLAG_TEMPLATES ids: - - lookoutingesterv2 + - lookoutingester extra_files: - - config/lookoutingesterv2/config.yaml + - config/lookoutingester/config.yaml - config/logging.yaml - dockerfile: ./build/lookoutingesterv2/Dockerfile + dockerfile: ./build/lookoutingester/Dockerfile - - id: lookoutv2 + - id: lookout use: buildx goos: linux goarch: amd64 image_templates: - "{{ .Env.DOCKER_REPO }}armada-lookout-v2:latest" - "{{ .Env.DOCKER_REPO }}armada-lookout-v2:{{ .Version }}" + - "{{ .Env.DOCKER_REPO }}armada-lookout:latest" + - "{{ .Env.DOCKER_REPO }}armada-lookout:{{ .Version }}" build_flag_templates: *BUILD_FLAG_TEMPLATES ids: - - lookoutv2 - - lookoutingesterv2 + - lookout + - lookoutingester extra_files: - internal/lookoutui - pkg/api/api.swagger.json - pkg/api/binoculars/api.swagger.json - pkg/api/schedulerobjects/api.swagger.json - - config/lookoutv2/config.yaml - - config/lookoutingesterv2/config.yaml + - config/lookout/config.yaml + - config/lookoutingester/config.yaml - config/logging.yaml - dockerfile: ./build/lookoutv2/Dockerfile + dockerfile: ./build/lookout/Dockerfile - id: eventingester use: buildx @@ -500,12 +504,16 @@ release: #### Armada Executor - `docker pull {{ .Env.DOCKER_REPO }}armada-executor:{{ .Version }}` - `docker pull {{ .Env.DOCKER_REPO }}armada-executor:latest` - #### Armada Lookout V2 + #### Armada Lookout - `docker pull {{ .Env.DOCKER_REPO }}armada-lookout-v2:{{ .Version }}` - `docker pull {{ .Env.DOCKER_REPO }}armada-lookout-v2:latest` - #### Armada Lookout Ingester V2 + - `docker pull {{ .Env.DOCKER_REPO }}armada-lookout:{{ .Version }}` + - `docker pull {{ .Env.DOCKER_REPO }}armada-lookout:latest` + #### Armada Lookout Ingester - `docker pull {{ .Env.DOCKER_REPO }}armada-lookout-ingester-v2:{{ .Version }}` - `docker pull {{ .Env.DOCKER_REPO }}armada-lookout-ingester-v2:latest` + - `docker pull {{ .Env.DOCKER_REPO }}armada-lookout-ingester:{{ .Version }}` + - `docker pull {{ .Env.DOCKER_REPO }}armada-lookout-ingester:latest` #### Armada Event Ingester - `docker pull {{ .Env.DOCKER_REPO }}armada-event-ingester:{{ .Version }}` - `docker pull {{ .Env.DOCKER_REPO }}armada-event-ingester:latest` diff --git a/.mergify.yml b/.mergify.yml index e4c1d8077fc..998004cb4aa 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -9,6 +9,6 @@ pull_request_rules: - "#approved-reviews-by>=2" - and: - "#approved-reviews-by>=1" - - "author~=^(d80tb7|dave[-]gantenbein|dejanzele|eleanorpratt|geaere|JamesMurkin|mauriceyap|masipauskas|MustafaI|zuqq|richscott|robertdavidsmith|samclark|suprjinx)" + - "author~=^(d80tb7|dave[-]gantenbein|dejanzele|eleanorpratt|geaere|JamesMurkin|mauriceyap|masipauskas|MustafaI|zuqq|richscott|robertdavidsmith|samclark|suprjinx|EnricoMi)$" title: - Two are checks required. + Two approvals required, or one if author is a maintainer. diff --git a/.run/Armada Infrastructure Services.run.xml b/.run/Armada Infrastructure Services.run.xml index ef723ce1a95..e0bee3f7019 100644 --- a/.run/Armada Infrastructure Services.run.xml +++ b/.run/Armada Infrastructure Services.run.xml @@ -5,15 +5,13 @@