Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Aqua Trainer
frontend
Commits
f03a7ae0
Commit
f03a7ae0
authored
5 months ago
by
Rodion Kotov
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into feature/managment-of-trainings
parents
7c11c552
44cd8355
Branches
Branches containing commit
Tags
v5.0.4
2 merge requests
!7
AQUAT-144 Обновление stable стенда до версии V5.0
,
!6
Version 5.0: Trainings viewer and trainings creation functionality
Pipeline
#1051
passed with stages
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-4
.gitlab-ci.yml
with
9 additions
and
4 deletions
.gitlab-ci.yml
+
9
−
4
View file @
f03a7ae0
...
...
@@ -10,6 +10,9 @@ variables:
before_script
:
-
nodejs --version
-
export VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))
-
echo "Using VERSION"
-
echo $VERSION
-
chmod +x deploy/scripts/download_secret_file.sh
build-dist
:
...
...
@@ -19,6 +22,8 @@ build-dist:
script
:
-
yarn
-
yarn build
only
:
-
tags
artifacts
:
paths
:
-
dist/*
...
...
@@ -29,10 +34,10 @@ build-image:
tags
:
-
build
script
:
-
docker buildx build --tag $BASE_IMAGE_FRONTEND_NAME:
latest
.
-
docker push $BASE_IMAGE_FRONTEND_NAME:
latest
-
docker buildx build --tag $BASE_IMAGE_FRONTEND_NAME:
$VERSION
.
-
docker push $BASE_IMAGE_FRONTEND_NAME:
$VERSION
only
:
-
main
-
tags
needs
:
-
job
:
build-dist
artifacts
:
true
...
...
@@ -43,6 +48,6 @@ deploy-beta:
-
deploy
script
:
-
./deploy/scripts/download_secret_file.sh beta.env $CI_PROJECT_ID $CI_JOB_TOKEN
-
FRONTEND_VERSION=
latest
docker compose -f deploy/docker-compose-beta.yaml --env-file beta.env up -d --force-recreate --no-deps
-
FRONTEND_VERSION=
$VERSION
docker compose -f deploy/docker-compose-beta.yaml --env-file beta.env up -d --force-recreate --no-deps
only
:
-
main
This diff is collapsed.
Click to expand it.
Preview
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets