Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Docker
Images
Commits
780f0a57
Commit
780f0a57
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Slim image for WP.org plugin deploys
parent
7b614b29
Branches
Branches containing commit
No related tags found
1 merge request
!12
Introduce slim image for WP.org plugin deploys
Pipeline
#850
passed with warnings
6 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+20
-2
20 additions, 2 deletions
.gitlab-ci.yml
debian/wp-org-deploy/Dockerfile
+16
-0
16 additions, 0 deletions
debian/wp-org-deploy/Dockerfile
with
36 additions
and
2 deletions
.gitlab-ci.yml
+
20
−
2
View file @
780f0a57
...
@@ -49,7 +49,7 @@ build-golang-dev:
...
@@ -49,7 +49,7 @@ build-golang-dev:
except
:
except
:
-
master
-
master
# Debian
Stretch
builds
# Debian
Busters
builds
build-debian-buster-build-master
:
build-debian-buster-build-master
:
stage
:
deploy
stage
:
deploy
script
:
script
:
...
@@ -66,7 +66,7 @@ build-debian-buster-build-dev:
...
@@ -66,7 +66,7 @@ build-debian-buster-build-dev:
-
docker push "$CI_REGISTRY_IMAGE/debian:buster-dev"
-
docker push "$CI_REGISTRY_IMAGE/debian:buster-dev"
except
:
except
:
-
master
-
master
# Debian Stretch builds
# Debian Stretch builds
build-debian-stretch-build-master
:
build-debian-stretch-build-master
:
stage
:
deploy
stage
:
deploy
...
@@ -103,6 +103,24 @@ build-debian-jessie-build-dev:
...
@@ -103,6 +103,24 @@ build-debian-jessie-build-dev:
except
:
except
:
-
master
-
master
# Debian WP.org Plugin deploy builds
build-debian-wp-org-deploy-build-master
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/debian:wp-org-deploy" ./debian/wp-org-deploy
-
docker push "$CI_REGISTRY_IMAGE/debian:wp-org-deploy"
only
:
-
master
when
:
manual
build-debian-wp-org-deploy-build-dev
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/debian:wp-org-deploy-dev" ./debian/wp-org-deploy
-
docker push "$CI_REGISTRY_IMAGE/debian:wp-org-deploy-dev"
except
:
-
master
# PHP 7.3
# PHP 7.3
build-php-7.3-master
:
build-php-7.3-master
:
stage
:
deploy
stage
:
deploy
...
...
This diff is collapsed.
Click to expand it.
debian/wp-org-deploy/Dockerfile
0 → 100644
+
16
−
0
View file @
780f0a57
FROM
debian:stretch-slim
LABEL
maintainer="ethitter"
LABEL
version="1.0"
RUN
echo
"deb http://security.debian.org/ stretch/updates main"
>>
/etc/apt/sources.list
RUN
apt-get update
\
&&
apt-get
-y
--no-install-recommends
install
\
ca-certificates
\
curl
\
git
\
rsync
\
subversion
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
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