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

Continue Renaming "Armada" to "Server" #3975

Merged
merged 6 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ builds:
- env: [CGO_ENABLED=0]
id: server
binary: server
main: ./cmd/armada/main.go
main: ./cmd/server/main.go
mod_timestamp: '{{ .CommitTimestamp }}'
goos:
- linux
Expand Down Expand Up @@ -197,7 +197,7 @@ dockers:
- scheduler
- scheduleringester
extra_files:
- config/armada/config.yaml
- config/server/config.yaml
- config/executor/config.yaml
- config/binoculars/config.yaml
- config/eventingester/config.yaml
Expand Down Expand Up @@ -244,7 +244,7 @@ dockers:
- lookoutingesterv2
- fakeexecutor
extra_files:
- config/armada/config.yaml
- config/server/config.yaml
- config/executor/config.yaml
- config/binoculars/config.yaml
- config/eventingester/config.yaml
Expand All @@ -268,7 +268,7 @@ dockers:
ids:
- server
extra_files:
- config/armada/config.yaml
- config/server/config.yaml
dockerfile: ./build/server/Dockerfile

- id: executor
Expand Down
2 changes: 1 addition & 1 deletion .run/Armada.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<toRun name="Server" type="GoApplicationRunConfiguration" />
<toRun name="Scheduler" type="GoApplicationRunConfiguration" />
<toRun name="Scheduler Ingester" type="GoApplicationRunConfiguration" />
<toRun name="postgresPulsarMigration" type="GoApplicationRunConfiguration" />
<toRun name="schedulerPostgresMigration" type="GoApplicationRunConfiguration" />
<method v="2" />
</configuration>
<configuration default="false" name="Armada (Pulsar Scheduler)" type="CompoundRunConfigurationType">
Expand Down
2 changes: 1 addition & 1 deletion .run/Server.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<kind value="FILE" />
<package value="github.com/armadaproject/armada" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/armada/main.go" />
<filePath value="$PROJECT_DIR$/cmd/server/main.go" />
<method v="2" />
</configuration>
</component>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="postgresPulsarMigration" type="GoApplicationRunConfiguration" factoryName="Go Application">
<configuration default="false" name="schedulerPostgresMigration" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="armada" />
<working_directory value="$PROJECT_DIR$" />
<parameters value="migrateDatabase" />
Expand Down
2 changes: 1 addition & 1 deletion build/bundles/armada/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada
USER armada

# Server
COPY config/armada/config.yaml /app/config/armada/config.yaml
COPY config/server/config.yaml /app/config/server/config.yaml

# Executor
COPY config/executor/config.yaml /app/config/executor/config.yaml
Expand Down
2 changes: 1 addition & 1 deletion build/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada
USER armada

COPY server /app/
COPY config/armada/config.yaml /app/config/armada/config.yaml
COPY config/server/config.yaml /app/config/server/config.yaml

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion cmd/armada/main.go → cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {
// TODO Load relevant config in one place: don't use viper here and in LoadConfig.
var config configuration.ArmadaConfig
userSpecifiedConfigs := viper.GetStringSlice(CustomConfigLocation)
common.LoadConfig(&config, "./config/armada", userSpecifiedConfigs)
common.LoadConfig(&config, "./config/server", userSpecifiedConfigs)

log.Info("Starting...")

Expand Down
File renamed without changes.