Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Testsuite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
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
Feneas
federation
Testsuite
Commits
e7baa735
Commit
e7baa735
authored
Sep 17, 2019
by
zauberstuhl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve build performance by removing installation steps
parent
20826307
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
+19
-6
.gitlab-ci.yml
.gitlab-ci.yml
+1
-6
Dockerfile
Dockerfile
+18
-0
No files found.
.gitlab-ci.yml
View file @
e7baa735
image
:
debian
image
:
registry.git.feneas.org/feneas/federation/testsuite:latest
stages
:
-
build
-
test
...
...
@@ -11,8 +11,6 @@ stages:
junit
:
report.xml
paths
:
-
report.*
before_script
:
-
bash scripts/install.sh
script
:
-
bash scripts/test.sh
...
...
@@ -23,9 +21,6 @@ stages:
build docker images
:
stage
:
build
before_script
:
-
apt-get update && apt-get install -y curl
-
curl -L https://get.docker.com | bash -
script
:
-
bash scripts/build_docker_image.sh
only
:
...
...
scripts/install.sh
→
Dockerfile
100755 → 100644
View file @
e7baa735
#!/bin/bash
FROM
debian
# install curl, git and the psql client
apt-get update
&&
apt-get
install
-y
\
RUN
apt-get update
&&
apt-get
install
-y
\
curl git-core postgresql-client libxml-generator-perl
# install docker binary
curl
-L
https://get.docker.com | bash -
RUN
curl
-L
https://get.docker.com | bash -
# install jq command line json parser
curl
-o
/usr/local/bin/jq
-L
\
RUN
curl
-o
/usr/local/bin/jq
-L
\
https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
chmod
+x /usr/local/bin/jq
RUN
chmod
+x /usr/local/bin/jq
# install bats unit testing in bash
git clone
--depth
1 https://github.com/bats-core/bats-core.git
cd
bats-core
&&
./install.sh /usr/local
&&
cd
-
RUN
git clone
--depth
1 https://github.com/bats-core/bats-core.git
\
&&
cd
bats-core
\
&&
./install.sh /usr/local
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