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

Setup for infra migration #300

Merged
merged 4 commits into from
Mar 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 .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ on:
image:
description: "Image Name"
required: true
default: "docker.registries.vmminfra.dev/grid/grid-bot"
default: "cloud-registry.simulprod.com/grid/grid-bot"
registry:
description: "Docker Registry"
required: true
default: "docker.registries.vmminfra.dev"
default: "cloud-registry.simulprod.com"

create_release:
description: "Create Release"
Expand Down Expand Up @@ -85,8 +85,8 @@ jobs:
env:
BUILD_CONFIGURATION: ${{ github.event.inputs.build_configuration || (github.event_name == 'push' && github.ref == 'refs/heads/master' && 'Release') || 'Debug' }}

IMAGE: ${{ github.event.inputs.image || (github.event_name == 'push' && github.ref == 'refs/heads/master' && 'docker.registries.vmminfra.dev/grid/grid-bot') || 'docker-dev.registries.vmminfra.dev/grid/grid-bot' }}
DOCKER_REGISTRY: ${{ github.event.inputs.registry || (github.event_name == 'push' && github.ref == 'refs/heads/master' && 'docker.registries.vmminfra.dev') || 'docker-dev.registries.vmminfra.dev' }}
IMAGE: ${{ github.event.inputs.image || (github.event_name == 'push' && github.ref == 'refs/heads/master' && 'cloud-registry.simulprod.com/grid/grid-bot') || 'registry.simulpong.com/grid/grid-bot' }}
DOCKER_REGISTRY: ${{ github.event.inputs.registry || (github.event_name == 'push' && github.ref == 'refs/heads/master' && 'cloud-registry.simulprod.com') || 'registry.simulpong.com' }}

CREATE_RELEASE: ${{ github.event.inputs.create_release || !contains(github.event.head_commit.message, '#!skip-release!#') }}
CREATE_IMAGE: ${{ github.event.inputs.create_image || !contains(github.event.head_commit.message, '#!skip-image!#') }}
Expand Down
2 changes: 1 addition & 1 deletion nomad/grid-bot.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ job "{{{NOMAD_JOB_NAME}}}" {
template {
data = <<EOF

DISPLAY=:0
DISPLAY=:1

# CONSUL
DEFAULT_LOG_FILE_DIRECTORY="/local/logs"
Expand Down
4 changes: 2 additions & 2 deletions nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</packageRestore>

<packageSources>
<add key="private" value="https://nuget.registries.vmminfra.dev/v3/index.json" />
<add key="private" value="https://nuget.simulprod.com/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
</configuration>
Loading