Skip to content

Commit

Permalink
Nap 31 updates (#76)
Browse files Browse the repository at this point in the history
* support for 20.04

* add focal to molecule stacks

* add missing command param

* temporarily limit test platforms for advanced scenario

* add alpine back to advanced

* add centos7 back to advanced scenario

* add debian stretch back to advanced scenario

* removing debian stretch from advanced scenario
  • Loading branch information
aknot242 authored Apr 1, 2021
1 parent db19339 commit 1a06e5e
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ FEATURES:
* You can now specify an `nginx_app_protect_repository` for NGINX App Protect.
* You can now specify an `nginx_app_protect_security_updates_repository` for NGINX App Protect signatures and threat campaigns packages.
* You can now specify NGINX App Protect signatures and threat campaigns package versions using the `nginx_app_protect_signatures_version` and `nginx_app_protect_threat_campaigns_version` variables.
* Add support for Ubuntu 20.04 available starting with App Protect 3.1.

ENHANCEMENTS:

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Debian:
- 9
Ubuntu:
- 18.04
- 20.04
```

## Role Variables
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ galaxy_info:
- name: Ubuntu
versions:
- bionic
- focal

galaxy_tags:
- waf
Expand Down
4 changes: 2 additions & 2 deletions molecule/advanced/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ platforms:
- nap
networks:
- name: molecule-test
- name: debian-stretch
image: debian:stretch-slim
- name: ubuntu-focal
image: ubuntu:focal
dockerfile: ../Dockerfile.j2
privileged: true
volumes:
Expand Down
7 changes: 7 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ platforms:
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: ubuntu-focal
image: ubuntu:focal
dockerfile: ../Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: debian-stretch
image: debian:stretch-slim
dockerfile: ../Dockerfile.j2
Expand Down
7 changes: 7 additions & 0 deletions molecule/specific-version/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ platforms:
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: ubuntu-focal
image: ubuntu:focal
dockerfile: ../Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: debian-stretch
image: debian:stretch-slim
dockerfile: ../Dockerfile.j2
Expand Down
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ nginx_app_protect_linux_families:
"10",
]
ubuntu: [
"18.04",
"18.04", "20.04",
]
alpine: [
"3.10",
Expand Down

0 comments on commit 1a06e5e

Please sign in to comment.