Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
43b0f7a1
Commit
43b0f7a1
authored
Aug 20, 2015
by
bobbyrullo
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #75 from bobbyrullo/docker_is_fun
go-docker: support functional tests
parents
5f4fa642
91b900db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
go-docker
go-docker
+6
-1
test-functional
test-functional
+1
-1
No files found.
go-docker
View file @
43b0f7a1
...
@@ -17,5 +17,10 @@ for VAR in ${DOCKER_ENV//,/ }; do
...
@@ -17,5 +17,10 @@ for VAR in ${DOCKER_ENV//,/ }; do
ENV_STR
=
"
$ENV_STR
-e
$VAR
=
${
!VAR
}
"
ENV_STR
=
"
$ENV_STR
-e
$VAR
=
${
!VAR
}
"
done
done
LINKS_STR
=
""
for
VAR
in
${
DOCKER_LINKS
//,/
}
;
do
LINKS_STR
=
"
$LINKS_STR
--link
$VAR
"
done
echo
"running with docker, might take a while to pull the image..."
echo
"running with docker, might take a while to pull the image..."
docker run
$
ENV_STR
--rm
--net
=
host
-v
`
pwd
`
:/go/src/
$REPO
-w
/go/src/
$REPO
quay.io/coreos/go-builder:1.3.3
$@
docker run
$
LINKS_STR
$ENV_STR
--rm
-v
`
pwd
`
:/go/src/
$REPO
-w
/go/src/
$REPO
quay.io/coreos/go-builder:1.3.3
$@
test-functional
View file @
43b0f7a1
#!/bin/bash -e
#!/bin/bash -e
source
./build
source
./build
go
test
$@
github.com/coreos/dex/functional
go
test
$@
github.com/coreos/dex/functional
go
test
$@
github.com/coreos/dex/functional/repo
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