Skip to content

Commit 71eac2b

Browse files
Merge pull request #1 from yamamoto-febc/init
Initial implements
2 parents 6f9c663 + 33fad8b commit 71eac2b

File tree

3,252 files changed

+1009807
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,252 files changed

+1009807
-0
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.env
2+
bin/
3+
test/

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bin/
2+
test/
3+
/**/.terraform*
4+
/**/terraform.tfstate*

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: go
2+
go: "1.10"
3+
4+
install:
5+
- make tools
6+
7+
script:
8+
- make test build-x

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM golang:1.10 as builder
2+
LABEL maintainer="Kazumichi Yamamoto <[email protected]>"
3+
MAINTAINER Kazumichi Yamamoto <[email protected]>
4+
5+
RUN apt-get update && apt-get -y install bash git make zip && apt-get clean && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
6+
7+
RUN go get -u github.com/motemen/gobump/cmd/gobump
8+
9+
ADD . /go/src/github.com/yamamoto-febc/terraform-provider-rke
10+
WORKDIR /go/src/github.com/yamamoto-febc/terraform-provider-rke
11+
RUN make build
12+
###
13+
14+
FROM hashicorp/terraform:0.11.5
15+
MAINTAINER Kazumichi Yamamoto <[email protected]>
16+
LABEL MAINTAINER 'Kazumichi Yamamoto <[email protected]>'
17+
18+
RUN set -x && apk add --no-cache --update ca-certificates
19+
RUN mkdir -p /root/.terraform.d/plugins
20+
COPY --from=builder /go/src/github.com/yamamoto-febc/terraform-provider-rke/bin/* /root/.terraform.d/plugins/

0 commit comments

Comments
 (0)