+++ /dev/null
-# -*- coding: utf-8 -*-
-# vim: ft=yaml
----
-name: Commitlint
-'on': [pull_request]
-
-jobs:
- lint:
- runs-on: ubuntu-latest
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - uses: wagoid/commitlint-github-action@v1
+++ /dev/null
-# -*- coding: utf-8 -*-
-# vim: ft=yaml
----
-# See https://pre-commit.com for more information
-# See https://pre-commit.com/hooks.html for more hooks
-default_stages: [commit]
-repos:
- - repo: https://github.com/dafyddj/commitlint-pre-commit-hook
- rev: v2.3.0
- hooks:
- - id: commitlint
- name: Check commit message using commitlint
- description: Lint commit message against @commitlint/config-conventional rules
- stages: [commit-msg]
- additional_dependencies: ['@commitlint/config-conventional@8.3.4']
- - id: commitlint-travis
- stages: [manual]
- additional_dependencies: ['@commitlint/config-conventional@8.3.4']
- always_run: true
- - repo: https://github.com/rubocop-hq/rubocop
- rev: v1.9.1
- hooks:
- - id: rubocop
- name: Check Ruby files with rubocop
- args: [--debug]
- always_run: true
- pass_filenames: false
- - repo: https://github.com/shellcheck-py/shellcheck-py
- rev: v0.7.1.1
- hooks:
- - id: shellcheck
- name: Check shell scripts with shellcheck
- files: ^.*\.(sh|bash|ksh)$
- types: []
- - repo: https://github.com/adrienverge/yamllint
- rev: v1.23.0
- hooks:
- - id: yamllint
- name: Check YAML syntax with yamllint
- args: [--strict, '.']
- always_run: true
- pass_filenames: false
- - repo: https://github.com/warpnet/salt-lint
- rev: v0.3.0
- hooks:
- - id: salt-lint
- name: Check Salt files using salt-lint
- files: ^.*\.(sls|jinja|j2|tmpl|tst)$
- - repo: https://github.com/myint/rstcheck
- rev: 3f929574
- hooks:
- - id: rstcheck
- name: Check reST files using rstcheck
- exclude: 'docs/CHANGELOG.rst'
- args: [--report=warning]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# vim: ft=yaml
----
-################################################################################
-# NOTE: This file is UNMAINTAINED; it is provided for references purposes only.
-# No guarantees are tendered that this structure will work after 2020.
-################################################################################
-# * https://en.wikipedia.org/wiki/Travis_CI:
-# - "... free open-source plans were removed in [sic] the end of 2020"
-# - https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
-# - https://ropensci.org/technotes/2020/11/19/moving-away-travis/
-################################################################################
-## Machine config
-os: 'linux'
-arch: 'amd64'
-dist: 'bionic'
-version: '~> 1.0'
-
-## Language and cache config
-language: 'ruby'
-cache: 'bundler'
-
-## Services config
-services:
- - docker
-
-## Script to run for the test stage
-script:
- - bin/kitchen verify "${INSTANCE}"
-
-## Stages and jobs matrix
-stages:
- - test
- # # As part of the switch away from Travis CI, ensure that the `release` stage
- # # is not run inadvertently
- # - name: 'release'
- # if: 'branch = master AND type != pull_request'
-jobs:
- include:
- ## Define the test stage that runs the linters (and testing matrix, if applicable)
-
- # Run all of the linters in a single job
- - language: 'node_js'
- node_js: 'lts/*'
- env: 'Lint'
- name: 'Lint: salt-lint, yamllint, rubocop, shellcheck & commitlint'
- before_install: 'skip'
- script:
- # Install and run `salt-lint`
- - pip install --user salt-lint
- - git ls-files -- '*.sls' '*.jinja' '*.j2' '*.tmpl' '*.tst'
- | xargs salt-lint
- # Install and run `yamllint`
- # Need at least `v1.17.0` for the `yaml-files` setting
- - pip install --user yamllint>=1.17.0
- - yamllint -s .
- # Install and run `rubocop`
- - gem install rubocop
- - rubocop -d
- # Run `shellcheck` (already pre-installed in Travis)
- - shellcheck --version
- - git ls-files -- '*.sh' '*.bash' '*.ksh'
- | xargs shellcheck
- # Install and run `commitlint`
- - npm i -D @commitlint/config-conventional
- @commitlint/travis-cli
- - commitlint-travis
-
- # Run `pre-commit` linters in a single job
- - language: 'python'
- env: 'Lint_pre-commit'
- name: 'Lint: pre-commit'
- before_install: 'skip'
- cache:
- directories:
- - $HOME/.cache/pre-commit
- script:
- # Install and run `pre-commit`
- - pip install pre-commit==2.7.1
- - pre-commit run --all-files --color always --verbose
- - pre-commit run --color always --hook-stage manual --verbose commitlint-travis
-
- ## Define the rest of the matrix based on Kitchen testing
- # Make sure the instances listed below match up with
- # the `platforms` defined in `kitchen.yml`
- # - env: INSTANCE=api-debian-10-tiamat-py3
- # - env: INSTANCE=api-debian-9-tiamat-py3
- # - env: INSTANCE=api-ubuntu-2004-tiamat-py3
- # - env: INSTANCE=api-ubuntu-1804-tiamat-py3
- # - env: INSTANCE=api-ubuntu-1604-tiamat-py3
- # - env: INSTANCE=api-centos-8-tiamat-py3
- # - env: INSTANCE=api-centos-7-tiamat-py3
- # - env: INSTANCE=api-amazonlinux-2-tiamat-py3
- # - env: INSTANCE=api-oraclelinux-8-tiamat-py3
- # - env: INSTANCE=api-oraclelinux-7-tiamat-py3
- - env: INSTANCE=api-debian-10-master-py3
- - env: INSTANCE=workbench-debian-10-master-py3
- # - env: INSTANCE=shell-debian-10-master-py3
- - env: INSTANCE=keepstore-debian-10-master-py3
- # - env: INSTANCE=api-debian-9-master-py3
- # - env: INSTANCE=workbench-debian-9-master-py3
- # - env: INSTANCE=shell-debian-9-master-py3
- # - env: INSTANCE=keepstore-debian-9-master-py3
- # - env: INSTANCE=api-ubuntu-2004-master-py3
- # - env: INSTANCE=workbench-ubuntu-2004-master-py3
- # - env: INSTANCE=shell-ubuntu-2004-master-py3
- # - env: INSTANCE=keepstore-ubuntu-2004-master-py3
- - env: INSTANCE=api-ubuntu-1804-master-py3
- - env: INSTANCE=workbench-ubuntu-1804-master-py3
- # - env: INSTANCE=shell-ubuntu-1804-master-py3
- # - env: INSTANCE=keepstore-ubuntu-1804-master-py3
- # - env: INSTANCE=api-ubuntu-1604-master-py3
- # - env: INSTANCE=workbench-ubuntu-1604-master-py3
- # - env: INSTANCE=shell-ubuntu-1604-master-py3
- # - env: INSTANCE=keepstore-ubuntu-1604-master-py3
- # - env: INSTANCE=api-centos-8-master-py3
- # - env: INSTANCE=workbench-centos-8-master-py3
- # - env: INSTANCE=shell-centos-8-master-py3
- # - env: INSTANCE=keepstore-centos-8-master-py3
- # - env: INSTANCE=api-centos-7-master-py3
- # - env: INSTANCE=workbench-centos-7-master-py3
- - env: INSTANCE=shell-centos-7-master-py3
- - env: INSTANCE=keepstore-centos-7-master-py3
- # - env: INSTANCE=api-amazonlinux-2-master-py3
- # - env: INSTANCE=workbench-amazonlinux-2-master-py3
- # - env: INSTANCE=shell-amazonlinux-2-master-py3
- # - env: INSTANCE=keepstore-amazonlinux-2-master-py3
- # - env: INSTANCE=api-oraclelinux-8-master-py3
- # - env: INSTANCE=workbench-oraclelinux-8-master-py3
- # - env: INSTANCE=shell-oraclelinux-8-master-py3
- # - env: INSTANCE=keepstore-oraclelinux-8-master-py3
- # - env: INSTANCE=api-oraclelinux-7-master-py3
- # - env: INSTANCE=workbench-oraclelinux-7-master-py3
- # - env: INSTANCE=shell-oraclelinux-7-master-py3
- # - env: INSTANCE=keepstore-oraclelinux-7-master-py3
- # - env: INSTANCE=api-debian-10-3002-5-py3
- # - env: INSTANCE=api-debian-9-3002-5-py3
- # - env: INSTANCE=api-ubuntu-2004-3002-5-py3
- # - env: INSTANCE=api-ubuntu-1804-3002-5-py3
- # - env: INSTANCE=api-ubuntu-1604-3002-5-py3
- # - env: INSTANCE=api-centos-8-3002-5-py3
- # - env: INSTANCE=api-centos-7-3002-5-py3
- # - env: INSTANCE=api-amazonlinux-2-3002-5-py3
- # - env: INSTANCE=api-oraclelinux-8-3002-5-py3
- # - env: INSTANCE=api-oraclelinux-7-3002-5-py3
- # - env: INSTANCE=api-debian-10-3001-6-py3
- # - env: INSTANCE=api-debian-9-3001-6-py3
- # - env: INSTANCE=api-ubuntu-2004-3001-6-py3
- # - env: INSTANCE=api-ubuntu-1804-3001-6-py3
- # - env: INSTANCE=api-ubuntu-1604-3001-6-py3
- # - env: INSTANCE=api-centos-8-3001-6-py3
- # - env: INSTANCE=api-centos-7-3001-6-py3
- # - env: INSTANCE=api-amazonlinux-2-3001-6-py3
- # - env: INSTANCE=api-oraclelinux-8-3001-6-py3
- # - env: INSTANCE=api-oraclelinux-7-3001-6-py3
- # - env: INSTANCE=api-debian-10-3000-8-py3
- # - env: INSTANCE=api-debian-9-3000-8-py3
- # - env: INSTANCE=api-ubuntu-1804-3000-8-py3
- # - env: INSTANCE=api-ubuntu-1604-3000-8-py3
- # - env: INSTANCE=api-centos-8-3000-8-py3
- # - env: INSTANCE=api-centos-7-3000-8-py3
- # - env: INSTANCE=api-amazonlinux-2-3000-8-py3
- # - env: INSTANCE=api-oraclelinux-8-3000-8-py3
- # - env: INSTANCE=api-oraclelinux-7-3000-8-py3
- # - env: INSTANCE=api-ubuntu-1804-3000-8-py2
- # - env: INSTANCE=api-ubuntu-1604-3000-8-py2
-
- ## Define the release stage that runs `semantic-release`
- - stage: 'release'
- language: 'node_js'
- node_js: 'lts/*'
- env: 'Release'
- name: 'Run semantic-release inc. file updates to AUTHORS, CHANGELOG & FORMULA'
- before_install: 'skip'
- script:
- # Update `AUTHORS.md`
- - export MAINTAINER_TOKEN=${GH_TOKEN}
- - go get github.com/myii/maintainer
- - maintainer contributor
-
- # Install all dependencies required for `semantic-release`
- - npm i -D @semantic-release/changelog@3
- @semantic-release/exec@3
- @semantic-release/git@7
- deploy:
- provider: 'script'
- # Opt-in to `dpl v2` to complete the Travis build config validation (beta)
- # * https://docs.travis-ci.com/user/build-config-validation
- # Deprecated `skip_cleanup` can now be avoided, `cleanup: false` is by default
- edge: true
- # Run `semantic-release`
- script: 'npx semantic-release@15.14'
-
-# Notification options: `always`, `never` or `change`
-notifications:
- webhooks:
- if: 'repo = saltstack-formulas/arvados-formula'
- urls:
- - https://saltstack-formulas.zulipchat.com/api/v1/external/travis?api_key=HsIq3o5QmLxdnVCKF9is0FUIpkpAY79P&stream=CI&topic=saltstack-formulas%2Farvados-formula&ignore_pull_requests=true
- on_success: always # default: always
- on_failure: always # default: always
- on_start: always # default: never
- on_cancel: always # default: always
- on_error: always # default: always
+++ /dev/null
-# Authors
-
-This list is sorted by the number of commits per contributor in _descending_ order.
-
-Avatar|Contributor|Contributions
-:-:|---|:-:
-<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/242396?v=4' width='36' height='36' alt='@javierbertoli'>|[@javierbertoli](https://github.com/javierbertoli)|34
-<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>|[@myii](https://github.com/myii)|25
-<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/4195158?v=4' width='36' height='36' alt='@dafyddj'>|[@dafyddj](https://github.com/dafyddj)|2
-<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/149135?v=4' width='36' height='36' alt='@cure'>|[@cure](https://github.com/cure)|1
-
----
-
-Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2020-12-23.
+++ /dev/null
-# Changelog
-
-## [1.1.4](https://github.com/saltstack-formulas/arvados-formula/compare/v1.1.3...v1.1.4) (2020-12-23)
-
-
-### Bug Fixes
-
-* **apt:** update repository URL ([b1b06f9](https://github.com/saltstack-formulas/arvados-formula/commit/b1b06f9d72917d55a6622eddf43a896432ffd8c4))
-
-
-### Continuous Integration
-
-* **commitlint:** ensure `upstream/master` uses main repo URL [skip ci] ([24c9b5d](https://github.com/saltstack-formulas/arvados-formula/commit/24c9b5d1e79a22189c93902ec7099dd9dc656f71))
-* **gitlab-ci:** add `rubocop` linter (with `allow_failure`) [skip ci] ([7a3adcc](https://github.com/saltstack-formulas/arvados-formula/commit/7a3adcc682b1c9f5a4a44a34306425484a843799))
-* **gitlab-ci:** use GitLab CI as Travis CI replacement ([e3ad2e8](https://github.com/saltstack-formulas/arvados-formula/commit/e3ad2e84ade6d1c3112e5f278b71b065f6cc7a66))
-
-## [1.1.3](https://github.com/saltstack-formulas/arvados-formula/compare/v1.1.2...v1.1.3) (2020-12-07)
-
-
-### Documentation
-
-* **examples:** reduce snakeoil cert days to 1yr ([0bc7de5](https://github.com/saltstack-formulas/arvados-formula/commit/0bc7de5ca4bf431ddebcedd6a38fb911a2234fdf))
-
-## [1.1.2](https://github.com/saltstack-formulas/arvados-formula/compare/v1.1.1...v1.1.2) (2020-12-07)
-
-
-### Documentation
-
-* **examples:** add missing SAN to snakeoil ssl cert ([a68f6fa](https://github.com/saltstack-formulas/arvados-formula/commit/a68f6fa7e39be665dcea0becc7dad2628e715b29))
-* **examples:** better organization and naming ([fa49dbe](https://github.com/saltstack-formulas/arvados-formula/commit/fa49dbe833c7867ac95da84f9b36c8114cd89039))
-* **examples:** improve helper snakeoil ssl certs ([fcec3ef](https://github.com/saltstack-formulas/arvados-formula/commit/fcec3ef0a2623e8d51def868ccf4622b7c200be4))
-
-## [1.1.1](https://github.com/saltstack-formulas/arvados-formula/compare/v1.1.0...v1.1.1) (2020-11-24)
-
-
-### Bug Fixes
-
-* **creds:** remove underscores ([64c887c](https://github.com/saltstack-formulas/arvados-formula/commit/64c887ce15cd538dc1cc003d2cde2773cd1d291e))
-* **crunch-dispatch-local:** re-enable crunch-run.sh to tune docker call ([0fdc919](https://github.com/saltstack-formulas/arvados-formula/commit/0fdc919736977fbffdd4ba76ef0f41c67f279842))
-* **dispatcher:** add missing crunch-dispatch-local config file ([91e5896](https://github.com/saltstack-formulas/arvados-formula/commit/91e5896ec5fad6edbb8cc2574cd02f6ddd5f3a1c))
-
-
-### Documentation
-
-* **single_host:** fix hostnames and tests ([6c52de7](https://github.com/saltstack-formulas/arvados-formula/commit/6c52de7c70c90784df58e6dbc6c43a71b9cc7e7c))
-
-
-### Tests
-
-* **dispatcher:** add helper state ([1bddf7e](https://github.com/saltstack-formulas/arvados-formula/commit/1bddf7efba4c6abeaa1a530664672bffa965998d))
-* **dispatcher:** cert needs to match each hostname ([2ac8a85](https://github.com/saltstack-formulas/arvados-formula/commit/2ac8a85f91b60ebe5fb337bfcbeb09836842ed85))
-
-# [1.1.0](https://github.com/saltstack-formulas/arvados-formula/compare/v1.0.2...v1.1.0) (2020-11-03)
-
-
-### Features
-
-* **distro:** add centos-7 support ([ba5e37e](https://github.com/saltstack-formulas/arvados-formula/commit/ba5e37ebc18049d4340388fc0c19dcb2a78d6a86))
-
-## [1.0.2](https://github.com/saltstack-formulas/arvados-formula/compare/v1.0.1...v1.0.2) (2020-10-17)
-
-
-### Bug Fixes
-
-* **dispatcher:** add missing files for local dispatcher ([eb73d56](https://github.com/saltstack-formulas/arvados-formula/commit/eb73d564b0b36810c56a39bbb2e75267521bfe5c))
-
-## [1.0.1](https://github.com/saltstack-formulas/arvados-formula/compare/v1.0.0...v1.0.1) (2020-10-16)
-
-
-### Bug Fixes
-
-* **config:** prevent duplicated, undesired entries ([d9ede82](https://github.com/saltstack-formulas/arvados-formula/commit/d9ede8264d9a9cbbd6eab15f98abc2326488bc7b))
-
-
-### Documentation
-
-* **examples:** improve consistency in naming ([73a0b42](https://github.com/saltstack-formulas/arvados-formula/commit/73a0b42b03c3a8c247712ce5e64b7215686e9cef))
-
-# [1.0.0](https://github.com/saltstack-formulas/arvados-formula/compare/v0.3.0...v1.0.0) (2020-10-15)
-
-# [0.3.0](https://github.com/saltstack-formulas/arvados-formula/compare/v0.2.1...v0.3.0) (2020-10-14)
-
-
-### Continuous Integration
-
-* **pre-commit:** add to formula [skip ci] ([703e004](https://github.com/saltstack-formulas/arvados-formula/commit/703e0047f809f20919e47718cfe074e4dd8f3b70))
-* **pre-commit:** enable/disable `rstcheck` as relevant [skip ci] ([860adf0](https://github.com/saltstack-formulas/arvados-formula/commit/860adf045fae4506b3af5d1ee7f2ac2530df125a))
-* **pre-commit:** finalise `rstcheck` configuration [skip ci] ([9539adf](https://github.com/saltstack-formulas/arvados-formula/commit/9539adf89eb2543309278f6e48c1146de3cd12d1))
-
-
-### Documentation
-
-* **readme:** fix `rstcheck` violation [skip ci] ([bceb58a](https://github.com/saltstack-formulas/arvados-formula/commit/bceb58ada62e79bf9387a352669dfb0eb722b730)), closes [/travis-ci.org/github/myii/arvados-formula/builds/731605195#L255](https://github.com//travis-ci.org/github/myii/arvados-formula/builds/731605195/issues/L255)
-
-
-### Features
-
-* **components,version:** add extra components, new version ([4bf9501](https://github.com/saltstack-formulas/arvados-formula/commit/4bf9501a14f86845865244ee3ffb03a34707d36c))
-
-
-### Styles
-
-* **libtofs.jinja:** use Black-inspired Jinja formatting [skip ci] ([64798a8](https://github.com/saltstack-formulas/arvados-formula/commit/64798a8c8f9d720de1e346b20e87ecbbffe56e2a))
-
-## [0.2.1](https://github.com/saltstack-formulas/arvados-formula/compare/v0.2.0...v0.2.1) (2020-06-16)
-
-
-### Bug Fixes
-
-* **init:** enable all sub-modules ([dd5b832](https://github.com/saltstack-formulas/arvados-formula/commit/dd5b832e0209950b97f3d84c1bce71e96a5cde41))
-
-
-### Continuous Integration
-
-* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([ffc372d](https://github.com/saltstack-formulas/arvados-formula/commit/ffc372d4134debada69126f178493e0e7d6b68b3))
-* **kitchen+travis:** adjust matrix to add `3000.3` [skip ci] ([34c3f28](https://github.com/saltstack-formulas/arvados-formula/commit/34c3f2889fd2f4d058c9c56972cc3b3fca28c417))
-* **travis:** add notifications => zulip [skip ci] ([71b9243](https://github.com/saltstack-formulas/arvados-formula/commit/71b9243248531e8180fb9918564b0fbd744b89c8))
-
-
-### Documentation
-
-* **examples:** fix websocket nginx example stanza ([f1f4904](https://github.com/saltstack-formulas/arvados-formula/commit/f1f4904bce70447c910b07ba8745f05be7e1d1ae))
-
-# [0.2.0](https://github.com/saltstack-formulas/arvados-formula/compare/v0.1.0...v0.2.0) (2020-05-05)
-
-
-### Continuous Integration
-
-* **kitchen+travis:** adjust matrix to use `3000.2` instead of `3000.1` ([37f0adf](https://github.com/saltstack-formulas/arvados-formula/commit/37f0adfc826461b2522cd0e5852c27a408543f41))
-
-
-### Features
-
-* **semantic-release:** standardise for this formula ([3d4138e](https://github.com/saltstack-formulas/arvados-formula/commit/3d4138ef0c1ad1863989aa38d6e1a0b10490b977))
+++ /dev/null
-# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
-
-# SECTION: Owner(s) for everything in the repo, unless a later match takes precedence
-# FILE PATTERN OWNER(S)
-* @javierbertoli
-
-# SECTION: Owner(s) for specific directories
-# FILE PATTERN OWNER(S)
-
-# SECTION: Owner(s) for files/directories related to `semantic-release`
-# FILE PATTERN OWNER(S)
-/.github/workflows/ @saltstack-formulas/ssf
-/bin/install-hooks @saltstack-formulas/ssf
-/bin/kitchen @saltstack-formulas/ssf
-/docs/AUTHORS.rst @saltstack-formulas/ssf
-/docs/CHANGELOG.rst @saltstack-formulas/ssf
-/docs/TOFS_pattern.rst @saltstack-formulas/ssf
-/*/_mapdata/ @saltstack-formulas/ssf
-/*/libsaltcli.jinja @saltstack-formulas/ssf
-/*/libtofs.jinja @saltstack-formulas/ssf
-/test/integration/**/_mapdata.rb @saltstack-formulas/ssf
-/test/integration/**/libraries/system.rb @saltstack-formulas/ssf
-/test/integration/**/inspec.yml @saltstack-formulas/ssf
-/test/integration/**/README.md @saltstack-formulas/ssf
-/.gitignore @saltstack-formulas/ssf
-/.cirrus.yml @saltstack-formulas/ssf
-/.gitlab-ci.yml @saltstack-formulas/ssf
-/.pre-commit-config.yaml @saltstack-formulas/ssf
-/.rstcheck.cfg @saltstack-formulas/ssf
-/.rubocop.yml @saltstack-formulas/ssf
-/.salt-lint @saltstack-formulas/ssf
-/.travis.yml @saltstack-formulas/ssf
-/.yamllint @saltstack-formulas/ssf
-/AUTHORS.md @saltstack-formulas/ssf
-/CHANGELOG.md @saltstack-formulas/ssf
-/CODEOWNERS @saltstack-formulas/ssf
-/commitlint.config.js @saltstack-formulas/ssf
-/FORMULA @saltstack-formulas/ssf
-/Gemfile @saltstack-formulas/ssf
-/Gemfile.lock @saltstack-formulas/ssf
-/kitchen.yml @saltstack-formulas/ssf
-/kitchen.vagrant.yml @saltstack-formulas/ssf
-/kitchen.windows.yml @saltstack-formulas/ssf
-/pre-commit_semantic-release.sh @saltstack-formulas/ssf
-/release-rules.js @saltstack-formulas/ssf
-/release.config.js @saltstack-formulas/ssf
-
-# SECTION: Owner(s) for specific files
-# FILE PATTERN OWNER(S)
+++ /dev/null
-#!/usr/bin/env sh
-set -o nounset # Treat unset variables as an error and immediately exit
-set -o errexit # If a command fails exit the whole script
-
-if [ "${DEBUG:-false}" = "true" ]; then
- set -x # Run the entire script in debug mode
-fi
-
-if ! command -v pre-commit >/dev/null 2>&1; then
- echo "pre-commit not found: please install or check your PATH" >&2
- echo "See https://pre-commit.com/#installation" >&2
- exit 1
-fi
-
-pre-commit install --install-hooks
-pre-commit install --hook-type commit-msg --install-hooks
+++ /dev/null
-#!/usr/bin/env ruby
-# frozen_string_literal: true
-
-#
-# This file was generated by Bundler.
-#
-# The application 'kitchen' is installed as part of a gem, and
-# this file is here to facilitate running it.
-#
-
-require 'pathname'
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
- Pathname.new(__FILE__).realpath)
-
-bundle_binstub = File.expand_path('bundle', __dir__)
-
-if File.file?(bundle_binstub)
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
- load(bundle_binstub)
- else
- abort(
- 'Your `bin/bundle` was not generated by Bundler, '\
- 'so this binstub cannot run. Replace `bin/bundle` by running '\
- '`bundle binstubs bundler --force`, then run this command again.'
- )
- end
-end
-
-require 'rubygems'
-require 'bundler/setup'
-
-load Gem.bin_path('test-kitchen', 'kitchen')
+++ /dev/null
-.. role:: raw-html-m2r(raw)
- :format: html
-
-
-Authors
-=======
-
-This list is sorted by the number of commits per contributor in *descending* order.
-
-.. list-table::
- :header-rows: 1
-
- * - Avatar
- - Contributor
- - Contributions
- * - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/242396?v=4' width='36' height='36' alt='@javierbertoli'>`
- - `@javierbertoli <https://github.com/javierbertoli>`_
- - 34
- * - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>`
- - `@myii <https://github.com/myii>`_
- - 25
- * - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/4195158?v=4' width='36' height='36' alt='@dafyddj'>`
- - `@dafyddj <https://github.com/dafyddj>`_
- - 2
- * - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/149135?v=4' width='36' height='36' alt='@cure'>`
- - `@cure <https://github.com/cure>`_
- - 1
-
-
-----
-
-Auto-generated by a `forked version <https://github.com/myii/maintainer>`_ of `gaocegege/maintainer <https://github.com/gaocegege/maintainer>`_ on 2020-12-23.
+++ /dev/null
-
-Changelog
-=========
-
-`1.1.4 <https://github.com/saltstack-formulas/arvados-formula/compare/v1.1.3...v1.1.4>`_ (2020-12-23)
----------------------------------------------------------------------------------------------------------
-
-Bug Fixes
-^^^^^^^^^
-
-
-* **apt:** update repository URL (\ `b1b06f9 <https://github.com/saltstack-formulas/arvados-formula/commit/b1b06f9d72917d55a6622eddf43a896432ffd8c4>`_\ )
-
-Continuous Integration
-^^^^^^^^^^^^^^^^^^^^^^
-
-
-* **commitlint:** ensure ``upstream/master`` uses main repo URL [skip ci] (\ `24c9b5d <https://github.com/saltstack-formulas/arvados-formula/commit/24c9b5d1e79a22189c93902ec7099dd9dc656f71>`_\ )
-* **gitlab-ci:** add ``rubocop`` linter (with ``allow_failure``\ ) [skip ci] (\ `7a3adcc <https://github.com/saltstack-formulas/arvados-formula/commit/7a3adcc682b1c9f5a4a44a34306425484a843799>`_\ )
-* **gitlab-ci:** use GitLab CI as Travis CI replacement (\ `e3ad2e8 <https://github.com/saltstack-formulas/arvados-formula/commit/e3ad2e84ade6d1c3112e5f278b71b065f6cc7a66>`_\ )
-
-`1.1.3 <https://github.com/saltstack-formulas/arvados-formula/compare/v1.1.2...v1.1.3>`_ (2020-12-07)
----------------------------------------------------------------------------------------------------------
-
-Documentation
-^^^^^^^^^^^^^
-
-
-* **examples:** reduce snakeoil cert days to 1yr (\ `0bc7de5 <https://github.com/saltstack-formulas/arvados-formula/commit/0bc7de5ca4bf431ddebcedd6a38fb911a2234fdf>`_\ )
-
-`1.1.2 <https://github.com/saltstack-formulas/arvados-formula/compare/v1.1.1...v1.1.2>`_ (2020-12-07)
----------------------------------------------------------------------------------------------------------
-
-Documentation
-^^^^^^^^^^^^^
-
-
-* **examples:** add missing SAN to snakeoil ssl cert (\ `a68f6fa <https://github.com/saltstack-formulas/arvados-formula/commit/a68f6fa7e39be665dcea0becc7dad2628e715b29>`_\ )
-* **examples:** better organization and naming (\ `fa49dbe <https://github.com/saltstack-formulas/arvados-formula/commit/fa49dbe833c7867ac95da84f9b36c8114cd89039>`_\ )
-* **examples:** improve helper snakeoil ssl certs (\ `fcec3ef <https://github.com/saltstack-formulas/arvados-formula/commit/fcec3ef0a2623e8d51def868ccf4622b7c200be4>`_\ )
-
-`1.1.1 <https://github.com/saltstack-formulas/arvados-formula/compare/v1.1.0...v1.1.1>`_ (2020-11-24)
----------------------------------------------------------------------------------------------------------
-
-Bug Fixes
-^^^^^^^^^
-
-
-* **creds:** remove underscores (\ `64c887c <https://github.com/saltstack-formulas/arvados-formula/commit/64c887ce15cd538dc1cc003d2cde2773cd1d291e>`_\ )
-* **crunch-dispatch-local:** re-enable crunch-run.sh to tune docker call (\ `0fdc919 <https://github.com/saltstack-formulas/arvados-formula/commit/0fdc919736977fbffdd4ba76ef0f41c67f279842>`_\ )
-* **dispatcher:** add missing crunch-dispatch-local config file (\ `91e5896 <https://github.com/saltstack-formulas/arvados-formula/commit/91e5896ec5fad6edbb8cc2574cd02f6ddd5f3a1c>`_\ )
-
-Documentation
-^^^^^^^^^^^^^
-
-
-* **single_host:** fix hostnames and tests (\ `6c52de7 <https://github.com/saltstack-formulas/arvados-formula/commit/6c52de7c70c90784df58e6dbc6c43a71b9cc7e7c>`_\ )
-
-Tests
-^^^^^
-
-
-* **dispatcher:** add helper state (\ `1bddf7e <https://github.com/saltstack-formulas/arvados-formula/commit/1bddf7efba4c6abeaa1a530664672bffa965998d>`_\ )
-* **dispatcher:** cert needs to match each hostname (\ `2ac8a85 <https://github.com/saltstack-formulas/arvados-formula/commit/2ac8a85f91b60ebe5fb337bfcbeb09836842ed85>`_\ )
-
-`1.1.0 <https://github.com/saltstack-formulas/arvados-formula/compare/v1.0.2...v1.1.0>`_ (2020-11-03)
----------------------------------------------------------------------------------------------------------
-
-Features
-^^^^^^^^
-
-
-* **distro:** add centos-7 support (\ `ba5e37e <https://github.com/saltstack-formulas/arvados-formula/commit/ba5e37ebc18049d4340388fc0c19dcb2a78d6a86>`_\ )
-
-`1.0.2 <https://github.com/saltstack-formulas/arvados-formula/compare/v1.0.1...v1.0.2>`_ (2020-10-17)
----------------------------------------------------------------------------------------------------------
-
-Bug Fixes
-^^^^^^^^^
-
-
-* **dispatcher:** add missing files for local dispatcher (\ `eb73d56 <https://github.com/saltstack-formulas/arvados-formula/commit/eb73d564b0b36810c56a39bbb2e75267521bfe5c>`_\ )
-
-`1.0.1 <https://github.com/saltstack-formulas/arvados-formula/compare/v1.0.0...v1.0.1>`_ (2020-10-16)
----------------------------------------------------------------------------------------------------------
-
-Bug Fixes
-^^^^^^^^^
-
-
-* **config:** prevent duplicated, undesired entries (\ `d9ede82 <https://github.com/saltstack-formulas/arvados-formula/commit/d9ede8264d9a9cbbd6eab15f98abc2326488bc7b>`_\ )
-
-Documentation
-^^^^^^^^^^^^^
-
-
-* **examples:** improve consistency in naming (\ `73a0b42 <https://github.com/saltstack-formulas/arvados-formula/commit/73a0b42b03c3a8c247712ce5e64b7215686e9cef>`_\ )
-
-`1.0.0 <https://github.com/saltstack-formulas/arvados-formula/compare/v0.3.0...v1.0.0>`_ (2020-10-15)
----------------------------------------------------------------------------------------------------------
-
-`0.3.0 <https://github.com/saltstack-formulas/arvados-formula/compare/v0.2.1...v0.3.0>`_ (2020-10-14)
----------------------------------------------------------------------------------------------------------
-
-Continuous Integration
-^^^^^^^^^^^^^^^^^^^^^^
-
-
-* **pre-commit:** add to formula [skip ci] (\ `703e004 <https://github.com/saltstack-formulas/arvados-formula/commit/703e0047f809f20919e47718cfe074e4dd8f3b70>`_\ )
-* **pre-commit:** enable/disable ``rstcheck`` as relevant [skip ci] (\ `860adf0 <https://github.com/saltstack-formulas/arvados-formula/commit/860adf045fae4506b3af5d1ee7f2ac2530df125a>`_\ )
-* **pre-commit:** finalise ``rstcheck`` configuration [skip ci] (\ `9539adf <https://github.com/saltstack-formulas/arvados-formula/commit/9539adf89eb2543309278f6e48c1146de3cd12d1>`_\ )
-
-Documentation
-^^^^^^^^^^^^^
-
-
-* **readme:** fix ``rstcheck`` violation [skip ci] (\ `bceb58a <https://github.com/saltstack-formulas/arvados-formula/commit/bceb58ada62e79bf9387a352669dfb0eb722b730>`_\ ), closes `/travis-ci.org/github/myii/arvados-formula/builds/731605195#L255 <https://github.com//travis-ci.org/github/myii/arvados-formula/builds/731605195/issues/L255>`_
-
-Features
-^^^^^^^^
-
-
-* **components,version:** add extra components, new version (\ `4bf9501 <https://github.com/saltstack-formulas/arvados-formula/commit/4bf9501a14f86845865244ee3ffb03a34707d36c>`_\ )
-
-Styles
-^^^^^^
-
-
-* **libtofs.jinja:** use Black-inspired Jinja formatting [skip ci] (\ `64798a8 <https://github.com/saltstack-formulas/arvados-formula/commit/64798a8c8f9d720de1e346b20e87ecbbffe56e2a>`_\ )
-
-`0.2.1 <https://github.com/saltstack-formulas/arvados-formula/compare/v0.2.0...v0.2.1>`_ (2020-06-16)
----------------------------------------------------------------------------------------------------------
-
-Bug Fixes
-^^^^^^^^^
-
-
-* **init:** enable all sub-modules (\ `dd5b832 <https://github.com/saltstack-formulas/arvados-formula/commit/dd5b832e0209950b97f3d84c1bce71e96a5cde41>`_\ )
-
-Continuous Integration
-^^^^^^^^^^^^^^^^^^^^^^
-
-
-* **kitchen:** use ``saltimages`` Docker Hub where available [skip ci] (\ `ffc372d <https://github.com/saltstack-formulas/arvados-formula/commit/ffc372d4134debada69126f178493e0e7d6b68b3>`_\ )
-* **kitchen+travis:** adjust matrix to add ``3000.3`` [skip ci] (\ `34c3f28 <https://github.com/saltstack-formulas/arvados-formula/commit/34c3f2889fd2f4d058c9c56972cc3b3fca28c417>`_\ )
-* **travis:** add notifications => zulip [skip ci] (\ `71b9243 <https://github.com/saltstack-formulas/arvados-formula/commit/71b9243248531e8180fb9918564b0fbd744b89c8>`_\ )
-
-Documentation
-^^^^^^^^^^^^^
-
-
-* **examples:** fix websocket nginx example stanza (\ `f1f4904 <https://github.com/saltstack-formulas/arvados-formula/commit/f1f4904bce70447c910b07ba8745f05be7e1d1ae>`_\ )
-
-`0.2.0 <https://github.com/saltstack-formulas/arvados-formula/compare/v0.1.0...v0.2.0>`_ (2020-05-05)
----------------------------------------------------------------------------------------------------------
-
-Continuous Integration
-^^^^^^^^^^^^^^^^^^^^^^
-
-
-* **kitchen+travis:** adjust matrix to use ``3000.2`` instead of ``3000.1`` (\ `37f0adf <https://github.com/saltstack-formulas/arvados-formula/commit/37f0adfc826461b2522cd0e5852c27a408543f41>`_\ )
-
-Features
-^^^^^^^^
-
-
-* **semantic-release:** standardise for this formula (\ `3d4138e <https://github.com/saltstack-formulas/arvados-formula/commit/3d4138ef0c1ad1863989aa38d6e1a0b10490b977>`_\ )
.. _readme:
+..
+ # Copyright (C) The Arvados Authors. All rights reserved.
+ #
+ # SPDX-License-Identifier: Apache-2.0
+
arvados-formula
================
-|img_travis| |img_sr|
-
-.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/arvados-formula.svg?branch=master
- :alt: Travis CI Build Status
- :scale: 100%
- :target: https://travis-ci.com/saltstack-formulas/arvados-formula
-.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
- :alt: Semantic Release
- :scale: 100%
- :target: https://github.com/semantic-release/semantic-release
-
A SaltStack formula to install and configure an `Arvados cluster <https://arvados.org>`_.
.. contents:: **Table of Contents**
See the full `SaltStack Formulas installation and usage instructions
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
-If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section
-<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas>`_.
-
-If you want to use this formula, please pay attention to the ``FORMULA`` file and/or ``git tag``,
-which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/>`_.
-
-See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning>`_ for more details.
-
If you need (non-default) configuration, please pay attention to the ``pillar.example`` file and/or `Special notes`_ section.
Contributing to this repo
Arvados currently has three dispatchers:
-* **crunch-dispatch-local** (for single node installations),
+* **crunch-dispatch-local** (for single node installations and testing purposes, not suitable for production),
* **arvados-dispatch-cloud** (for dynamic compute on AWS or Azure) and
* **crunch-dispatch-slurm** (for SLURM integration).
# -*- coding: utf-8 -*-
# vim: ft=yaml
+
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
---
# For help on this file's format, see https://kitchen.ci/
driver:
- name: ubuntu-1604-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:ubuntu-16.04
- - name: centos-8-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:centos-8
- name: centos-7-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:centos-7
- - name: amazonlinux-2-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:amazonlinux-2
- - name: oraclelinux-8-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:oraclelinux-8
- - name: oraclelinux-7-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:oraclelinux-7
## SALT `master`
- name: debian-10-master-py3
- name: ubuntu-1604-master-py3
driver:
image: saltimages/salt-master-py3:ubuntu-16.04
- - name: centos-8-master-py3
- driver:
- image: saltimages/salt-master-py3:centos-8
- name: centos-7-master-py3
driver:
image: saltimages/salt-master-py3:centos-7
- - name: amazonlinux-2-master-py3
- driver:
- image: saltimages/salt-master-py3:amazonlinux-2
- - name: oraclelinux-8-master-py3
- driver:
- image: saltimages/salt-master-py3:oraclelinux-8
- - name: oraclelinux-7-master-py3
- driver:
- image: saltimages/salt-master-py3:oraclelinux-7
## SALT `3003.0`
- name: debian-10-3003-0-py3
- name: ubuntu-1804-3003-0-py3
driver:
image: saltimages/salt-3003.0-py3:ubuntu-18.04
- - name: centos-8-3003-0-py3
- driver:
- image: saltimages/salt-3003.0-py3:centos-8
- name: centos-7-3003-0-py3
driver:
image: saltimages/salt-3003.0-py3:centos-7
- - name: amazonlinux-2-3003-0-py3
- driver:
- image: saltimages/salt-3003.0-py3:amazonlinux-2
- - name: oraclelinux-8-3003-0-py3
- driver:
- image: saltimages/salt-3003.0-py3:oraclelinux-8
- - name: oraclelinux-7-3003-0-py3
- driver:
- image: saltimages/salt-3003.0-py3:oraclelinux-7
## SALT `3002.6`
- name: debian-10-3002-6-py3
- name: ubuntu-1604-3002-6-py3
driver:
image: saltimages/salt-3002.6-py3:ubuntu-16.04
- - name: centos-8-3002-6-py3
- driver:
- image: saltimages/salt-3002.6-py3:centos-8
- name: centos-7-3002-6-py3
driver:
image: saltimages/salt-3002.6-py3:centos-7
- - name: amazonlinux-2-3002-6-py3
- driver:
- image: saltimages/salt-3002.6-py3:amazonlinux-2
- - name: oraclelinux-8-3002-6-py3
- driver:
- image: saltimages/salt-3002.6-py3:oraclelinux-8
- - name: oraclelinux-7-3002-6-py3
- driver:
- image: saltimages/salt-3002.6-py3:oraclelinux-7
## SALT `3001.7`
- name: debian-10-3001-7-py3
- name: ubuntu-1604-3001-7-py3
driver:
image: saltimages/salt-3001.7-py3:ubuntu-16.04
- - name: centos-8-3001-7-py3
- driver:
- image: saltimages/salt-3001.7-py3:centos-8
- name: centos-7-3001-7-py3
driver:
image: saltimages/salt-3001.7-py3:centos-7
- - name: amazonlinux-2-3001-7-py3
- driver:
- image: saltimages/salt-3001.7-py3:amazonlinux-2
- - name: oraclelinux-8-3001-7-py3
- driver:
- image: saltimages/salt-3001.7-py3:oraclelinux-8
- - name: oraclelinux-7-3001-7-py3
- driver:
- image: saltimages/salt-3001.7-py3:oraclelinux-7
## SALT `3000.9`
- name: debian-10-3000-9-py3
- name: ubuntu-1604-3000-9-py3
driver:
image: saltimages/salt-3000.9-py3:ubuntu-16.04
- - name: centos-8-3000-9-py3
- driver:
- image: saltimages/salt-3000.9-py3:centos-8
- name: centos-7-3000-9-py3
driver:
image: saltimages/salt-3000.9-py3:centos-7
- - name: amazonlinux-2-3000-9-py3
- driver:
- image: saltimages/salt-3000.9-py3:amazonlinux-2
- - name: oraclelinux-8-3000-9-py3
- driver:
- image: saltimages/salt-3000.9-py3:oraclelinux-8
- - name: oraclelinux-7-3000-9-py3
- driver:
- image: saltimages/salt-3000.9-py3:oraclelinux-7
- name: ubuntu-1804-3000-9-py2
driver:
image: saltimages/salt-3000.9-py2:ubuntu-18.04
+++ /dev/null
-#!/bin/sh
-
-###############################################################################
-# (A) Update `FORMULA` with `${nextRelease.version}`
-###############################################################################
-sed -i -e "s_^\(version:\).*_\1 ${1}_" FORMULA
-
-
-###############################################################################
-# (B) Use `m2r` to convert automatically produced `.md` docs to `.rst`
-###############################################################################
-
-# Install `m2r`
-pip3 install m2r
-
-# Copy and then convert the `.md` docs
-cp ./*.md docs/
-cd docs/ || exit
-m2r --overwrite ./*.md
-
-# Change excess `H1` headings to `H2` in converted `CHANGELOG.rst`
-sed -i -e '/^=.*$/s/=/-/g' CHANGELOG.rst
-sed -i -e '1,4s/-/=/g' CHANGELOG.rst
-
-# Use for debugging output, when required
-# cat AUTHORS.rst
-# cat CHANGELOG.rst
-
-# Return back to the main directory
-cd ..
+++ /dev/null
-// No release is triggered for the types commented out below.
-// Commits using these types will be incorporated into the next release.
-//
-// NOTE: Any changes here must be reflected in `CONTRIBUTING.md`.
-module.exports = [
- {breaking: true, release: 'major'},
- // {type: 'build', release: 'patch'},
- // {type: 'chore', release: 'patch'},
- // {type: 'ci', release: 'patch'},
- {type: 'docs', release: 'patch'},
- {type: 'feat', release: 'minor'},
- {type: 'fix', release: 'patch'},
- {type: 'perf', release: 'patch'},
- {type: 'refactor', release: 'patch'},
- {type: 'revert', release: 'patch'},
- {type: 'style', release: 'patch'},
- {type: 'test', release: 'patch'},
-];
+++ /dev/null
-module.exports = {
- branch: 'master',
- repositoryUrl: 'https://github.com/saltstack-formulas/arvados-formula',
- plugins: [
- ['@semantic-release/commit-analyzer', {
- preset: 'angular',
- releaseRules: './release-rules.js',
- }],
- '@semantic-release/release-notes-generator',
- ['@semantic-release/changelog', {
- changelogFile: 'CHANGELOG.md',
- changelogTitle: '# Changelog',
- }],
- ['@semantic-release/exec', {
- prepareCmd: 'sh ./pre-commit_semantic-release.sh ${nextRelease.version}',
- }],
- ['@semantic-release/git', {
- assets: ['*.md', 'docs/*.rst', 'FORMULA'],
- }],
- '@semantic-release/github',
- ],
- generateNotes: {
- preset: 'angular',
- writerOpts: {
- // Required due to upstream bug preventing all types being displayed.
- // Bug: https://github.com/conventional-changelog/conventional-changelog/issues/317
- // Fix: https://github.com/conventional-changelog/conventional-changelog/pull/410
- transform: (commit, context) => {
- const issues = []
-
- commit.notes.forEach(note => {
- note.title = `BREAKING CHANGES`
- })
-
- // NOTE: Any changes here must be reflected in `CONTRIBUTING.md`.
- if (commit.type === `feat`) {
- commit.type = `Features`
- } else if (commit.type === `fix`) {
- commit.type = `Bug Fixes`
- } else if (commit.type === `perf`) {
- commit.type = `Performance Improvements`
- } else if (commit.type === `revert`) {
- commit.type = `Reverts`
- } else if (commit.type === `docs`) {
- commit.type = `Documentation`
- } else if (commit.type === `style`) {
- commit.type = `Styles`
- } else if (commit.type === `refactor`) {
- commit.type = `Code Refactoring`
- } else if (commit.type === `test`) {
- commit.type = `Tests`
- } else if (commit.type === `build`) {
- commit.type = `Build System`
- // } else if (commit.type === `chore`) {
- // commit.type = `Maintenance`
- } else if (commit.type === `ci`) {
- commit.type = `Continuous Integration`
- } else {
- return
- }
-
- if (commit.scope === `*`) {
- commit.scope = ``
- }
-
- if (typeof commit.hash === `string`) {
- commit.shortHash = commit.hash.substring(0, 7)
- }
-
- if (typeof commit.subject === `string`) {
- let url = context.repository
- ? `${context.host}/${context.owner}/${context.repository}`
- : context.repoUrl
- if (url) {
- url = `${url}/issues/`
- // Issue URLs.
- commit.subject = commit.subject.replace(/#([0-9]+)/g, (_, issue) => {
- issues.push(issue)
- return `[#${issue}](${url}${issue})`
- })
- }
- if (context.host) {
- // User URLs.
- commit.subject = commit.subject.replace(/\B@([a-z0-9](?:-?[a-z0-9/]){0,38})/g, (_, username) => {
- if (username.includes('/')) {
- return `@${username}`
- }
-
- return `[@${username}](${context.host}/${username})`
- })
- }
- }
-
- // remove references that already appear in the subject
- commit.references = commit.references.filter(reference => {
- if (issues.indexOf(reference.issue) === -1) {
- return true
- }
-
- return false
- })
-
- return commit
- },
- },
- },
-};
# -*- coding: utf-8 -*-
# vim: ft=yaml
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
---
name: api
title: arvados formula api submodule
- platform-name: debian
- platform-name: ubuntu
- platform-name: centos
- - platform-name: fedora
- - platform-name: opensuse
- - platform-name: suse
- - platform-name: freebsd
- - platform-name: openbsd
- - platform-name: amazon
- - platform-name: oracle
- - platform-name: arch
- - platform-name: gentoo
- - platform: windows
# -*- coding: utf-8 -*-
# vim: ft=yaml
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
---
name: keepstore
title: arvados formula keepstore submodule
- platform-name: debian
- platform-name: ubuntu
- platform-name: centos
- - platform-name: fedora
- - platform-name: opensuse
- - platform-name: suse
- - platform-name: freebsd
- - platform-name: openbsd
- - platform-name: amazon
- - platform-name: oracle
- - platform-name: arch
- - platform-name: gentoo
- - platform: windows
# -*- coding: utf-8 -*-
# vim: ft=yaml
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
---
name: share
title: InSpec shared resources
- platform-name: debian
- platform-name: ubuntu
- platform-name: centos
- - platform-name: fedora
- - platform-name: opensuse
- - platform-name: suse
- - platform-name: freebsd
- - platform-name: openbsd
- - platform-name: amazon
- - platform-name: oracle
- - platform-name: arch
- - platform-name: gentoo
- - platform: windows
# -*- coding: utf-8 -*-
# vim: ft=yaml
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
---
name: shell
title: arvados formula shell submodule
- platform-name: debian
- platform-name: ubuntu
- platform-name: centos
- - platform-name: fedora
- - platform-name: opensuse
- - platform-name: suse
- - platform-name: freebsd
- - platform-name: openbsd
- - platform-name: amazon
- - platform-name: oracle
- - platform-name: arch
- - platform-name: gentoo
- - platform: windows
# -*- coding: utf-8 -*-
# vim: ft=yaml
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
---
name: workbench
title: arvados formula workbench submodule
- platform-name: debian
- platform-name: ubuntu
- platform-name: centos
- - platform-name: fedora
- - platform-name: opensuse
- - platform-name: suse
- - platform-name: freebsd
- - platform-name: openbsd
- - platform-name: amazon
- - platform-name: oracle
- - platform-name: arch
- - platform-name: gentoo
- - platform: windows