Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
DevOps
Project Templates
Commits
075324a7
Commit
075324a7
authored
Aug 16, 2021
by
Georgi Petkov
Browse files
chore: replacing ENGINE_API_KEY with APOLLO_KEY
parent
fc007da0
Pipeline
#31324
passed with stages
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gitlab-ci/register-graphql.yml
View file @
075324a7
...
...
@@ -5,13 +5,13 @@ register_graphql_production:
-
tags
variables
:
NODE_ENV
:
production
ENGINE_API_KEY
:
${ENGINE_API
_KEY}
APOLLO_KEY
:
${APOLLO
_KEY}
dependencies
:
-
build
before_script
:
-
npm install -g apollo
script
:
-
apollo service:push --key="${
ENGINE_API
_KEY}"
-
apollo service:push --key="${
APOLLO
_KEY}"
--serviceName="${CI_PROJECT_NAME}" --serviceRevision="${CI_COMMIT_TAG}"
--serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql"
--localSchemaFile=src/schema.gql --tag=${NODE_ENV}
...
...
@@ -22,13 +22,13 @@ register_graphql_staging:
-
master
variables
:
NODE_ENV
:
staging
ENGINE_API_KEY
:
${ENGINE_API
_KEY}
APOLLO_KEY
:
${APOLLO
_KEY}
dependencies
:
-
build
before_script
:
-
npm install -g apollo
script
:
-
apollo service:push --key="${
ENGINE_API
_KEY}"
-
apollo service:push --key="${
APOLLO
_KEY}"
--serviceName="${CI_PROJECT_NAME}"
--serviceRevision="${CI_COMMIT_REF_SLUG}"
--serviceURL="http://${CI_PROJECT_PATH_SLUG}.${CI_PROJECT_NAMESPACE}:${APP_PORT}/graphql"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment