Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
oetzit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
commul
oetzit
Commits
55236205
Commit
55236205
authored
2 years ago
by
Paolo Brasolin
Browse files
Options
Downloads
Patches
Plain Diff
chore: improve ci env var naming
parent
b130d321
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#24044
failed
2 years ago
Stage: setup
Stage: check
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
55236205
...
@@ -120,7 +120,7 @@ prd-build-fe-node-job:
...
@@ -120,7 +120,7 @@ prd-build-fe-node-job:
variables
:
variables
:
NODE_ENV
:
production
NODE_ENV
:
production
APP_VERSION
:
${CI_COMMIT_TAG}
APP_VERSION
:
${CI_COMMIT_TAG}
ROLLBAR_ACCESS_TOKEN
:
$POST_CLIENT_ITEM_ACCESS_TOKEN
ROLLBAR_ACCESS_TOKEN
:
$POST_CLIENT_ITEM_
ROLLBAR_
ACCESS_TOKEN
script
:
script
:
-
npm run build -- --out-dir dist/prd
-
npm run build -- --out-dir dist/prd
artifacts
:
artifacts
:
...
@@ -136,7 +136,7 @@ stg-build-fe-node-job:
...
@@ -136,7 +136,7 @@ stg-build-fe-node-job:
variables
:
variables
:
NODE_ENV
:
staging
NODE_ENV
:
staging
APP_VERSION
:
${CI_COMMIT_SHORT_SHA}
APP_VERSION
:
${CI_COMMIT_SHORT_SHA}
ROLLBAR_ACCESS_TOKEN
:
$POST_CLIENT_ITEM_ACCESS_TOKEN
ROLLBAR_ACCESS_TOKEN
:
$POST_CLIENT_ITEM_
ROLLBAR_
ACCESS_TOKEN
script
:
script
:
-
npm run build -- --out-dir dist/stg
-
npm run build -- --out-dir dist/stg
artifacts
:
artifacts
:
...
@@ -169,7 +169,7 @@ build-be-job:
...
@@ -169,7 +169,7 @@ build-be-job:
--tag=$IMAGE_NAME:${CI_COMMIT_REF_NAME}
--tag=$IMAGE_NAME:${CI_COMMIT_REF_NAME}
--tag=$IMAGE_NAME:${CI_COMMIT_TAG:-latest}
--tag=$IMAGE_NAME:${CI_COMMIT_TAG:-latest}
--build-arg APP_VERSION=${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}
--build-arg APP_VERSION=${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}
--build-arg ROLLBAR_ACCESS_TOKEN=$POST_SERVER_ITEM_ACCESS_TOKEN
--build-arg ROLLBAR_ACCESS_TOKEN=$POST_SERVER_ITEM_
ROLLBAR_
ACCESS_TOKEN
backend
backend
-
docker image push --all-tags $IMAGE_NAME
-
docker image push --all-tags $IMAGE_NAME
only
:
only
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment