Browse Source

ci: add Debian 11 Bullseye & update `yamllint` configuration [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/345
tags/v1.9.1
Imran Iqbal 3 years ago
parent
commit
ac1d3b9a2d
No account linked to committer's email address
4 changed files with 45 additions and 14 deletions
  1. +13
    -4
      .gitlab-ci.yml
  2. +5
    -3
      .travis.yml
  3. +9
    -7
      .yamllint
  4. +18
    -0
      kitchen.yml

+ 13
- 4
.gitlab-ci.yml View File

############################################################################### ###############################################################################
# Define `test` template # Define `test` template
############################################################################### ###############################################################################
.test_instance:
.test_instance: &test_instance
stage: *stage_test stage: *stage_test
image: *image_dindruby image: *image_dindruby
services: *services_docker_dind services: *services_docker_dind
# Alternative value to consider: `${CI_JOB_NAME}` # Alternative value to consider: `${CI_JOB_NAME}`
- 'bin/kitchen verify "${DOCKER_ENV_CI_JOB_NAME}"' - 'bin/kitchen verify "${DOCKER_ENV_CI_JOB_NAME}"'


###############################################################################
# Define `test` template (`allow_failure: true`)
###############################################################################
.test_instance_failure_permitted:
<<: *test_instance
allow_failure: true

############################################################################### ###############################################################################
# `test` stage: each instance below uses the `test` template above # `test` stage: each instance below uses the `test` template above
############################################################################### ###############################################################################
## Define the rest of the matrix based on Kitchen testing ## Define the rest of the matrix based on Kitchen testing
# Make sure the instances listed below match up with # Make sure the instances listed below match up with
# the `platforms` defined in `kitchen.yml` # the `platforms` defined in `kitchen.yml`
v3003-py3-debian-10-3003-1-py3: {extends: '.test_instance'}
v3003-py3-debian-11-3003-1-py3: {extends: '.test_instance_failure_permitted'}
# v3003-py3-debian-10-3003-1-py3: {extends: '.test_instance'}
# v3003-py3-debian-9-3003-1-py3: {extends: '.test_instance'} # v3003-py3-debian-9-3003-1-py3: {extends: '.test_instance'}
v3003-py3-ubuntu-2004-3003-1-py3: {extends: '.test_instance'} v3003-py3-ubuntu-2004-3003-1-py3: {extends: '.test_instance'}
# v3003-py3-ubuntu-1804-3003-1-py3: {extends: '.test_instance'} # v3003-py3-ubuntu-1804-3003-1-py3: {extends: '.test_instance'}
v3003-py3-arch-base-latest-3003-1-py3: {extends: '.test_instance'} v3003-py3-arch-base-latest-3003-1-py3: {extends: '.test_instance'}
v3003-py3-gentoo-stage3-latest-3003-1-py3: {extends: '.test_instance'} v3003-py3-gentoo-stage3-latest-3003-1-py3: {extends: '.test_instance'}
v3003-py3-gentoo-stage3-systemd-3003-1-py3: {extends: '.test_instance'} v3003-py3-gentoo-stage3-systemd-3003-1-py3: {extends: '.test_instance'}
# v3002-py3-debian-10-3002-6-py3: {extends: '.test_instance'}
v3002-py3-debian-9-3002-6-py3: {extends: '.test_instance'}
# v3002-py3-debian-11-3002-6-py3: {extends: '.test_instance'}
v3002-py3-debian-10-3002-6-py3: {extends: '.test_instance'}
# v3002-py3-debian-9-3002-6-py3: {extends: '.test_instance'}
v3002-py3-ubuntu-2004-3002-6-py3: {extends: '.test_instance'} v3002-py3-ubuntu-2004-3002-6-py3: {extends: '.test_instance'}
# v3002-py3-ubuntu-1804-3002-6-py3: {extends: '.test_instance'} # v3002-py3-ubuntu-1804-3002-6-py3: {extends: '.test_instance'}
# v3002-py3-centos-8-3002-6-py3: {extends: '.test_instance'} # v3002-py3-centos-8-3002-6-py3: {extends: '.test_instance'}

+ 5
- 3
.travis.yml View File

## Define the rest of the matrix based on Kitchen testing ## Define the rest of the matrix based on Kitchen testing
# Make sure the instances listed below match up with # Make sure the instances listed below match up with
# the `platforms` defined in `kitchen.yml` # the `platforms` defined in `kitchen.yml`
- env: INSTANCE=v3003-py3-debian-10-3003-1-py3
- env: INSTANCE=v3003-py3-debian-11-3003-1-py3
# - env: INSTANCE=v3003-py3-debian-10-3003-1-py3
# - env: INSTANCE=v3003-py3-debian-9-3003-1-py3 # - env: INSTANCE=v3003-py3-debian-9-3003-1-py3
- env: INSTANCE=v3003-py3-ubuntu-2004-3003-1-py3 - env: INSTANCE=v3003-py3-ubuntu-2004-3003-1-py3
# - env: INSTANCE=v3003-py3-ubuntu-1804-3003-1-py3 # - env: INSTANCE=v3003-py3-ubuntu-1804-3003-1-py3
- env: INSTANCE=v3003-py3-arch-base-latest-3003-1-py3 - env: INSTANCE=v3003-py3-arch-base-latest-3003-1-py3
- env: INSTANCE=v3003-py3-gentoo-stage3-latest-3003-1-py3 - env: INSTANCE=v3003-py3-gentoo-stage3-latest-3003-1-py3
- env: INSTANCE=v3003-py3-gentoo-stage3-systemd-3003-1-py3 - env: INSTANCE=v3003-py3-gentoo-stage3-systemd-3003-1-py3
# - env: INSTANCE=v3002-py3-debian-10-3002-6-py3
- env: INSTANCE=v3002-py3-debian-9-3002-6-py3
# - env: INSTANCE=v3002-py3-debian-11-3002-6-py3
- env: INSTANCE=v3002-py3-debian-10-3002-6-py3
# - env: INSTANCE=v3002-py3-debian-9-3002-6-py3
- env: INSTANCE=v3002-py3-ubuntu-2004-3002-6-py3 - env: INSTANCE=v3002-py3-ubuntu-2004-3002-6-py3
# - env: INSTANCE=v3002-py3-ubuntu-1804-3002-6-py3 # - env: INSTANCE=v3002-py3-ubuntu-1804-3002-6-py3
# - env: INSTANCE=v3002-py3-centos-8-3002-6-py3 # - env: INSTANCE=v3002-py3-centos-8-3002-6-py3

+ 9
- 7
.yamllint View File

extends: 'default' extends: 'default'


# Files to ignore completely # Files to ignore completely
# 1. All YAML files under directory `.cache/`, introduced during the GitLab CI run
# 2. All YAML files under directory `.git/`
# 3. All YAML files under directory `node_modules/`, introduced during the Travis run
# 4. Any SLS files under directory `test/`, which are actually state files
# 5. Any YAML files under directory `.kitchen/`, introduced during local testing
# 6. `kitchen.vagrant.yml`, which contains Embedded Ruby (ERB) template syntax
# 7. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
# 1. All YAML files under directory `.bundle/`, introduced if gems are installed locally
# 2. All YAML files under directory `.cache/`, introduced during the CI run
# 3. All YAML files under directory `.git/`
# 4. All YAML files under directory `node_modules/`, introduced during the CI run
# 5. Any SLS files under directory `test/`, which are actually state files
# 6. Any YAML files under directory `.kitchen/`, introduced during local testing
# 7. `kitchen.vagrant.yml`, which contains Embedded Ruby (ERB) template syntax
# 8. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
ignore: | ignore: |
.bundle/
.cache/ .cache/
.git/ .git/
node_modules/ node_modules/

+ 18
- 0
kitchen.yml View File



platforms: platforms:
## SALT `tiamat` ## SALT `tiamat`
- name: debian-11-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:debian-11
run_command: /lib/systemd/systemd
- name: debian-10-tiamat-py3 - name: debian-10-tiamat-py3
driver: driver:
image: saltimages/salt-tiamat-py3:debian-10 image: saltimages/salt-tiamat-py3:debian-10
image: saltimages/salt-tiamat-py3:rockylinux-8 image: saltimages/salt-tiamat-py3:rockylinux-8


## SALT `master` ## SALT `master`
- name: debian-11-master-py3
driver:
image: saltimages/salt-master-py3:debian-11
run_command: /lib/systemd/systemd
- name: debian-10-master-py3 - name: debian-10-master-py3
driver: driver:
image: saltimages/salt-master-py3:debian-10 image: saltimages/salt-master-py3:debian-10
image: saltimages/salt-master-py3:rockylinux-8 image: saltimages/salt-master-py3:rockylinux-8


## SALT `3003.1` ## SALT `3003.1`
- name: debian-11-3003-1-py3
driver:
image: saltimages/salt-3003.1-py3:debian-11
run_command: /lib/systemd/systemd
- name: debian-10-3003-1-py3 - name: debian-10-3003-1-py3
driver: driver:
image: saltimages/salt-3003.1-py3:debian-10 image: saltimages/salt-3003.1-py3:debian-10
image: saltimages/salt-3003.1-py3:gentoo-stage3-systemd image: saltimages/salt-3003.1-py3:gentoo-stage3-systemd


## SALT `3002.6` ## SALT `3002.6`
- name: debian-11-3002-6-py3
driver:
image: saltimages/salt-3002.6-py3:debian-11
run_command: /lib/systemd/systemd
- name: debian-10-3002-6-py3 - name: debian-10-3002-6-py3
driver: driver:
image: saltimages/salt-3002.6-py3:debian-10 image: saltimages/salt-3002.6-py3:debian-10
suites: suites:
- name: v3003-py3 - name: v3003-py3
includes: includes:
- debian-11-3003-1-py3
- debian-10-3003-1-py3 - debian-10-3003-1-py3
- debian-9-3003-1-py3 - debian-9-3003-1-py3
- ubuntu-2004-3003-1-py3 - ubuntu-2004-3003-1-py3
- path: test/integration/v3003-py3 - path: test/integration/v3003-py3
- name: v3002-py3 - name: v3002-py3
includes: includes:
- debian-11-3002-6-py3
- debian-10-3002-6-py3 - debian-10-3002-6-py3
- debian-9-3002-6-py3 - debian-9-3002-6-py3
- ubuntu-2004-3002-6-py3 - ubuntu-2004-3002-6-py3

Loading…
Cancel
Save