Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: integration
on:
pull_request: {}

jobs:
integration:
name: integration
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.15
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: make test-e2e-integration
37 changes: 37 additions & 0 deletions .github/workflows/test-ansible.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ansible
on:
pull_request: {}

jobs:
e2e:
name: e2e
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.15
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: sudo rm -rf /usr/local/bin/kustomize
- run: make test-e2e-ansible

e2e-molecule:
name: e2e-molecule
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.15
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: sudo rm -rf /usr/local/bin/kustomize
- run: |
env
export PATH=/opt/python/3.6.7/bin:${PATH}
sudo apt-get install python3 python3-pip
sudo pip3 install wheel
sudo pip3 install --upgrade setuptools pip
sudo pip3 install ansible~=2.9.13
make test-e2e-ansible-molecule
32 changes: 32 additions & 0 deletions .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: go
on:
pull_request: {}

jobs:
e2e:
name: e2e
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.15
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: sudo rm -rf /usr/local/bin/kustomize
- run: make test-e2e-go

unit:
name: unit
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.15
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: make test-unit
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out
17 changes: 17 additions & 0 deletions .github/workflows/test-helm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: helm
on:
pull_request: {}

jobs:
e2e:
name: e2e
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.15
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: sudo rm -rf /usr/local/bin/kustomize
- run: make test-e2e-helm
28 changes: 28 additions & 0 deletions .github/workflows/test-sanity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: sanity
on:
pull_request: {}

jobs:
sanity:
name: sanity
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.15
id: go
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: sudo rm -rf /usr/local/bin/kustomize
- run: make test-sanity

links:
name: doc links
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- run: make test-links
1 change: 1 addition & 0 deletions hack/tests/e2e-ansible-molecule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ header_text "Running tests to check ansible molecule"
ROOTDIR="$(pwd)"
TMPDIR="$(mktemp -d)"
trap_add 'rm -rf $TMPDIR' EXIT
export PATH=${HOME}/.local/bin:${PATH}
pip3 install --user pyasn1==0.4.7 pyasn1-modules==0.2.6 idna==2.8 ipaddress==1.0.22
pip3 install --user molecule==3.0.2
pip3 install --user ansible-lint yamllint
Expand Down