-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving to github actions, moving to go 1.15, removing vendoring
- Loading branch information
1 parent
cd52b09
commit 5fbb957
Showing
2,161 changed files
with
413 additions
and
630,045 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,22 @@ | ||
name: Acceptance Tests | ||
on: [push,pull_request] | ||
|
||
jobs: | ||
acceptance: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.16 | ||
id: go | ||
|
||
- name: Check out code repository source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Start icinga2 | ||
run: make docker_start; sleep 30 | ||
|
||
- name: Run acceptance tests | ||
run: make testacc |
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,32 @@ | ||
name: Unit Tests | ||
on: [push,pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go: [1.15] | ||
os: [ubuntu-latest] | ||
make_target: [errcheck, test, vet] | ||
|
||
steps: | ||
- name: Set up Go | ||
uses: actions/[email protected] | ||
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 "MAKE_TARGET=${{ matrix.make_target }}" >> $GITHUB_ENV | ||
echo "GO111MODULE=on" >> $GITHUB_ENV | ||
- name: Run ${{matrix.make_target}} | ||
run: | | ||
make $MAKE_TARGET |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
module github.com/Icinga/terraform-provider-icinga2 | ||
|
||
require ( | ||
github.com/hashicorp/terraform-plugin-sdk v1.14.0 | ||
github.com/lrsmith/go-icinga2-api v0.5.1 | ||
github.com/AlecAivazis/survey/v2 v2.2.8 // indirect | ||
github.com/Masterminds/semver/v3 v3.1.1 // indirect | ||
github.com/fatih/color v1.10.0 // indirect | ||
github.com/hashicorp/terraform-plugin-sdk v1.16.0 | ||
github.com/lrsmith/go-icinga2-api v0.5.2 | ||
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect | ||
github.com/oligot/go-mod-upgrade v0.4.0 // indirect | ||
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect | ||
golang.org/x/sys v0.0.0-20210304203840-7b4935edff86 // indirect | ||
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect | ||
golang.org/x/text v0.3.5 // indirect | ||
) | ||
|
||
go 1.13 | ||
go 1.16 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.