Skip to content

Commit

Permalink
Current marlowe-playground deploy: Disable autopush
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Sep 27, 2023
1 parent edfef2c commit fb2827f
Showing 1 changed file with 5 additions and 57 deletions.
62 changes: 5 additions & 57 deletions deploy/marlowe-playground.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ metadata:
name: marlowe-playground
namespace: marlowe-staging
annotations:
app.oam.dev/publishVersion: 61627e5e
app.oam.dev/publishVersion: 0.0.4
spec:
components:
- name: marlowe-playground
type: webservice
properties:
cpu: "0.5"
image: ghcr.io/input-output-hk/marlowe-playground-server:61627e5e
image: ghcr.io/input-output-hk/marlowe-playground-server:latest
args:
- webserver
env:
Expand Down Expand Up @@ -86,7 +86,7 @@ spec:
- type: init-container
properties:
name: playground-client
image: ghcr.io/input-output-hk/marlowe-playground-client:61627e5e
image: ghcr.io/input-output-hk/marlowe-playground-client:latest
mountName: client-www
initMountPath: /share/marlowe-playground-client/static
appMountPath: /client-www
Expand Down Expand Up @@ -137,7 +137,7 @@ spec:
secretKeyRef:
key: callbackPath
name: gh-oauth-production
image: ghcr.io/input-output-hk/marlowe-playground-server:61627e5e
image: ghcr.io/input-output-hk/marlowe-playground-server:production
traits:
- properties:
domains:
Expand All @@ -161,75 +161,23 @@ spec:
- type: init-container
properties:
name: build-client
image: ghcr.io/input-output-hk/marlowe-playground-client:61627e5e
image: ghcr.io/input-output-hk/marlowe-playground-client:production
mountName: client-www
initMountPath: /share/marlowe-playground-client/static
appMountPath: /client-www
workflow:
mode:
steps: DAG
steps:
- meta:
alias: Push staging server image
name: push-server-image-staging
type: build-nix-image
properties:
image: ghcr.io/input-output-hk/marlowe-playground-server:61627e5e
requests:
ephemeralStorage: 50Gi
includedFlakeURIs:
- "github:input-output-hk/marlowe-playground#marlowe-playground-server"
- "github:input-output-hk/marlowe-playground#ghc-with-marlowe"
- "nixpkgs#z3"
- "nixpkgs#cacert"
entrypointBinName: "marlowe-playground-server"
- meta:
alias: Push production server image
name: push-server-image-production
type: build-nix-image
properties:
image: ghcr.io/input-output-hk/marlowe-playground-server:61627e5e
requests:
ephemeralStorage: 50Gi
includedFlakeURIs:
- "github:input-output-hk/marlowe-playground/production#marlowe-playground-server"
- "github:input-output-hk/marlowe-playground/production#ghc-with-marlowe"
- "nixpkgs#z3"
- "nixpkgs#cacert"
entrypointBinName: "marlowe-playground-server"
- meta:
alias: Push staging client image
name: push-client-image-staging
type: build-nix-image
properties:
image: ghcr.io/input-output-hk/marlowe-playground-client:61627e5e
requests:
ephemeralStorage: 50Gi
includedFlakeURIs:
- "github:input-output-hk/marlowe-playground#marlowe-playground-client"
- meta:
alias: Push production client image
name: push-client-image-production
type: build-nix-image
properties:
image: ghcr.io/input-output-hk/marlowe-playground-client:61627e5e
requests:
ephemeralStorage: 50Gi
includedFlakeURIs:
- "github:input-output-hk/marlowe-playground/production#marlowe-playground-client"
- meta:
alias: Deploy To local-marlowe-staging
dependsOn:
- push-server-image-staging
name: local-marlowe-staging
properties:
policies:
- local-marlowe-staging
type: deploy
- meta:
alias: Deploy To local-marlowe-production
dependsOn:
- push-server-image-production
name: local-marlowe-production
properties:
policies:
Expand Down

0 comments on commit fb2827f

Please sign in to comment.