Skip to content

Commit

Permalink
release 2.0.0 (#58)
Browse files Browse the repository at this point in the history
* Added authentication type #24 
* Added https support #25 
* Added new plugin installation #40 
* Added configuration for github  #22
* Added configuration for permissive-script-security #48 
* Added ability to configure tools #3 
* Fixed ec2 plugin configuration #54 
* Fixed molecule test 
* Fixed CI 
* Fixed templates compatibility #56 
* Fixed lint issues #51 
* Fixed templates variables
* Refactoring role code
* Updated documentation
  • Loading branch information
pavelpikta authored Jul 1, 2019
1 parent 7a0d264 commit 8bb93a3
Show file tree
Hide file tree
Showing 85 changed files with 2,041 additions and 1,159 deletions.
3 changes: 3 additions & 0 deletions .cookiecutter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
default_context:
role_name: jenkins
30 changes: 30 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Pull Request Template

## Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

## Reviews

Please identify developer to review this change

- [ ] @developer

## Checklist:

- [ ] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing tests pass with my changes
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
__pycache__
*.pyc
*.rst
*.log
16 changes: 10 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,26 @@ stages:
- deployment test

before_script:
- rm -rf molecule/resources/provisioning
- ansible --version
- ansible-lint --version
- molecule --version
- git clone https://github.com/lean-delivery/ansible-molecule-drivers.git molecule/resources/provisioning

variables:
GET_SOURCES_ATTEMPTS: "5"

Ansible lint:
Lint:
stage: lint
before_script:
- git clone https://github.com/lean-delivery/ansible-lint-rules.git ~/ansible-lint-rules
script:
- yamllint . -c .yamllint
- ansible-lint . -c .ansible-lint
after_script:
- rm -rf ~/ansible-lint-rules
tags:
- delegated
- aws

Docker jenkins:
stage: deployment test
Expand All @@ -31,14 +35,14 @@ Docker jenkins:

AWS jenkins:
variables:
EPC_REGION: AWS-EUCENTRAL
AWS_REGION: us-east-1
stage: deployment test
script:
- molecule test -s cloud-aws-delegated
- molecule test -s cloud-aws-direct
tags:
- delegated
- aws

EPC jenkins:
.EPC jenkins:
variables:
EPC_REGION: EPAM-BY2
stage: deployment test
Expand Down
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ services:
- docker

before_install:
- git clone -b ${lint_version} https://github.com/lean-delivery/ansible-lint-rules.git ~/ansible-lint-rules
- git clone https://github.com/lean-delivery/ansible-lint-rules.git ~/ansible-lint-rules

install:
- pip install --upgrade ansible==2.5.* molecule==2.17 docker-py pyOpenSSL PyYAML pytest==3.7.4
- pip install --upgrade ansible==2.7.* docker-py molecule==2.20 pyOpenSSL PyYAML pytest
- pip install git+https://github.com/ansible/ansible-lint.git
- ansible --version
- ansible-lint --version

script:
- yamllint . -c .yamllint
- ansible-lint . -c .ansible-lint
- molecule test -s default

Expand Down
6 changes: 2 additions & 4 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ rules:
line-length:
max: 150
level: warning
new-lines: disable

ignore: |
molecule
new-lines:
type: unix
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Apache License
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2019 EPAM Systems

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
489 changes: 316 additions & 173 deletions README.md

Large diffs are not rendered by default.

Loading

0 comments on commit 8bb93a3

Please sign in to comment.