Sha256: d2164042ea91e787e20adfee9c0b92105870b4aa0a01813c134a0661947a9858
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 KB
Contents
require 'test_helper' describe 'adventure::circleci::0 rails' do Given { skip } Given(:workbench) {} Given { @rollon_loud = false } Given { @rollon_dummies = false } Given { rollon(__dir__) } describe 'must generate a' do Given(:app_name) { 'unstoppable_devops' } Given(:org_name) { 'your-dockerhub-organization' } Given(:image) { "#{org_name}/#{app_name}" } describe 'scripts directory with ci-deploy.sh' do Then { assert_file './scripts/ci-deploy.sh', %r{k8s/app-deployment.yml} } end describe '.circleci directory with config.yml' do Then { assert_file './.circleci/config.yml', /IMAGE_NAME: #{image}/ } end describe 'k8s directory with' do describe 'app-deployment.yml' do Then { assert_file './k8s/app-deployment.yml', /image: #{image}/ } end describe 'app-service.yml' do Then { assert_file './k8s/app-service.yml', /app: #{app_name}/ } And { assert_file './k8s/app-service.yml', /name: #{app_name}/ } end end describe 'kube-general folder with' do describe 'cicd-service-account.yml' do Given(:kind) { 'kind: ServiceAccount' } Then { assert_file 'k8s-general/cicd-service-account.yml', /#{kind}/ } end describe 'cicd-service-account.yml' do Given(:kind) { 'kind: ServiceAccount' } Then { assert_file 'k8s-general/cicd-service-account.yml', /#{kind}/ } end end describe '.gitignore' do Given(:ignoreds) do %w[ /k8s-general/ \*.env \*.key ] end Then { ignoreds.each { |i| assert_file '.gitignore', /#{i}/ } } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roro-0.3.33 | lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/test/0/_test.rb |