-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preliminary PostgreSQL 9.2, 9.3 and 9.6 support.
- Loading branch information
Showing
16 changed files
with
238 additions
and
23 deletions.
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,3 +1,4 @@ | ||
collector | ||
pganalyze-collector | ||
packages/tmp | ||
test/*.json |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM postgres:9.2 | ||
ADD test/postgres-pgss.sh /docker-entrypoint-initdb.d/ | ||
|
||
ENV GOPATH /go | ||
ENV CODE_DIR $GOPATH/src/github.com/pganalyze/collector | ||
ENV PATH $PATH:/usr/local/go/bin | ||
|
||
# Packages required for both building and packaging | ||
RUN apt-get update -qq && apt-get install -y -q build-essential git curl | ||
|
||
# Golang | ||
RUN curl -o go.tar.gz -sSL "https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz" | ||
RUN tar -C /usr/local -xzf go.tar.gz | ||
|
||
# Build the collector | ||
COPY . $CODE_DIR | ||
WORKDIR $CODE_DIR | ||
RUN make prepare && make build |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM postgres:9.3 | ||
ADD test/postgres-pgss.sh /docker-entrypoint-initdb.d/ | ||
|
||
ENV GOPATH /go | ||
ENV CODE_DIR $GOPATH/src/github.com/pganalyze/collector | ||
ENV PATH $PATH:/usr/local/go/bin | ||
|
||
# Packages required for both building and packaging | ||
RUN apt-get update -qq && apt-get install -y -q build-essential git curl | ||
|
||
# Golang | ||
RUN curl -o go.tar.gz -sSL "https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz" | ||
RUN tar -C /usr/local -xzf go.tar.gz | ||
|
||
# Build the collector | ||
COPY . $CODE_DIR | ||
WORKDIR $CODE_DIR | ||
RUN make prepare && make build |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM postgres:9.4 | ||
ADD test/postgres-pgss.sh /docker-entrypoint-initdb.d/ | ||
|
||
ENV GOPATH /go | ||
ENV CODE_DIR $GOPATH/src/github.com/pganalyze/collector | ||
ENV PATH $PATH:/usr/local/go/bin | ||
|
||
# Packages required for both building and packaging | ||
RUN apt-get update -qq && apt-get install -y -q build-essential git curl | ||
|
||
# Golang | ||
RUN curl -o go.tar.gz -sSL "https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz" | ||
RUN tar -C /usr/local -xzf go.tar.gz | ||
|
||
# Build the collector | ||
COPY . $CODE_DIR | ||
WORKDIR $CODE_DIR | ||
RUN make prepare && make build |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM postgres:9.5 | ||
ADD test/postgres-pgss.sh /docker-entrypoint-initdb.d/ | ||
|
||
ENV GOPATH /go | ||
ENV CODE_DIR $GOPATH/src/github.com/pganalyze/collector | ||
ENV PATH $PATH:/usr/local/go/bin | ||
|
||
# Packages required for both building and packaging | ||
RUN apt-get update -qq && apt-get install -y -q build-essential git curl | ||
|
||
# Golang | ||
RUN curl -o go.tar.gz -sSL "https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz" | ||
RUN tar -C /usr/local -xzf go.tar.gz | ||
|
||
# Build the collector | ||
COPY . $CODE_DIR | ||
WORKDIR $CODE_DIR | ||
RUN make prepare && make build |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM postgres:9.6 | ||
ADD test/postgres-pgss.sh /docker-entrypoint-initdb.d/ | ||
|
||
ENV GOPATH /go | ||
ENV CODE_DIR $GOPATH/src/github.com/pganalyze/collector | ||
ENV PATH $PATH:/usr/local/go/bin | ||
|
||
# Packages required for both building and packaging | ||
RUN apt-get update -qq && apt-get install -y -q build-essential git curl | ||
|
||
# Golang | ||
RUN curl -o go.tar.gz -sSL "https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz" | ||
RUN tar -C /usr/local -xzf go.tar.gz | ||
|
||
# Build the collector | ||
COPY . $CODE_DIR | ||
WORKDIR $CODE_DIR | ||
RUN make prepare && make build |
Oops, something went wrong.