Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port rbenv cookbook to jlenv #1

Open
wants to merge 108 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
b38d605
docs: update README.md
allcontributors[bot] Jul 4, 2019
d41aaf1
docs: create .all-contributorsrc
allcontributors[bot] Jul 4, 2019
ee608c4
Merge pull request #2 from taqtiqa-mark/all-contributors/add-taqtiqa-…
taqtiqa-mark Jul 4, 2019
3120fc3
Port group install for jlenv
taqtiqa-admin Jul 2, 2019
61c0dc8
Add Pkg recipe test fixtures
taqtiqa-admin Jul 2, 2019
095cf31
Add Julia global install test fixtures
taqtiqa-admin Jul 2, 2019
d2c7406
Add jlenv recipe test fixtures.
taqtiqa-admin Jul 2, 2019
f65dd6a
Add Julia recipe test fixtures.
taqtiqa-mark Jul 2, 2019
c318df3
Add mass Julia refactor.
taqtiqa-mark Jul 3, 2019
8903063
Add further mass Julia refactor.
taqtiqa-mark Jul 3, 2019
6da8d4a
Add cirleci orb by sous-chefs.
taqtiqa-mark Jul 3, 2019
0186c9d
Update cirleci orb version.
taqtiqa-mark Jul 3, 2019
2fd7dab
Add contributors bot and docs.
taqtiqa-mark Jul 4, 2019
570807a
Add contributors bot config file.
taqtiqa-mark Jul 4, 2019
48af432
Revise circleci orb version.
taqtiqa-mark Jul 4, 2019
102c868
Add taqtiqa's kitchen Orb.
taqtiqa-mark Jul 15, 2019
4a6b020
Fix circleci use of lint.
taqtiqa-mark Jul 15, 2019
a1ebc1d
Fix lint requirements.
taqtiqa-mark Jul 15, 2019
bb9d805
Remove platform parameter.
taqtiqa-mark Jul 15, 2019
daa7e6e
Add yaml start file decoration.
taqtiqa-mark Jul 15, 2019
7acc55f
Add YAML lint fixes.
taqtiqa-mark Jul 15, 2019
5cf911e
Add YAML lint fixes.
taqtiqa-mark Jul 15, 2019
5fd7231
Fix kitchen YAML lint.
taqtiqa-mark Jul 15, 2019
d184c64
Add YAML lint fixes.
taqtiqa-mark Jul 15, 2019
964a885
Fix YAML lint.
taqtiqa-mark Jul 15, 2019
9002f75
Fix kitchen YAML.
taqtiqa-mark Jul 15, 2019
64c0126
Fix YAML lint.
taqtiqa-mark Jul 15, 2019
ab4802e
Fix YAML lint.
taqtiqa-mark Jul 15, 2019
8ee0d99
Fix too long YAML to multi-line commands.
taqtiqa-mark Jul 15, 2019
84aafa6
Fix long commands.
taqtiqa-mark Jul 15, 2019
dc5bdf7
Add YAML lint config file.
taqtiqa-mark Jul 15, 2019
1430412
Remove yaml lint config in lieu of relaxed setting in orb.
taqtiqa-mark Jul 15, 2019
65d44cc
Bump kitchen orb in CircleCI.
taqtiqa-mark Jul 15, 2019
9f40623
Fix Markdown lint errors
taqtiqa-mark Jul 16, 2019
fb6a615
Fix MD lint config file syntax.
taqtiqa-mark Jul 16, 2019
7f4ec70
Fix trailing spaces for MD lint.
taqtiqa-mark Jul 16, 2019
0b39ab4
Fix MD lint errors.
taqtiqa-mark Jul 16, 2019
ecb4dc6
Fix MD YAML lint errors.
taqtiqa-mark Jul 16, 2019
87c056c
Remove MD line length lint due to all-contributors HTML length.
taqtiqa-mark Jul 16, 2019
b0ee4c2
Suspend Danger. Add brief pointers to Danger.
taqtiqa-mark Jul 16, 2019
a81ea5b
Fix URL link syntax.
taqtiqa-mark Jul 16, 2019
e3a729c
Fix MD URL syntax.
taqtiqa-mark Jul 16, 2019
21b4aff
Use ORB updated for source.list fix.
taqtiqa-mark Jul 16, 2019
cd7dd27
Update ORB version for chef install fix.
taqtiqa-mark Jul 16, 2019
9e86f99
Update ORB version for sudo premissions.
taqtiqa-mark Jul 16, 2019
0ba8584
Bumpt Orb version for sudo use.
taqtiqa-mark Jul 16, 2019
e77be0e
Add vagrant install using commands orb.
taqtiqa-mark Jul 17, 2019
c325000
Fix circleci indentation. Add vagrant dependency.
taqtiqa-mark Jul 17, 2019
46dca43
Fix name mixup.
taqtiqa-mark Jul 17, 2019
63a666d
Fix vgrant install job.
taqtiqa-mark Jul 17, 2019
56e887c
Update commands Orb.
taqtiqa-mark Jul 17, 2019
386fd78
Add bundle config.
taqtiqa-mark Jul 18, 2019
5a5fe6c
ignore vscode config folder
taqtiqa-admin Jul 31, 2019
18bfa68
Add chefspecs to delivery unit phase.
taqtiqa-admin Jul 31, 2019
1e3e526
Fix ruby code block.
taqtiqa-admin Jul 31, 2019
7a66ec2
Fix cookbook name in tests.
taqtiqa-admin Jul 31, 2019
e66b22d
Fix lint: space at EOL.
taqtiqa-admin Jul 31, 2019
7e6ba8f
Add Chefspec using Policyfiles. One spec passing.
taqtiqa-admin Jul 31, 2019
4068d4a
Fixed delivery local lint
taqtiqa-admin Aug 7, 2019
1ff6aa5
Add dokken as kitchen default. Vagrant optional.
taqtiqa-admin Aug 7, 2019
fd76c57
All specs green: delivery local unit.
taqtiqa-admin Aug 7, 2019
888d09e
Add policyfile to dokken kitchen test.
taqtiqa-admin Aug 9, 2019
2213e6a
Refactor policyfiles.
taqtiqa-admin Aug 16, 2019
fb08ec4
Add system install policyfile integration spec. 3 controls passing.
taqtiqa-admin Aug 16, 2019
c7a46c2
Add Rubocop todo
taqtiqa-mark Aug 19, 2019
96ca330
Merge branch 'julia' of https://github.com/taqtiqa-mark/jlenv-cookboo…
taqtiqa-mark Aug 19, 2019
eec428a
Refactor integration tests.
taqtiqa-mark Aug 19, 2019
6f9a57c
Add ignore test lock files.
taqtiqa-mark Aug 19, 2019
3661196
System install of jlenv and Julia.
taqtiqa-mark Aug 20, 2019
7051c7b
Update apt before installing
taqtiqa-mark Aug 20, 2019
95a61c7
Add arch and platform specific packaging.
taqtiqa-mark Aug 20, 2019
f61377c
Remove rbx check.
taqtiqa-mark Aug 20, 2019
1b81c14
Update global version.
taqtiqa-admin Aug 21, 2019
120f89d
Refine Package deps.
taqtiqa-admin Aug 21, 2019
0d68797
Lint changes.
taqtiqa-admin Aug 23, 2019
62aa463
Add commands orb dev version.
taqtiqa-mark Aug 24, 2019
ae63633
Merge branch 'julia' of https://github.com/taqtiqa-mark/jlenv-cookboo…
taqtiqa-mark Aug 24, 2019
03d0ba6
mdlint fixes.
taqtiqa-mark Aug 24, 2019
123846b
Fix checksum
taqtiqa-mark Aug 24, 2019
3ea9d55
Update commands orb.
taqtiqa-mark Aug 24, 2019
53438c6
Update orb that kills apt daily service.
taqtiqa-mark Aug 24, 2019
c6924ac
Update commands orb build.
taqtiqa-mark Aug 24, 2019
43a572d
Aupdate commands orb killall apt.
taqtiqa-mark Aug 24, 2019
5963d4a
Update commands orb dev 0.1.9.
taqtiqa-mark Aug 24, 2019
e490b83
Update commands orb v0.1.10
taqtiqa-mark Aug 25, 2019
1394e53
Update commands orb v0.1.11
taqtiqa-mark Aug 25, 2019
17d9fe3
Update commands orb v0.1.11
taqtiqa-mark Aug 25, 2019
0d864e3
Update commands orb v.0.1.12
taqtiqa-mark Aug 25, 2019
b141885
Update commands orb v0.1.13
taqtiqa-mark Aug 25, 2019
e3b0ef6
Fix verify command
taqtiqa-mark Aug 25, 2019
0e40e58
Update verify command to e
taqtiqa-mark Aug 25, 2019
6bc3a81
Update opt localtion for vagrant
taqtiqa-mark Aug 25, 2019
f210596
Add laptop run.
taqtiqa-mark Aug 26, 2019
aec2b2a
Remove vagrant script and add ignite requirements check.
taqtiqa-admin Aug 26, 2019
7777c98
Add Ignite requirements check.
taqtiqa-admin Aug 26, 2019
a18d642
Fix ignite job parameter
taqtiqa-admin Aug 26, 2019
bbf5b00
Revert to using dokken only.
taqtiqa-admin Aug 26, 2019
9a0ac6c
Revised kitchen orb dev:1.3.5
taqtiqa-admin Aug 26, 2019
8d673b6
Refactor integration tests.
taqtiqa-admin Aug 26, 2019
083830f
Refactor unit & interation tests
taqtiqa-admin Aug 30, 2019
26928f6
Fix mdlint errors.
taqtiqa-admin Sep 13, 2019
b8a840b
Refine kitchen test instances
taqtiqa-admin Sep 13, 2019
2fb6470
Monkey-patch Chef Git Resource
taqtiqa-admin Sep 18, 2019
d87c7fb
Add Amazonlinux
taqtiqa-admin Sep 18, 2019
71d8272
Inspec control skeleton for resources recipes.
taqtiqa-admin Sep 18, 2019
b9e8209
Add InSpec control references
taqtiqa-admin Sep 18, 2019
a5d6651
InSpec controls around system_install user_install and plugin default…
taqtiqa-admin Sep 20, 2019
1f3d57f
Add intergration specs/tests.
taqtiqa-admin Oct 31, 2019
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
25 changes: 25 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"contributors": [
{
"login": "taqtiqa-mark",
"name": "Mark Van de Vyver",
"avatar_url": "https://avatars1.githubusercontent.com/u/1468258?v=4",
"profile": "http://blog.taqtiqa.com",
"contributions": [
"infra",
"test",
"code"
]
}
],
"contributorsPerLine": 7,
"projectName": "jlenv-cookbook",
"projectOwner": "taqtiqa-mark",
"repoType": "github",
"repoHost": "https://github.com"
}
118 changes: 53 additions & 65 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,73 +1,61 @@
---
version: 2.1
orbs:
kitchen: sous-chefs/[email protected]
kitchen: taqtiqa/kitchen@dev:1.3.5
cmds: taqtiqa/commands@dev:0.1.14

