Skip to content

Commit

Permalink
chore(gcb build): remove a symlink (#543)
Browse files Browse the repository at this point in the history
There was a symlink `rosco-web/config/packer -> halconfig/packer`. But
GCB doesn't play well with symlinks. It uploads it as an empty
directory instead. While the symlink is nice, it's not particularly
important, so I just removed it. I put the files in `halconfig/packer`
and reference them there in the build script and dockerfiles.
  • Loading branch information
plumpy authored Feb 26, 2020
1 parent bd12136 commit b883c48
Show file tree
Hide file tree
Showing 24 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.java8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.11
MAINTAINER sig-platform@spinnaker.io
COPY rosco-web/build/install/rosco /opt/rosco
COPY rosco-web/config /opt/rosco
COPY rosco-web/config/packer /opt/rosco/config/packer
COPY halconfig/packer /opt/rosco/config/packer

WORKDIR /packer

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.11
MAINTAINER sig-platform@spinnaker.io
COPY rosco-web/build/install/rosco /opt/rosco
COPY rosco-web/config /opt/rosco
COPY rosco-web/config/packer /opt/rosco/config/packer
COPY halconfig/packer /opt/rosco/config/packer

WORKDIR /packer

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:bionic
MAINTAINER sig-platform@spinnaker.io
COPY rosco-web/build/install/rosco /opt/rosco
COPY rosco-web/config /opt/rosco
COPY rosco-web/config/packer /opt/rosco/config/packer
COPY halconfig/packer /opt/rosco/config/packer

WORKDIR /packer

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ubuntu-java8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:bionic
MAINTAINER sig-platform@spinnaker.io
COPY rosco-web/build/install/rosco /opt/rosco
COPY rosco-web/config /opt/rosco
COPY rosco-web/config/packer /opt/rosco/config/packer
COPY halconfig/packer /opt/rosco/config/packer

WORKDIR /packer

Expand Down
1 change: 0 additions & 1 deletion halconfig/packer

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion rosco-web/rosco-web.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {

if (project.plugins.hasPlugin('spinnaker.package')) {
ospackage {
from('config/packer') {
from('../halconfig/packer') {
into '/opt/rosco/config/packer'
}

Expand Down

0 comments on commit b883c48

Please sign in to comment.