Skip to content

Commit

Permalink
Revert "[#41] try adding on-prem to jsonnet"
Browse files Browse the repository at this point in the history
This reverts commit dfb49f0.
  • Loading branch information
raymondng76 committed Jan 17, 2022
1 parent dfb49f0 commit 7f0d127
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions jsonnet/demo-api.jsonnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
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",
when: "manual",
script: [
"echo 'Logging in to AISG Docker Registry...'",
Expand All @@ -16,7 +15,6 @@ local build_and_push_staging(module_name, image_name) = {
local build_and_push_docs_staging() = {
image: "python:3.8.11-slim",
stage: "build_and_push_staging",
tags: "on-prem",
when: "manual",
script: [
"echo 'Building Sphinx docs'",
Expand Down Expand Up @@ -44,7 +42,6 @@ local build_and_push_docs_staging() = {
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",
only: {
refs: ["main"]
},
Expand All @@ -65,7 +62,6 @@ local retag_and_push_production(module_name, image_name) = {
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",
when: "manual",
needs: ["%s_build_and_push_staging" % module_name],
script: [
Expand All @@ -78,7 +74,6 @@ local restart_kubernetes_staging(module_name, deployment_name) = {
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",
only: {
refs: ["main"]
},
Expand Down
2 changes: 0 additions & 2 deletions jsonnet/dev-demo-api.jsonnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
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",
when: "manual",
script: [
"echo 'Logging in to AISG Docker Registry...'",
Expand All @@ -17,7 +16,6 @@ local build_and_push_staging(module_name, image_name) = {
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",
when: "manual",
needs: ["%s_build_and_push_staging" % module_name],
script: [
Expand Down

0 comments on commit 7f0d127

Please sign in to comment.