Skip to content
Snippets Groups Projects
Commit 745208a0 authored by nimrod's avatar nimrod
Browse files

Migrate from Travis to GitLab CI.

parent a1323d03
No related branches found
No related tags found
No related merge requests found
Pipeline #265 failed
---
test:
image: alpine:3.12
before_script:
- apk add --update docker bats
script:
- bats .
---
language: c
dist: trusty
sudo: false
group: beta
services:
- docker
script:
- bats test.bats
notifications:
email: false
on_failure: never
# Docker runas test # Docker runas test
[![Build Status](https://travis-ci.org/adarnimrod/docker-runas-test.svg?branch=master)](https://travis-ci.org/adarnimrod/docker-runas-test) [![pipeline status](https://git.shore.co.il/nimrod/docker-runas-test/badges/master/pipeline.svg)](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/>.
test.bats 100755 → 100644
#!/usr/bin/env bats
_test_root () { _test_root () {
name="${1:-$BATS_TEST_DESCRIPTION}" name="${1:-$BATS_TEST_DESCRIPTION}"
tag="${2:-latest}" tag="${2:-latest}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment