This repository has been archived by the owner on May 20, 2021. It is now read-only.
forked from arvados/arvados-formula
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(components): add submodules and tests
available components' states: * api * config * controller * keepproxy * keepstore * keepweb * repo * shell * websocket * workbench * workbench2 added documentation and tests
- Loading branch information
1 parent
cbabd41
commit 06050e0
Showing
147 changed files
with
2,490 additions
and
837 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
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
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,9 +1,9 @@ | ||
name: arvados | ||
os: Debian, Ubuntu, Raspbian, RedHat, Fedora, CentOS, Amazon, Suse, openSUSE, Gentoo, Funtoo, Arch, Manjaro, Alpine, FreeBSD, OpenBSD, Solaris, SmartOS, Windows, MacOS | ||
os_family: Debian, RedHat, Suse, Gentoo, Arch, Alpine, FreeBSD, OpenBSD, Solaris, Windows, MacOS | ||
version: 1.0.0 | ||
os: Debian, Ubuntu, RedHat, CentOS | ||
os_family: Debian, RedHat | ||
version: 0.1.0 | ||
release: 1 | ||
minimum_version: 2017.7 | ||
minimum_version: 3000.1 | ||
summary: arvados formula | ||
description: Formula to use as a template for other formulas | ||
description: Formula to install and configure an Arvados cluster | ||
top_level_dir: arvados |
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,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
include: | ||
- .service.dead | ||
- .package.clean |
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,7 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
include: | ||
- .package | ||
- ..config | ||
- .service |
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,28 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
{#- Get the `tplroot` from `tpldir` #} | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import arvados with context %} | ||
{% for gm in arvados.api.gem.name %} | ||
arvados-api-package-clean-gem-{{ gm }}-removed: | ||
gem.removed: | ||
- name: {{ gm }} | ||
- require_in: | ||
- pkg: arvados-api-package-clean-gems-deps-pkg-removed | ||
{% endfor %} | ||
arvados-api-package-clean-gems-deps-pkg-removed: | ||
pkg.removed: | ||
- pkgs: {{ arvados.ruby.gems_deps | json }} | ||
- only_if: {{ arvados.ruby.manage_gems_deps }} | ||
arvados-api-package-clean-pkg-removed: | ||
pkg.removed: | ||
- pkgs: {{ arvados.api.pkg.name | json }} | ||
arvados-api-package-clean-ruby-pkg-removed: | ||
pkg.removed: | ||
- name: {{ arvados.ruby.pkg }} | ||
- only_if: {{ arvados.ruby.manage_ruby }} |
File renamed without changes.
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,37 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
{#- Get the `tplroot` from `tpldir` #} | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- set sls_config_file = tplroot ~ '.config.file' %} | ||
{%- from tplroot ~ "/map.jinja" import arvados with context %} | ||
# The API server requires a valid config BEFORE installing... | ||
include: | ||
- {{ sls_config_file }} | ||
arvados-api-package-install-ruby-pkg-installed: | ||
pkg.installed: | ||
- name: {{ arvados.ruby.pkg }} | ||
- only_if: {{ arvados.ruby.manage_ruby }} | ||
arvados-api-package-install-gems-deps-pkg-installed: | ||
pkg.installed: | ||
- pkgs: {{ arvados.ruby.gems_deps | json }} | ||
- only_if: {{ arvados.ruby.manage_gems_deps }} | ||
{% for gm in arvados.api.gem.name %} | ||
arvados-api-package-install-gem-{{ gm }}-installed: | ||
gem.installed: | ||
- name: {{ gm }} | ||
- require: | ||
- pkg: arvados-api-package-install-gems-deps-pkg-installed | ||
- require_in: | ||
- pkg: arvados-api-package-install-pkg-installed | ||
{% endfor %} | ||
arvados-api-package-install-pkg-installed: | ||
pkg.installed: | ||
- pkgs: {{ arvados.api.pkg.name | json }} | ||
- require: | ||
- sls: {{ sls_config_file }} |
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
File renamed without changes.
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
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
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,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
include: | ||
- .service.dead | ||
- .package.clean |
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,7 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
include: | ||
- .package | ||
- ..config | ||
- .service |
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,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
{#- Get the `tplroot` from `tpldir` #} | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import arvados with context %} | ||
arvados-controller-package-clean-pkg-removed: | ||
pkg.removed: | ||
- name: {{ arvados.controller.pkg.name }} |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
# vim: ft=sls | ||
|
||
include: | ||
- .file | ||
- .install |
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,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
{#- Get the `tplroot` from `tpldir` #} | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import arvados with context %} | ||
arvados-controller-package-install-pkg-installed: | ||
pkg.installed: | ||
- name: {{ arvados.controller.pkg.name }} |
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,13 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
{#- Get the `tplroot` from `tpldir` #} | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import arvados with context %} | ||
arvados-controller-service-clean-service-dead: | ||
service.dead: | ||
- name: {{ arvados.service.name }} | ||
- enable: False | ||
- require_in: | ||
- pkg: arvados-controller-package-clean-pkg-removed |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
# vim: ft=sls | ||
|
||
include: | ||
- .config | ||
- .running |
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,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
|
||
{#- Get the `tplroot` from `tpldir` #} | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- set sls_config_file = tplroot ~ '.config.file' %} | ||
{%- from tplroot ~ "/map.jinja" import arvados with context %} | ||
include: | ||
- ..package | ||
- {{ sls_config_file }} | ||
arvados-controller-service-running-service-running: | ||
service.running: | ||
- name: {{ arvados.controller.service.name }} | ||
- enable: True | ||
- watch: | ||
- sls: {{ sls_config_file }} | ||
- require: | ||
- pkg: arvados-controller-package-install-pkg-installed |
Oops, something went wrong.