Skip to content

Commit

Permalink
Triggering provazio controller instead of manually doing stuff (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedingber authored Nov 3, 2019
1 parent c75791a commit 04d02f1
Show file tree
Hide file tree
Showing 3 changed files with 390 additions and 103 deletions.
4 changes: 2 additions & 2 deletions autoscaler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY . .

RUN go get github.com/v3io/scaler-types \
&& cd $GOPATH/src/github.com/v3io/scaler-types \
&& git checkout v1.0.0 \
&& git checkout v1.1.0 \
&& cd /go/src/github.com/v3io/app_resourcescaler

RUN mkdir -p /home/app_resourcescaler/bin \
Expand All @@ -30,6 +30,6 @@ WORKDIR /home/app_resourcescaler
ENV PATH=/home/app_resourcescaler:$PATH

COPY --from=builder /home/app_resourcescaler/plugins/plugin.so /home/app_resourcescaler/plugins/plugin.so
COPY --from=quay.io/v3io/autoscaler:v0.0.2 /home/v3io/bin/autoscaler /home/app_resourcescaler/autoscaler
COPY --from=quay.io/v3io/autoscaler:v0.1.0 /home/v3io/bin/autoscaler /home/app_resourcescaler/autoscaler

CMD ["autoscaler"]
4 changes: 2 additions & 2 deletions dlx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY . .

RUN go get github.com/v3io/scaler-types \
&& cd $GOPATH/src/github.com/v3io/scaler-types \
&& git checkout v1.0.0 \
&& git checkout v1.1.0 \
&& cd /go/src/github.com/v3io/app_resourcescaler

RUN mkdir -p /home/app_resourcescaler/bin \
Expand All @@ -30,6 +30,6 @@ WORKDIR /home/app_resourcescaler
ENV PATH=/home/app_resourcescaler:$PATH

COPY --from=builder /home/app_resourcescaler/plugins/plugin.so /home/app_resourcescaler/plugins/plugin.so
COPY --from=quay.io/v3io/dlx:v0.0.1 /home/v3io/bin/dlx /home/app_resourcescaler/dlx
COPY --from=quay.io/v3io/dlx:v0.1.0 /home/v3io/bin/dlx /home/app_resourcescaler/dlx

CMD ["dlx"]
Loading

0 comments on commit 04d02f1

Please sign in to comment.