From ad20e128da6a643006981053bb7b5a869e72eef2 Mon Sep 17 00:00:00 2001 From: shreddedbacon Date: Mon, 8 Jul 2024 10:59:14 +1000 Subject: [PATCH] chore: add other helpful seeding data --- docker-compose.yaml | 1 + .../01-populate-api-data-lagoon-demo.gql | 112 ++++++++++++++++++ 2 files changed, 113 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index bb93134013..34feee0e7f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -114,6 +114,7 @@ services: - S3_BAAS_SECRET_ACCESS_KEY=minio123 - CONSOLE_LOGGING_LEVEL=debug - SIDECAR_HANDLER_HOST=apisidecarhandler + - ENABLE_SAVED_HISTORY_EXPORT=true depends_on: api-lagoon-migrations: condition: service_started diff --git a/local-dev/api-data-watcher-pusher/api-data/01-populate-api-data-lagoon-demo.gql b/local-dev/api-data-watcher-pusher/api-data/01-populate-api-data-lagoon-demo.gql index 42cef18437..500b839009 100644 --- a/local-dev/api-data-watcher-pusher/api-data/01-populate-api-data-lagoon-demo.gql +++ b/local-dev/api-data-watcher-pusher/api-data/01-populate-api-data-lagoon-demo.gql @@ -803,4 +803,116 @@ mutation PopulateApi { ) { id } + + UIProject1Environment2addServices1: addOrUpdateEnvironmentService( + input: { + environment: 4 + name: "cli" + type: "cli-persistent" + containers: [{name: "cli"}] + } + ){ + id + name + type + } + UIProject1Environment2addServices2: addOrUpdateEnvironmentService( + input: { + environment: 4 + name: "nginx" + type: "nginx-php-persistent" + containers: [{name: "nginx"},{name:"php"}] + } + ){ + id + name + type + } + UIProject1Environment2addServices3: addOrUpdateEnvironmentService( + input: { + environment: 4 + name: "mariadb" + type: "mariadb-single" + containers: [{name: "mariadb"}] + } + ){ + id + name + type + } + + UIProject1Environment3addServices1: addOrUpdateEnvironmentService( + input: { + environment: 5 + name: "cli" + type: "cli-persistent" + containers: [{name: "cli"}] + } + ){ + id + name + type + } + UIProject1Environment3addServices2: addOrUpdateEnvironmentService( + input: { + environment: 5 + name: "nginx" + type: "nginx-php-persistent" + containers: [{name: "nginx"},{name:"php"}] + } + ){ + id + name + type + } + UIProject1Environment3addServices3: addOrUpdateEnvironmentService( + input: { + environment: 5 + name: "mariadb" + type: "mariadb-single" + containers: [{name: "mariadb"}] + } + ){ + id + name + type + } + + UIProject1Environment4addServices1: addOrUpdateEnvironmentService( + input: { + environment: 6 + name: "cli" + type: "cli-persistent" + containers: [{name: "cli"}] + } + ){ + id + name + type + } + UIProject1Environment4addServices2: addOrUpdateEnvironmentService( + input: { + environment: 6 + name: "nginx" + type: "nginx-php-persistent" + containers: [{name: "nginx"},{name:"php"}] + } + ){ + id + name + type + } + UIProject1Environment4addServices3: addOrUpdateEnvironmentService( + input: { + environment: 6 + name: "mariadb" + type: "mariadb-single" + containers: [{name: "mariadb"}] + } + ){ + id + name + type + } + }