Skip to content

Commit

Permalink
Merge branch 'master' into add-badge-lfx-insights
Browse files Browse the repository at this point in the history
  • Loading branch information
naskio authored Jun 11, 2024
2 parents f6b5472 + 8b38477 commit 7b00ed8
Show file tree
Hide file tree
Showing 437 changed files with 16,051 additions and 24,528 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Run this when the script completes
```bash
# If you are at the root of the repo
cd .devcontainer/demo
./armadactl create queue test --priorityFactor 1
./armadactl create queue test --priority-factor 1
./armadactl submit jobs.yaml
./armadactl watch test job-set-1
```
Expand All @@ -21,4 +21,4 @@ Forward these ports:
- 10000: Lookoutv2 API
- 8080: Armada Server API

and go to: http://localhost:8089
and go to: http://localhost:8089
4 changes: 2 additions & 2 deletions .github/actions/setup-go-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ inputs:
description: "Prefix for the cache key"
required: true
go-version:
description: "Version of Go. Default 1.20"
description: "Version of Go. Default 1.21"
required: false
default: "1.20"
default: "1.21"
cache-tools:
description: "True/false flag to cache tools"
required: false
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: v1.20.0
version: v1.24.0
args: release --snapshot --skip-sbom --skip-sign --clean
env:
DOCKER_REPO: "gresearch"
Expand Down Expand Up @@ -88,5 +88,4 @@ jobs:
with:
name: nupkg-artifacts
path: |
./bin/client/DotNet/G-Research.Armada.Client.${{ steps.create-release-tag.outputs.release_tag }}.nupkg
./bin/client/DotNet/ArmadaProject.Io.Client.${{ steps.create-release-tag.outputs.release_tag }}.nupkg
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: v1.19.2
version: v1.24.0
args: "-f ./.goreleaser.yml release --clean"
env:
FULL_RELEASE: true
Expand Down Expand Up @@ -119,4 +119,4 @@ jobs:
TAG: ${{ github.event.workflow_run.head_branch }}
run: |
VERSION=${TAG#v}
dotnet nuget push ./bin/client/DotNet/G-Research.Armada.Client.$VERSION.nupkg ./bin/client/DotNet/ArmadaProject.Io.Client.$VERSION.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push ./bin/client/DotNet/ArmadaProject.Io.Client.$VERSION.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ msbuild.log
msbuild.err
msbuild.wrn
packages
client/DotNet.gRPC/Armada.Client.Grpc/generated

# python
# Pycache, dist, poetry versions
Expand All @@ -94,6 +93,7 @@ build/ssl/certs/ca-certificates.crt
developer/volumes/go/pkg/
.coverage
coverage.xml
.venv

# Yarn
developer/yarn.lock
Expand Down
11 changes: 1 addition & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
# To use a builder other than "default", set this variable.
# Necessary for, e.g., GitHub actions cache integration.
- DOCKER_BUILDX_BUILDER={{ if index .Env "DOCKER_BUILDX_BUILDER" }}{{ .Env.DOCKER_BUILDX_BUILDER }}{{ else }}default{{ end }}
- GOVERSION={{ if index .Env "GOVERSION" }}{{ .Env.GOVERSION }}{{ else }}go1.20{{ end }}
- GOVERSION={{ if index .Env "GOVERSION" }}{{ .Env.GOVERSION }}{{ else }}go1.21{{ end }}

builds:
- env: [CGO_ENABLED=0]
Expand Down Expand Up @@ -49,15 +49,6 @@ builds:
- linux
goarch:
- amd64
- env: [CGO_ENABLED=0]
id: pulsartest
binary: pulsartest
main: ./cmd/pulsartest/main.go
mod_timestamp: '{{ .CommitTimestamp }}'
goos:
- linux
goarch:
- amd64
- env: [CGO_ENABLED=0]
id: testsuite
binary: testsuite
Expand Down
12 changes: 6 additions & 6 deletions .run/Armada (Pulsar Scheduler).run.xml → .run/Armada.run.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Armada (Pulsar Scheduler)" type="CompoundRunConfigurationType">
<configuration default="false" name="Armada" type="CompoundRunConfigurationType">
<toRun name="Armada Infrastructure Services" type="docker-deploy" />
<toRun name="Event Ingester" type="GoApplicationRunConfiguration" />
<toRun name="Lookout Ingester V2" type="GoApplicationRunConfiguration" />
<toRun name="LookoutV2" type="GoApplicationRunConfiguration" />
<toRun name="Pulsar Executor" type="GoApplicationRunConfiguration" />
<toRun name="Pulsar Server" type="GoApplicationRunConfiguration" />
<toRun name="Executor" type="GoApplicationRunConfiguration" />
<toRun name="Server" type="GoApplicationRunConfiguration" />
<toRun name="Scheduler" type="GoApplicationRunConfiguration" />
<toRun name="Scheduler Ingester" type="GoApplicationRunConfiguration" />
<toRun name="postgresPulsarMigration" type="GoApplicationRunConfiguration" />
Expand All @@ -15,10 +15,10 @@
<toRun name="Event Ingester" type="GoApplicationRunConfiguration" />
<toRun name="Lookout Ingester V2" type="GoApplicationRunConfiguration" />
<toRun name="LookoutV2" type="GoApplicationRunConfiguration" />
<toRun name="Pulsar Executor" type="GoApplicationRunConfiguration" />
<toRun name="Pulsar Server" type="GoApplicationRunConfiguration" />
<toRun name="Executor" type="GoApplicationRunConfiguration" />
<toRun name="Server" type="GoApplicationRunConfiguration" />
<toRun name="Scheduler" type="GoApplicationRunConfiguration" />
<toRun name="Scheduler Ingester" type="GoApplicationRunConfiguration" />
<method v="2" />
</configuration>
</component>
</component>
2 changes: 1 addition & 1 deletion .run/Pulsar Executor.run.xml → .run/Executor.run.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Pulsar Executor" type="GoApplicationRunConfiguration" factoryName="Go Application">
<configuration default="false" name="Executor" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="armada" />
<working_directory value="$PROJECT_DIR$" />
<envs>
Expand Down
21 changes: 0 additions & 21 deletions .run/Legacy Server.run.xml

This file was deleted.

3 changes: 1 addition & 2 deletions .run/Lookout Ingester V2.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<working_directory value="$PROJECT_DIR$" />
<envs>
<env name="ARMADA_METRICS_PORT" value="9006" />
<env name="ARMADA_POSTGRES_CONNECTION_DBNAME" value="postgresv2" />
<env name="ARMADA_POSTGRES_CONNECTION_HOST" value="localhost" />
<env name="ARMADA_POSTGRES_CONNECTION_PORT" value="5432" />
<env name="ARMADA_PULSAR_URL" value="pulsar://localhost:6650" />
Expand All @@ -15,4 +14,4 @@
<filePath value="$PROJECT_DIR$/cmd/lookoutingesterv2/main.go" />
<method v="2" />
</configuration>
</component>
</component>
3 changes: 1 addition & 2 deletions .run/LookoutV2.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<working_directory value="$PROJECT_DIR$" />
<envs>
<env name="ARMADA_CORSALLOWEDORIGINS" value="&quot;http://localhost:3000,http://localhost:8089,http://localhost:10000,http://example.com:10000,http://example.com:8089&quot;" />
<env name="ARMADA_POSTGRES_CONNECTION_DBNAME" value="postgresv2" />
<env name="ARMADA_POSTGRES_CONNECTION_HOST" value="localhost" />
<env name="ARMADA_POSTGRES_CONNECTION_PORT" value="5432" />
</envs>
Expand All @@ -14,4 +13,4 @@
<filePath value="$PROJECT_DIR$/cmd/lookoutv2/main.go" />
<method v="2" />
</configuration>
</component>
</component>
17 changes: 17 additions & 0 deletions .run/Run Migrations.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run Migrations" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="mage runMigrations" />
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
<option name="SCRIPT_PATH" value="" />
<option name="SCRIPT_OPTIONS" value="" />
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
<option name="INTERPRETER_PATH" value="/usr/bin/zsh" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="EXECUTE_IN_TERMINAL" value="true" />
<option name="EXECUTE_SCRIPT_FILE" value="false" />
<envs />
<method v="2" />
</configuration>
</component>
4 changes: 2 additions & 2 deletions .run/Scheduler.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
<working_directory value="$PROJECT_DIR$" />
<parameters value="run --config $PROJECT_DIR$/developer/config/insecure-armada.yaml" />
<envs>
<env name="ARMADA_ARMADAAPI_ARMADAURL" value="localhost:50051" />
<env name="ARMADA_HTTP_PORT" value="8084" />
<env name="ARMADA_METRICS_PORT" value="9004" />
<env name="ARMADA_POSTGRES_CONNECTION_HOST" value="localhost" />
<env name="ARMADA_PULSAR_URL" value="pulsar://localhost:6650" />
<env name="ARMADA_REDIS_ADDRS" value="localhost:6379" />
</envs>
<kind value="FILE" />
<package value="github.com/armadaproject/armada" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/scheduler/main.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/Pulsar Server.run.xml → .run/Server.run.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Pulsar Server" type="GoApplicationRunConfiguration" factoryName="Go Application">
<configuration default="false" name="Server" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="armada" />
<working_directory value="$PROJECT_DIR$" />
<parameters value="--config ./developer/config/insecure-armada.yaml" />
<envs>
<env name="ARMADA_CORSALLOWEDORIGINS" value="&quot;http://localhost:3000,http://localhost:8089,http://localhost:10000,http://example.com:10000,http://example.com:8089&quot;" />
<env name="ARMADA_QUERYAPI_POSTGRES_CONNECTION_HOST" value="localhost" />
<env name="ARMADA_EVENTSAPIREDIS_ADDRS" value="localhost:6379" />
<env name="ARMADA_METRICSPORT" value="9005" />
<env name="ARMADA_POSTGRES_CONNECTION_HOST" value="localhost" />
<env name="ARMADA_PULSAR_URL" value="pulsar://localhost:6650" />
<env name="ARMADA_REDIS_ADDRS" value="localhost:6379" />
<env name="EXECUTOR_UPDATE_INTERVAL" value="&quot;1s&quot;" />
</envs>
<kind value="FILE" />
Expand Down
17 changes: 17 additions & 0 deletions .run/Start Dependencies.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Start Dependencies" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="" />
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
<option name="SCRIPT_PATH" value="$PROJECT_DIR$/scripts/infrastructure-start.sh" />
<option name="SCRIPT_OPTIONS" value="" />
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
<option name="INTERPRETER_PATH" value="/usr/bin/zsh" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="EXECUTE_IN_TERMINAL" value="true" />
<option name="EXECUTE_SCRIPT_FILE" value="true" />
<envs />
<method v="2" />
</configuration>
</component>
1 change: 0 additions & 1 deletion .run/lookoutv2PostgresMigration.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<parameters value="--migrateDatabase" />
<envs>
<env name="ARMADA_CORSALLOWEDORIGINS" value="&quot;http://localhost:3000,http://localhost:8089,http://localhost:10000,http://example.com:10000,http://example.com:8089&quot;" />
<env name="ARMADA_POSTGRES_CONNECTION_DBNAME" value="postgresv2" />
<env name="ARMADA_POSTGRES_CONNECTION_HOST" value="localhost" />
<env name="ARMADA_POSTGRES_CONNECTION_PORT" value="5432" />
</envs>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ For documentation, see the following:
- [User guide](./docs/user.md)
- [Quickstart](./docs/quickstart/index.md)
- [Development guide](./docs/developer.md)
- [Release notes/Version history](https://github.com/armadaproject/armada/releases)
- [API Documentation](./docs/developer/api.md)

We expect readers of the documentation to have a basic understanding of Docker and Kubernetes; see, e.g., the following links:
Expand Down
6 changes: 3 additions & 3 deletions build/airflow-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG PYTHON_VERSION=3.8.15

FROM --platform=x86_64 python:${PYTHON_VERSION}-buster
ARG PLATFORM=x86_64
ARG BASE_IMAGE=python:3.8.18-bookworm
FROM --platform=$PLATFORM ${BASE_IMAGE}

RUN mkdir /proto

Expand Down
5 changes: 3 additions & 2 deletions build/python-client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG PYTHON_VERSION=3.8.18
ARG PLATFORM=x86_64
ARG BASE_IMAGE=python:3.8.18-bookworm

FROM --platform=x86_64 python:${PYTHON_VERSION}-bookworm
FROM --platform=$PLATFORM ${BASE_IMAGE}

RUN mkdir /proto

Expand Down
22 changes: 0 additions & 22 deletions client/DotNet/Armada.Client.Test/Armada.Client.Test.csproj

This file was deleted.

Loading

0 comments on commit 7b00ed8

Please sign in to comment.