Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai3
tools
tabacco
Commits
8883c878
Commit
8883c878
authored
Aug 06, 2018
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use curl to download restic in CI script
parent
c743d426
Pipeline
#1121
failed with stages
in 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.gitlab-ci.yml
.gitlab-ci.yml
+2
-0
install_restic_for_tests.sh
install_restic_for_tests.sh
+1
-1
No files found.
.gitlab-ci.yml
View file @
8883c878
...
...
@@ -11,6 +11,7 @@ test:
stage
:
test
image
:
"
ai/test:go"
script
:
-
"
apt-get
install
-qy
curl"
-
"
./install_restic_for_tests.sh"
-
"
go-test-runner
."
except
:
...
...
@@ -30,6 +31,7 @@ build:pkg:
stage
:
build_pkg
image
:
"
ai/build:stretch"
script
:
-
"
apt-get
install
-qy
curl"
-
"
./install_restic_for_tests.sh"
-
"
build-dsc"
dependencies
:
...
...
install_restic_for_tests.sh
View file @
8883c878
...
...
@@ -16,7 +16,7 @@ DOWNLOAD_URL="https://github.com/restic/restic/releases/download/v${RESTIC_VERSI
set
-e
wget
-O-
-nv
"
${
DOWNLOAD_URL
}
"
| bunzip2
-c
>
/usr/bin/restic
curl
-s
"
${
DOWNLOAD_URL
}
"
| bunzip2
-c
>
/usr/bin/restic
chmod
+x /usr/bin/restic
exit
0
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