File tree 2 files changed +66
-1
lines changed
2 files changed +66
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Flist creation (development)
2
+ on :
3
+ push :
4
+ branches :
5
+ - ' *'
6
+ tags-ignore :
7
+ - v*
8
+
9
+ jobs :
10
+ build :
11
+ name : Build and upload
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+
15
+ - name : Set up Go 1.13
16
+ uses : actions/setup-go@v1
17
+ with :
18
+ go-version : 1.13
19
+ id : go
20
+
21
+ - name : Checkout code into the Go module directory
22
+ uses : actions/checkout@v1
23
+
24
+ - name : Build binaries
25
+ run : make
26
+
27
+ - name : Collecting files
28
+ run : |
29
+ archive=${{ github.workspace }}/archive
30
+ mkdir -p ${archive}/bin
31
+ cp bin/* ${archive}/bin/
32
+
33
+ - name : Set name of the development build
34
+ id : setname
35
+ run : |
36
+ echo "::set-output name=build::tcprouter:v$(date +%y%m%d.%-H%M%S.0)-dev.flist"
37
+
38
+ - name : Publish flist (${{ github.sha }})
39
+ if : success()
40
+ uses : threefoldtech/publish-flist@master
41
+ with :
42
+ token : ${{ secrets.HUB_JWT }}
43
+ action : publish
44
+ user : tf-autobuilder
45
+ root : archive
46
+ name : zos-${{ github.sha }}.flist
47
+
48
+ - name : Symlink flist (development)
49
+ uses : threefoldtech/publish-flist@master
50
+ with :
51
+ token : ${{ secrets.HUB_JWT }}
52
+ action : symlink
53
+ user : tf-autobuilder
54
+ name : zos-${{ github.sha }}.flist
55
+ target : ${{ steps.setname.outputs.build }}
56
+
57
+ - name : Crosslink flist (development)
58
+ if : success() && github.ref == 'refs/heads/master'
59
+ uses : threefoldtech/publish-flist@master
60
+ with :
61
+ token : ${{ secrets.HUB_JWT }}
62
+ action : crosslink
63
+ user : tf-official-apps
64
+ name : tcprouter:latest.flist
65
+ target : tf-autobuilder/${{ steps.setname.outputs.build }}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ func TestEnd2End(t *testing.T) {
29
29
func testEnd2End (t * testing.T , size int ) {
30
30
31
31
var (
32
- domain = "localhost.localdomain "
32
+ domain = "localhost"
33
33
secret = "foobar"
34
34
httpsPort uint = 8000
35
35
httpPort uint = 8001
You can’t perform that action at this time.
0 commit comments