Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gitlab-runner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
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
Lars Seipel
gitlab-runner
Commits
3de15c0c
Unverified
Commit
3de15c0c
authored
8 years ago
by
Tomasz Maczukin
Browse files
Options
Downloads
Patches
Plain Diff
Refactor .gitlab-ci.yml and ci/prepare
parent
5d2195dd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-11
4 additions, 11 deletions
.gitlab-ci.yml
ci/prepare
+3
-0
3 additions, 0 deletions
ci/prepare
with
7 additions
and
11 deletions
.gitlab-ci.yml
+
4
−
11
View file @
3de15c0c
...
...
@@ -64,11 +64,8 @@ binaries:
packages
:
stage
:
package
before_script
:
-
source ci/prepare
-
apt-get update -yqqq
-
apt-get install -yqqq ruby ruby-dev python-pip dpkg-sig createrepo rpm locales
script
:
-
apt-get install -yqqq ruby ruby-dev python-pip dpkg-sig createrepo rpm
-
make package
artifacts
:
paths
:
...
...
@@ -80,21 +77,18 @@ development:
stage
:
deploy
script
:
-
make s3-upload "S3_UPLOAD_PATH=$CI_BUILD_REF_NAME"
except
:
-
master@gitlab-org/gitlab-ci-multi-runner
only
:
-
branches@gitlab-org/gitlab-ci-multi-runner
except
:
-
master@gitlab-org/gitlab-ci-multi-runner
tags
:
-
deploy
environment
:
bleeding_edge
bleeding
:
stage
:
deploy
before_script
:
-
source ci/prepare
-
apt-get update -yqqq
-
apt-get install -yqqq ruby-dev
script
:
-
apt-get install -yqqq ruby-dev
-
make s3-upload "S3_UPLOAD_PATH=$CI_BUILD_REF_NAME"
-
make packagecloud "PACKAGE_CLOUD=runner/unstable" DEB_PLATFORMS="debian/jessie ubuntu/trusty" RPM_PLATFORMS="el/7 fedora/23"
only
:
...
...
@@ -108,7 +102,6 @@ stable:
script
:
-
make s3-upload "S3_UPLOAD_PATH=$CI_BUILD_REF_NAME"
-
make s3-upload "S3_UPLOAD_PATH=latest"
-
apt-get update -yqqq
-
apt-get install -yqqq ruby-dev
-
make packagecloud
only
:
...
...
This diff is collapsed.
Click to expand it.
ci/prepare
+
3
−
0
View file @
3de15c0c
...
...
@@ -4,6 +4,9 @@ mkdir -p "$(dirname "$GODIR")"
ln -sfv "$(pwd -P)" "$GODIR"
cd "$GODIR"
apt-get update -yqqq >/dev/null
apt-get install -yqqq locales >/dev/null
# Set default locale for the environment
echo "en_US UTF-8" > /etc/locale.gen
locale-gen en_US.UTF-8
...
...
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