jobs:
ignite:
executor: kitchen/chef
steps:
- cmds/ignite-install:
version:

workflows:
kitchen:
jobs:
- kitchen/danger:
name: danger
context: Danger
- kitchen/lint:
name: lint
- kitchen/dokken-single:
suite: global
platform: debian-8
name: global-debian-8
requires: [lint, danger]
- kitchen/dokken-single:
suite: global
platform: debian-9
name: global-debian-9
requires: [lint, danger]
- kitchen/dokken-single:
suite: global
platform: centos-6
name: global-centos-6
requires: [lint, danger]
- kitchen/dokken-single:
suite: global
platform: centos-7
name: global-centos-7
requires: [lint, danger]
- kitchen/dokken-single:
suite: global
platform: ubuntu-1604
name: global-ubuntu-1604
requires: [lint, danger]
- kitchen/dokken-single:
suite: global
platform: ubuntu-1804
name: global-ubuntu-1804
requires: [lint, danger]
- kitchen/dokken-single:
# - ignite:
# name: ignite
# - kitchen/danger:
# name: danger
# context: Danger
- kitchen/mdlint:
name: mdlint
- kitchen/yamllint:
name: yamllint
- kitchen/dokken:
suite: global
platform: opensuse-leap
name: global-opensuse-leap
requires: [lint, danger]
- kitchen/dokken-single:
name: system-install
suite: system-install
platform: centos-7
requires: [lint, danger]
- kitchen/dokken-single:
name: user-install
suite: user-install
platform: centos-7
requires: [lint, danger]
- kitchen/dokken-single:
name: gem
suite: gem
platform: centos-7
requires: [lint, danger]
- kitchen/dokken-single:
name: ruby-uninstall
suite: ruby-uninstall
platform: ubuntu-1804
requires: [lint, danger]
- kitchen/dokken-single:
name: custom-group
suite: custom-group-install
platform: centos-7
requires: [lint, danger]
name: global
requires: [mdlint, yamllint]
# requires: [mdlint, yamllint, ignite]
# Kitchen/dokken-single runs a single Instance
# - kitchen/dokken-single:
# suite: global-opensuse-leap
# name: global-opensuse-leap
# requires: [mdlint, yamllint]
# requires: [mdlint, yamllint, danger]
# - kitchen/dokken-single:
# name: system-install-centos-7
# suite: system-install-centos-7
# requires: [mdlint, yamllint]
# requires: [mdlint, yamllint, danger]
# - kitchen/dokken-single:
# name: user-install-centos-7
# suite: user-install-centos-7
# requires: [mdlint, yamllint]
# requires: [mdlint, yamllint, danger]
# - kitchen/dokken-single:
# name: pkg-centos-7
# suite: pkg-centos-7
# requires: [mdlint, yamllint]
# requires: [mdlint, yamllint, danger]
# - kitchen/dokken-single:
# name: julia-uninstall-ubuntu-1804
# suite: julia-uninstall-ubuntu-1804
# requires: [mdlint, yamllint]
# requires: [mdlint, yamllint, danger]
# - kitchen/dokken-single:
# name: custom-group
# suite: custom-group-install-centos-7
# requires: [mdlint, yamllint]
# requires: [mdlint, yamllint, danger]
2 changes: 1 addition & 1 deletion .delivery/project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[local_phases]
unit = "rspec"
unit = "chef exec rspec test/spec"
lint = 'cookstyle --display-cop-names --extra-details'
syntax = "foodcritic ."
provision = "echo skipping"
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* sous-chefs/ruby_rbenv
* jlenv/jlenv-cookbook
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

- [ ] All tests pass.
- [ ] New functionality includes testing.
- [ ] New functionality has been documented in the README if applicable
- [ ] New functionality has been documented in the `docs/` folder (if applicable).
4 changes: 3 additions & 1 deletion .github/lock.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
# Configuration for lock-threads - https://github.com/dessant/lock-threads

# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 365

# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
# Issues and pull requests with these labels will not be locked. Set to `[]`
# to disable
exemptLabels: []

# Label to add before locking, such as `outdated`. Set to `false` to disable
Expand Down
14 changes: 9 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ _Store
*.bk
*.bkup

# ruby/bundler files
.ruby-version
.ruby-gemset
# IDE
.vscode

# julia/bundler files
.julia-version
.julia-gemset
.rvmrc
Gemfile.lock
.bundle
Pkgfile.lock
*.gem

# YARD artifacts
Expand All @@ -50,3 +52,5 @@ Cheffile.lock
.vagrant/
.vagrant.d/
.kitchen/

test/*.lock.json
1 change: 1 addition & 0 deletions .kitchen.appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
driver:
name: proxy
host: localhost
Expand Down
75 changes: 0 additions & 75 deletions .kitchen.dokken.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .kitchen.vagrant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
driver:
name: vagrant

provisioner:
name: chef_zero
product_name: chef
product_version: <%= ENV['CHEF_VERSION'] || 'latest' %>
install_strategy: once
deprecations_as_errors: true
policyfile: Policyfile.rb

verifier:
name: inspec

platforms:
- name: centos-6
- name: centos-7
- name: fedora-latest
- name: debian-8
- name: debian-9
- name: ubuntu-16.04
- name: ubuntu-18.04
- name: opensuse-leap

suites:
- name: pkg
run_list: recipe[test::pkg]
includes: [centos-7]
- name: global
run_list: recipe[test::global]
- name: julia_uninstall
run_list: recipe[test::julia_uninstall]
includes: [ubuntu-18.04]
- name: system_install
run_list: recipe[test::system_install]
includes: [centos-7]
- name: user_install
run_list: recipe[test::user_install]
includes: [centos-7]
- name: custom_group_install
run_list: recipe[test::custom_group_install]
includes: [centos-7]
Loading