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
ed1fb545
Commit
ed1fb545
authored
10 years ago
by
Kamil Trzcinski
Browse files
Options
Downloads
Patches
Plain Diff
Upload artefacts to S3
parent
0e50b6e5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+45
-9
45 additions, 9 deletions
.travis.yml
Makefile
+8
-4
8 additions, 4 deletions
Makefile
install.sh
+4
-0
4 additions, 0 deletions
install.sh
with
57 additions
and
13 deletions
.travis.yml
+
45
−
9
View file @
ed1fb545
...
...
@@ -18,19 +18,55 @@ before_deploy:
-
make toolchain
-
make build
-
make package
-
make packagecloud
-
'
[[
-z
"$TRAVIS_TAG"
]]
||
make
packagecloud
'
deploy
:
provider
:
releases
-
provider
:
releases
api_key
:
secure
:
WBb1z0GV1uD8pB/UMDVqiqIFHcgxl2fngF9Qg8Obe0IJIuBN8ak4H1ulYKYcRgguJjefMG/OnPT2xHCsSme+OanxBcGDiYijG1vVmBqnMV8wTK5ulqkgSz7QVH4oCmdqd8WnHKqqqXmLUARRAUkvKFDCf2mq6qyAy+wKw7jPluI=
file
:
-
out/gitlab-ci-multi-runner-linux-arm
-
out/gitlab-ci-multi-runner-linux-386
-
out/gitlab-ci-multi-runner-linux-amd64
-
out/gitlab-ci-multi-runner-darwin-386
-
out/gitlab-ci-multi-runner-darwin-amd64
-
out/gitlab-ci-multi-runner-windows-386.exe
-
out/gitlab-ci-multi-runner-windows-amd64.exe
-
out/binaries/gitlab-ci-multi-runner-linux-arm
-
out/binaries/gitlab-ci-multi-runner-linux-386
-
out/binaries/gitlab-ci-multi-runner-linux-amd64
-
out/binaries/gitlab-ci-multi-runner-darwin-386
-
out/binaries/gitlab-ci-multi-runner-darwin-amd64
-
out/binaries/gitlab-ci-multi-runner-windows-386.exe
-
out/binaries/gitlab-ci-multi-runner-windows-amd64.exe
on
:
repo
:
ayufan/gitlab-ci-multi-runner
tags
:
true
-
provider
:
s3
access_key_id
:
$S3_ACCESS_KEY
secret_access_key
:
$S3_SECRET_ACCESS_KEY
bucket
:
repo.ayufan.eu
region
:
eu-west-1
skip_cleanup
:
true
acl
:
public_read
local_dir
:
out/
upload_dir
:
gitlab-ci-multi-runner/master
on
:
repo
:
ayufan/gitlab-ci-multi-runner
branch
:
master
-
provider
:
s3
access_key_id
:
$S3_ACCESS_KEY
secret_access_key
:
$S3_SECRET_ACCESS_KEY
bucket
:
repo.ayufan.eu
region
:
eu-west-1
skip_cleanup
:
true
acl
:
public_read
local_dir
:
out/
upload_dir
:
gitlab-ci-multi-runner/$TRAVIS_TAG
on
:
repo
:
ayufan/gitlab-ci-multi-runner
tags
:
true
-
provider
:
s3
access_key_id
:
$S3_ACCESS_KEY
secret_access_key
:
$S3_SECRET_ACCESS_KEY
bucket
:
repo.ayufan.eu
region
:
eu-west-1
skip_cleanup
:
true
acl
:
public_read
local_dir
:
out/
upload_dir
:
gitlab-ci-multi-runner/latest
on
:
repo
:
ayufan/gitlab-ci-multi-runner
tags
:
true
This diff is collapsed.
Click to expand it.
Makefile
+
8
−
4
View file @
ed1fb545
...
...
@@ -33,7 +33,7 @@ toolchain:
build
:
version
# Building gitlab-ci-multi-runner for
$(
BUILD_PLATFORMS
)
gox
$(
BUILD_PLATFORMS
)
-output
=
"out/{{.Dir}}-{{.OS}}-{{.Arch}}"
gox
$(
BUILD_PLATFORMS
)
-output
=
"out/
binaries/
{{.Dir}}-{{.OS}}-{{.Arch}}"
lint
:
# Checking project code style...
...
...
@@ -59,7 +59,11 @@ version: FORCE
# Generating VERSION...
echo
"package commands
\n\n
const VERSION =
\"
$(
VERSION
)
(
$(
REVISION
)
)
\"\n
const REVISION =
\"
$(
REVISION
)
\"
"
>
commands/version.go
package
:
package-deps package-deb package-rpm
package
:
package-deps package-deb package-rpm package-script
package-script
:
cp
install.sh out/
[[
-n
"
$TRAVIS_TAG
"
]]
||
sed
"s|/latest/|/master/|g"
install.sh
>
out/install.sh
package-deb
:
# Building Debian compatible packages...
...
...
@@ -89,7 +93,7 @@ package-deb-fpm:
--license
"MIT"
\
--vendor
"ayufan.eu"
\
-a
$(
ARCH
)
\
out/gitlab-ci-multi-runner-linux-
$(
ARCH
)
=
/usr/bin/gitlab-ci-multi-runner
out/
binaries/
gitlab-ci-multi-runner-linux-
$(
ARCH
)
=
/usr/bin/gitlab-ci-multi-runner
package-rpm-fpm
:
@
mkdir
-p
out/rpm/
...
...
@@ -105,7 +109,7 @@ package-rpm-fpm:
--license
"MIT"
\
--vendor
"ayufan.eu"
\
-a
$(
ARCH
)
\
out/gitlab-ci-multi-runner-linux-
$(
ARCH
)
=
/usr/bin/gitlab-ci-multi-runner
out/
binaries/
gitlab-ci-multi-runner-linux-
$(
ARCH
)
=
/usr/bin/gitlab-ci-multi-runner
packagecloud
:
packagecloud-deps packagecloud-deb packagecloud-rpm
...
...
This diff is collapsed.
Click to expand it.
install.sh
0 → 100755
+
4
−
0
View file @
ed1fb545
#!/bin/bash
echo
"Not yet supported"
exit
1
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