File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -626,7 +626,7 @@ jobs:
626
626
- persist_to_workspace :
627
627
root : .
628
628
paths :
629
- - ./agent/bindata_assetfs.go
629
+ - ./agent/uiserver/ bindata_assetfs.go
630
630
- run : *notify-slack-failure
631
631
632
632
# commits static assets to git
@@ -641,16 +641,16 @@ jobs:
641
641
- attach_workspace :
642
642
at : .
643
643
- run :
644
- name : commit agent/bindata_assetfs.go if there are changes
644
+ name : commit agent/uiserver/ bindata_assetfs.go if there are changes
645
645
command : |
646
646
exit 0
647
- if ! git diff --exit-code agent/bindata_assetfs.go; then
647
+ if ! git diff --exit-code agent/uiserver/ bindata_assetfs.go; then
648
648
git config --local user.email "[email protected] "
649
649
git config --local user.name "hashicorp-ci"
650
650
651
651
short_sha=$(git rev-parse --short HEAD)
652
- git add agent/bindata_assetfs.go
653
- git commit -m "auto-updated agent/bindata_assetfs.go from commit ${short_sha}"
652
+ git add agent/uiserver/ bindata_assetfs.go
653
+ git commit -m "auto-updated agent/uiserver/ bindata_assetfs.go from commit ${short_sha}"
654
654
git push origin master
655
655
else
656
656
echo "no new static assets to publish"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ GOARCH?=$(shell go env GOARCH)
16
16
GOPATH =$(shell go env GOPATH)
17
17
MAIN_GOPATH =$(shell go env GOPATH | cut -d: -f1)
18
18
19
- ASSETFS_PATH? =agent/bindata_assetfs.go
19
+ ASSETFS_PATH? =agent/uiserver/ bindata_assetfs.go
20
20
# Get the git commit
21
21
GIT_COMMIT? =$(shell git rev-parse --short HEAD)
22
22
GIT_COMMIT_YEAR? =$(shell git show -s --format=% cd --date=format:% Y HEAD)
Original file line number Diff line number Diff line change 7
7
"time"
8
8
)
9
9
10
- // bufferedFile implements os .File and allows us to modify a file from disk by
10
+ // bufferedFile implements http .File and allows us to modify a file from disk by
11
11
// writing out the new version into a buffer and then serving file reads from
12
12
// that.
13
13
type bufferedFile struct {
Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ function build_release {
477
477
478
478
if is_set " ${do_tag} "
479
479
then
480
- git add " ${sdir} /agent/bindata_assetfs.go"
480
+ git add " ${sdir} /agent/uiserver/ bindata_assetfs.go"
481
481
if test $? -ne 0
482
482
then
483
483
err " ERROR: Failed to git add the assetfs file"
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ function confirm_git_push_changes {
99
99
;;
100
100
? )
101
101
# bindata_assetfs.go will make these meaningless
102
- git_diff " $( pwd) " " :!agent/bindata_assetfs.go" || ret 1
102
+ git_diff " $( pwd) " " :!agent/uiserver/ bindata_assetfs.go" || ret 1
103
103
answer=" "
104
104
;;
105
105
* )
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ github_checks:
39
39
annotations : false
40
40
41
41
ignore :
42
- - " agent/bindata_assetfs.go"
42
+ - " agent/uiserver/ bindata_assetfs.go"
43
43
- " vendor/**/*"
44
44
- " **/*.pb.go"
You can’t perform that action at this time.
0 commit comments