Commit 93f63851 authored by Georgi Petkov's avatar Georgi Petkov
Browse files

chore: reverting back apollo and graphql global installation in register-graphql job

parent 77bca602
Pipeline #31544 canceled with stages
in 23 seconds
...@@ -5,14 +5,14 @@ register_graphql_production: ...@@ -5,14 +5,14 @@ register_graphql_production:
- tags - tags
variables: variables:
NODE_ENV: production NODE_ENV: production
APOLLO_KEY: ${APOLLO_KEY} # APOLLO_KEY: ${APOLLO_KEY}
dependencies: dependencies:
- build - build
# before_script: before_script:
# - npm i -g apollo - npm i -g apollo
# - npm i -g graphql - npm i -g graphql
script: script:
- npx -yes apollo service:push --key="${APOLLO_KEY}" - apollo service:push --key="${APOLLO_KEY}"
--serviceName="${CI_PROJECT_NAME}" --serviceRevision="${CI_COMMIT_TAG}" --serviceName="${CI_PROJECT_NAME}" --serviceRevision="${CI_COMMIT_TAG}"
--serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql" --serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql"
--localSchemaFile=src/schema.gql --tag=${NODE_ENV} --localSchemaFile=src/schema.gql --tag=${NODE_ENV}
...@@ -23,15 +23,14 @@ register_graphql_staging: ...@@ -23,15 +23,14 @@ register_graphql_staging:
- master - master
variables: variables:
NODE_ENV: staging NODE_ENV: staging
APOLLO_KEY: ${APOLLO_KEY} # APOLLO_KEY: ${APOLLO_KEY}
CI_DEBUG_TRACE: "true"
dependencies: dependencies:
- build - build
# before_script: before_script:
# - npm i -g apollo - npm i -g apollo
# - npm i -g graphql - npm i -g graphql
script: script:
- npx -yes apollo service:push --key="${APOLLO_KEY}" - apollo service:push --key="${APOLLO_KEY}"
--serviceName="${CI_PROJECT_NAME}" --serviceName="${CI_PROJECT_NAME}"
--serviceRevision="${CI_COMMIT_REF_SLUG}" --serviceRevision="${CI_COMMIT_REF_SLUG}"
--serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql" --serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql"
......
Supports Markdown
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