Skip to content

Commit

Permalink
[#41] add on-prem tag to prod config
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondng76 committed Jan 17, 2022
1 parent 8088c22 commit 254384a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jsonnet/demo-api.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ local build_and_push_staging(module_name, image_name) = {
image: "registry.aisingapore.net/sg-nlp/sg-nlp-runner:latest",
stage: "build_and_push_staging",
tags: [
"on-prem",
"dind",
],
when: "manual",
Expand All @@ -19,6 +20,7 @@ local build_and_push_docs_staging() = {
image: "python:3.8.11-slim",
stage: "build_and_push_staging",
tags: [
"on-prem",
"dind",
],
when: "manual",
Expand Down Expand Up @@ -49,6 +51,7 @@ local retag_and_push_production(module_name, image_name) = {
image: "registry.aisingapore.net/sg-nlp/sg-nlp-runner:latest",
stage: "retag_and_push_production",
tags: [
"on-prem",
"dind",
],
only: {
Expand All @@ -72,6 +75,7 @@ local restart_kubernetes_staging(module_name, deployment_name) = {
image: "registry.aisingapore.net/sea-core-nlp/seacorenlp-runner:latest",
stage: "restart_kubernetes_staging",
tags: [
"on-prem",
"dind",
],
when: "manual",
Expand All @@ -87,6 +91,7 @@ local restart_kubernetes_production(module_name, deployment_name) = {
image: "registry.aisingapore.net/sea-core-nlp/seacorenlp-runner:latest",
stage: "restart_kubernetes_production",
tags: [
"on-prem",
"dind",
],
only: {
Expand Down

0 comments on commit 254384a

Please sign in to comment.