This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
CI: Fix tests #40
Merged
Merged
CI: Fix tests #40
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
b946770
test: Fix tests - run test for all distros
jcvenegas a617dd8
dockerfiles: Add golang to centos anda euleros
jcvenegas 6dcaef7
fedora: use OS_VERSION instead of host version
jcvenegas 612754f
rootfs: Add support to create dockerfiles based on templates
jcvenegas 45d4e5f
travis: Wait more than 10 min
jcvenegas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
FROM centos:7 | ||
|
||
ADD https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz /tmp | ||
RUN tar -C /usr/ -xzf /tmp/go1.9.2.linux-amd64.tar.gz | ||
RUN yum install -y make | ||
ENV GOROOT=/usr/go | ||
ENV PATH=$PATH:$GOROOT/bin:$GOPATH/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
FROM euleros:2.2 | ||
|
||
ADD https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz /tmp | ||
RUN tar -C /usr/ -xzf /tmp/go1.9.2.linux-amd64.tar.gz | ||
RUN yum install -y make | ||
ENV GOROOT=/usr/go | ||
ENV PATH=$PATH:$GOROOT/bin:$GOPATH/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine, but we're hard-coding more into these
Dockerfile
's which is going to make them more difficult to maintain.I'd rather we fix #31 first (maybe as one of the commits on this PR) to avoid this. These 2 chunks of code are identical too which lends weight to doing that as you could add something like:
And,
Lastly, there is the issue of the version of golang. The CI systems for the various code repos are using go
1.8.3
so we're in danger of repeating clearcontainers/packaging#257.Could you create a top-level
./versions.txt
containing ago_version=
so that it's defined in a single location? It maybe be best to default to1.8.3
for now and raise an issue to discuss go version support separately.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is a good point, let me add Dockerfile templates.