File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 if : needs.check_env.outputs.env == 'dev'
2828 runs-on : dev
2929 steps :
30- - name : Check out code into the right branch
31- uses : actions/checkout@v4
32- with :
33- ref : ${{ github.event.workflow_run.head_branch }}
34-
35- - name : Set up Go 1.x
36- uses : actions/setup-go@v4
37- with :
38- go-version : ^1.20
39- id : go
40-
41- - name : Build and Execute Installer
42- working-directory : ./installer
30+ - name : Execute Installer
4331 run : |
44- go get -v -t -d ./...
45- if [ -f Gopkg.toml ]; then
46- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
47- dep ensure
48- fi
49- go test -v .
50- export GOOS=linux
51- export GOARCH=amd64
52- go build -o installer -v .
53- mv installer /home/utmstack/installer
54- chmod +x /home/utmstack/installer
5532 cd /home/utmstack
5633 sudo ./installer
5734 sudo docker service update --publish-add 9200:9200 utmstack_node1 & docker service update --publish-add 5432:5432 utmstack_postgres
You can’t perform that action at this time.
0 commit comments