-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into project-template-support
- Loading branch information
Showing
870 changed files
with
35,558 additions
and
178,259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Acceptance Tests | ||
on: [push,pull_request] | ||
|
||
jobs: | ||
acceptance-ce: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.14 | ||
id: go | ||
|
||
- name: Check out code repository source code | ||
uses: actions/checkout@v2 | ||
|
||
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions | ||
- name: Set build variables | ||
run: | | ||
echo "::set-env name=MAKE_TARGET::testacc" | ||
echo "::set-env name=GO_FLAGS::-mod=vendor" | ||
echo "::set-env name=GO111MODULE::on" | ||
echo "::set-env name=GITLAB_TOKEN::20char-testing-token" | ||
echo "::set-env name=GITLAB_BASE_URL::http://127.0.0.1:8080/api/v4" | ||
- name: Start Gitlab and run acceptance tests | ||
run: | | ||
bash scripts/start-gitlab.sh | ||
make $MAKE_TARGET | ||
acceptance-ee: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name == 'push' }} | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.14 | ||
id: go | ||
|
||
- name: Check out code repository source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Enterprise Edition License file | ||
run: | | ||
openssl version | ||
mkdir license | ||
[[ -n "${{ secrets.ENCRYPT_PASSWORD }}" ]] && echo decrypt | ||
[[ -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 }}" | ||
chmod 666 license/Gitlab-license.txt || true | ||
echo "::set-env name=GITLAB_LICENSE_FILE::Gitlab-license.txt" | ||
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions | ||
- name: Set build variables | ||
run: | | ||
echo "::set-env name=MAKE_TARGET::testacc" | ||
echo "::set-env name=GO_FLAGS::-mod=vendor" | ||
echo "::set-env name=GO111MODULE::on" | ||
echo "::set-env name=GITLAB_TOKEN::20char-testing-token" | ||
echo "::set-env name=GITLAB_BASE_URL::http://127.0.0.1:8080/api/v4" | ||
echo "::set-env name=TF_LOG::DEBUG" | ||
- name: Start Gitlab and run acceptance tests | ||
run: | | ||
bash scripts/start-gitlab.sh | ||
make $MAKE_TARGET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Unit Tests | ||
on: [push,pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go: [1.13, 1.14] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
make_target: [test, vet] | ||
|
||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
id: go | ||
|
||
- name: Check out code repository source code | ||
uses: actions/checkout@v2 | ||
|
||
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions | ||
- name: Set build variables | ||
run: | | ||
echo "::set-env name=MAKE_TARGET::${{ matrix.make_target }}" | ||
echo "::set-env name=GO_FLAGS::-mod=vendor" | ||
echo "::set-env name=GO111MODULE::on" | ||
- name: Run ${{matrix.make_target}} | ||
run: | | ||
make $MAKE_TARGET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Website Build | ||
on: [push,pull_request] | ||
|
||
jobs: | ||
website: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.14 | ||
id: go | ||
|
||
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions | ||
- name: Set Go variables for backwards compatibility | ||
run: | | ||
echo "::set-env name=GOPATH::$GITHUB_WORKSPACE/go" | ||
echo "::set-env name=GOBIN::$GITHUB_WORKSPACE/go/bin" | ||
echo "::add-path::$GITHUB_WORKSPACE/go/bin" | ||
- name: Check out code repository source code | ||
uses: actions/checkout@v2 | ||
with: | ||
path: go/src/github.com/${{ github.repository }} | ||
|
||
- name: Run website-test | ||
run: | | ||
cd $GOPATH/src/github.com/${{ github.repository }} | ||
export MAKE_TARGET=${{ matrix.make_target }} | ||
export GOFLAGS=-mod=vendor | ||
export GO111MODULE=on | ||
make website-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.5 | ||
1.14.1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.