Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Show more breadcrumbs
Pleroma
admin-fe
Commits
5cb4756e
Commit
5cb4756e
authored
2 years ago
by
Haelwenn
Browse files
Options
Downloads
Plain Diff
Merge branch 'ci-disable-docker' into 'develop'
CI: Disable docker See merge request
!290
parents
aef1a701
d1c054a3
No related branches found
Branches containing commit
No related tags found
1 merge request
!290
CI: Disable docker
Pipeline
#41894
passed
2 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-49
1 addition, 49 deletions
.gitlab-ci.yml
with
1 addition
and
49 deletions
.gitlab-ci.yml
+
1
−
49
View file @
5cb4756e
...
...
@@ -14,7 +14,6 @@ cache: &global_cache_policy
stages
:
-
build
-
test
-
release
build
:
stage
:
build
...
...
@@ -46,51 +45,4 @@ test:
key
:
'
$CI_COMMIT_SHORT_SHA'
policy
:
pull
script
:
-
yarn test
docker
:
stage
:
release
image
:
docker:latest
cache
:
{}
dependencies
:
[]
variables
:
&docker-variables
IMAGE_TAG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
IMAGE_TAG_SLUG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
IMAGE_TAG_LATEST
:
$CI_REGISTRY_IMAGE:latest
IMAGE_TAG_LATEST_STABLE
:
$CI_REGISTRY_IMAGE:stable
before_script
:
&before-docker
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker pull $IMAGE_TAG_SLUG ||
true
-
export CI_JOB_TIMESTAMP=$(date --utc -Iseconds)
-
export CI_VCS_REF=$CI_COMMIT_SHORT_SHA
allow_failure
:
true
script
:
-
docker build --cache-from $IMAGE_TAG_SLUG --build-arg VCS_REF=$CI_VCS_REF --build-arg BUILD_DATE=$CI_JOB_TIMESTAMP -t $IMAGE_TAG -t $IMAGE_TAG_SLUG -t $IMAGE_TAG_LATEST .
-
docker push $IMAGE_TAG
-
docker push $IMAGE_TAG_SLUG
-
docker push $IMAGE_TAG_LATEST
tags
:
-
dind
only
:
-
develop@pleroma/admin-fe
-
/^(features|ci)\/.*/@jp/admin-fe
docker-stable
:
stage
:
release
image
:
docker:latest
cache
:
{}
dependencies
:
[]
variables
:
*docker-variables
before_script
:
*before-docker
allow_failure
:
true
script
:
-
docker build --cache-from $IMAGE_TAG_SLUG --build-arg VCS_REF=$CI_VCS_REF --build-arg BUILD_DATE=$CI_JOB_TIMESTAMP -t $IMAGE_TAG -t $IMAGE_TAG_SLUG -t $IMAGE_TAG_LATEST_STABLE .
-
docker push $IMAGE_TAG
-
docker push $IMAGE_TAG_SLUG
-
docker push $IMAGE_TAG_LATEST_STABLE
tags
:
-
dind
only
:
-
stable@pleroma/admin-fe
-
yarn test
\ No newline at end of file
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