File tree Expand file tree Collapse file tree 3 files changed +38
-1
lines changed
Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ on: [push,pull_request]
33
44jobs :
55 acceptance-ce :
6+ timeout-minutes : 60
67 runs-on : ubuntu-latest
78 steps :
89 - name : Set up Go
2728 run : |
2829 bash scripts/start-gitlab.sh
2930 make $MAKE_TARGET
31+
32+ acceptance-ee :
33+ timeout-minutes : 60
34+ runs-on : ubuntu-latest
35+ steps :
36+ - name : Set up Go
37+ uses : actions/setup-go@v1
38+ with :
39+ go-version : 1.12
40+ id : go
41+
42+ - name : Check out code repository source code
43+ uses : actions/checkout@v2
44+
45+ - name : Set up Enterprise Edition License file
46+ run : |
47+ openssl version
48+ mkdir license
49+ [[ -n "${{ secrets.ENCRYPT_PASSWORD }}" ]] && echo decrypt
50+ [[ -n "${{ secrets.ENCRYPT_PASSWORD }}" ]] && openssl enc -d -aes-256-cbc -pbkdf2 -iter 20000 -in Gitlab-license.encrypted -out license/Gitlab-license.txt -pass "pass:${{ secrets.ENCRYPT_PASSWORD }}"
51+ chmod 666 license/Gitlab-license.txt || true
52+ echo "::set-env name=GITLAB_LICENSE_FILE::Gitlab-license.txt"
53+
54+ # https://help.github.com/en/actions/reference/workflow-commands-for-github-actions
55+ - name : Set build variables
56+ run : |
57+ echo "::set-env name=MAKE_TARGET::testacc"
58+ echo "::set-env name=GO_FLAGS::-mod=vendor"
59+ echo "::set-env name=GO111MODULE::on"
60+ echo "::set-env name=GITLAB_TOKEN::20char-testing-token"
61+ echo "::set-env name=GITLAB_BASE_URL::http://127.0.0.1:8080/api/v4"
62+
63+ - name : Start Gitlab and run acceptance tests
64+ run : |
65+ bash scripts/start-gitlab.sh
66+ make $MAKE_TARGET
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ website/vendor
3030! command /test-fixtures /** /* .tfstate
3131! command /test-fixtures /** /.terraform /
3232
33- license /JulienPivotto.gitlab-license
33+ license /*
You can’t perform that action at this time.
0 commit comments