Commit 9cba4c65 authored by Richard Crosby's avatar Richard Crosby

chore: use local schema files

parent c47cf42c
Pipeline #24273 canceled with stages
in 49 seconds
......@@ -9,7 +9,7 @@ register_graphql_production:
before_script:
- npm install -g apollo
script:
- apollo service:push --key="${ENGINE_API_KEY}" --serviceName="${CI_PROJECT_NAME}" --serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql" --endpoint="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql" --tag=${BBK_RUNTIME_ENVIRONMENT}
- apollo service:push --key="${ENGINE_API_KEY}" --serviceName="${CI_PROJECT_NAME}" --serviceRevision="${CI_COMMIT_TAG}" --serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql" --localSchemaFile=build/schema.gql --tag=${BBK_RUNTIME_ENVIRONMENT}
only:
- tags
......@@ -24,6 +24,6 @@ register_graphql_staging:
before_script:
- npm install -g apollo
script:
- apollo service:push --key="${ENGINE_API_KEY}" --serviceName="${CI_PROJECT_NAME}" --serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql" --endpoint="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql" --tag=${BBK_RUNTIME_ENVIRONMENT}
- apollo service:push --key="${ENGINE_API_KEY}" --serviceName="${CI_PROJECT_NAME}" --serviceRevision="${CI_COMMIT_REF_SLUG}" --serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql" --localSchemaFile=build/schema.gql --tag=${BBK_RUNTIME_ENVIRONMENT}
only:
- master
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment