Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
typo3-utilities
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
docker
typo3-utilities
Commits
a07228a8
Commit
a07228a8
authored
Mar 23, 2020
by
Pascal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] Update gitlab-ci
parent
6f66cdf1
Pipeline
#392
waiting for manual action with stages
in 8 minutes and 11 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
26 deletions
+23
-26
.gitlab-ci.yml
.gitlab-ci.yml
+23
-26
No files found.
.gitlab-ci.yml
View file @
a07228a8
...
...
@@ -11,7 +11,8 @@ variables:
DOCKER_DRIVER
:
overlay2
DOCKER_REGISTRY
:
docker-registry.kronova.net
DOCKER_TLS_CERTDIR
:
"
"
CONTAINER_TEST_IMAGE
:
docker-registry.kronova.net/docker/typo3-utilities:latest
CONTAINER_TEST_IMAGE
:
docker-registry.kronova.net/docker/typo3-utilities:$CI_COMMIT_BRANCH
CONTAINER_DOCKERHUB_BRANCH
:
kronova/typo3-utilities:$CI_COMMIT_BRANCH
CONTAINER_DOCKERHUB_LATEST
:
kronova/typo3-utilities
CONTAINER_DOCKERHUB_TAG
:
kronova/typo3-utilities:$CI_COMMIT_TAG
...
...
@@ -36,6 +37,10 @@ build:
-
docker save $CONTAINER_TEST_IMAGE -o ./.build/image.tar
only
:
-
master
-
/^php-.*$/
-
/^typo3-.*$/
except
:
-
tags
.test
:
stage
:
test
...
...
@@ -45,31 +50,8 @@ build:
only
:
-
master
test-php
:
extends
:
.test
script
:
-
docker load < ./.build/image.tar ||
true
-
docker run $CONTAINER_TEST_IMAGE php -v
test-typo3_8
:
extends
:
.test
script
:
-
docker run $CONTAINER_TEST_IMAGE composer require typo3/minimal '^8'
test-typo3_9
:
extends
:
.test
script
:
-
docker run $CONTAINER_TEST_IMAGE composer require typo3/minimal '^9'
test-typo3_10
:
extends
:
.test
script
:
-
docker run $CONTAINER_TEST_IMAGE composer require typo3/minimal '^10'
test-imagemagick
:
extends
:
.test
script
:
-
docker run $CONTAINER_TEST_IMAGE convert -version
# TYPO3-Utilities specific tests
# other tests moved to kronova/typo3-php
test-rsync
:
stage
:
test
...
...
@@ -113,3 +95,18 @@ push-tag-on-dockerhub:
-
docker push $CONTAINER_DOCKERHUB_TAG
only
:
-
tags
push-branch-on-dockerhub
:
stage
:
release
before_script
:
[]
script
:
-
docker pull $CONTAINER_TEST_IMAGE
-
docker tag $CONTAINER_TEST_IMAGE $CONTAINER_DOCKERHUB_BRANCH
-
docker logout
-
echo "$REGISTRY_PASSWORD" | docker login --username "$REGISTRY_USER" --password-stdin
-
docker push $CONTAINER_DOCKERHUB_BRANCH
only
:
-
/^php-.*$/
-
/^typo3-.*$/
except
:
-
tags
\ No newline at end of file
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