Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
docker-runas-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
docker-runas-test
Commits
745208a0
Commit
745208a0
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Migrate from Travis to GitLab CI.
parent
a1323d03
No related branches found
No related tags found
No related merge requests found
Pipeline
#265
failed
4 years ago
Stage: test
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+7
-0
7 additions, 0 deletions
.gitlab-ci.yml
.travis.yml
+0
-14
0 additions, 14 deletions
.travis.yml
README.md
+2
-2
2 additions, 2 deletions
README.md
test.bats
+0
-2
0 additions, 2 deletions
test.bats
with
9 additions
and
18 deletions
.gitlab-ci.yml
0 → 100644
+
7
−
0
View file @
745208a0
---
test
:
image
:
alpine:3.12
before_script
:
-
apk add --update docker bats
script
:
-
bats .
This diff is collapsed.
Click to expand it.
.travis.yml
deleted
100644 → 0
+
0
−
14
View file @
a1323d03
---
language
:
c
dist
:
trusty
sudo
:
false
group
:
beta
services
:
-
docker
script
:
-
bats test.bats
notifications
:
email
:
false
on_failure
:
never
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
745208a0
# Docker runas test
# Docker runas test
[

](https://travis-ci.org/adar
nimrod/docker-runas-test
)
[

](https://git.shore.co.il/
nimrod/docker-runas-test
/-/commits/master)
> A test suite for the runas Docker entrypoint.
> A test suite for the runas Docker entrypoint.
See
[
here
](
https://www.shore.co.il/blog/docker_uid/
)
for more info.
See
[
here
](
https://www.shore.co.il/blog/docker_uid/
)
for more info.
...
@@ -25,4 +25,4 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
...
@@ -25,4 +25,4 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
Nimrod Adar,
[
contact me
](
mailto:nimrod@shore.co.il
)
or visit my
[
website
](
Nimrod Adar,
[
contact me
](
mailto:nimrod@shore.co.il
)
or visit my
[
website
](
https://www.shore.co.il/
)
. Patches are welcome via
[
`git send-email`
](
https://www.shore.co.il/
)
. Patches are welcome via
[
`git send-email`
](
http://git-scm.com/book/en/v2/Git-Commands-Email
)
. The repository is located
http://git-scm.com/book/en/v2/Git-Commands-Email
)
. The repository is located
at:
<https://
www
.shore.co.il/
git
/>
.
at:
<https://
git
.shore.co.il/
explore
/>
.
This diff is collapsed.
Click to expand it.
test.bats
100755 → 100644
+
0
−
2
View file @
745208a0
#!/usr/bin/env bats
_test_root () {
_test_root () {
name="${1:-$BATS_TEST_DESCRIPTION}"
name="${1:-$BATS_TEST_DESCRIPTION}"
tag="${2:-latest}"
tag="${2:-latest}"
...
...
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