Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 5 additions & 12 deletions .github/workflows/apply.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
name: Apply

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/apply.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- lib/bolt/**
- libexec/**
- rakelib/tests.rake
- spec/**
pull_request: {}
push:
branches:
- main

permissions:
contents: read
Expand Down
19 changes: 6 additions & 13 deletions .github/workflows/bolt_spec.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
---

name: BoltSpec

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/bolt_spec.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- lib/bolt/**
- lib/bolt_spec/**
- libexec/**
- rakelib/tests.rake
- spec/**
pull_request: {}
push:
branches:
- main

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker_transport.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Docker transport

on:
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
name: Linux

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/linux.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- lib/bolt/**
- libexec/**
- rakelib/tests.rake
- spec/**
pull_request: {}
push:
branches:
- main

permissions:
contents: read
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/modules.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
name: Modules

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/modules.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- bolt_spec_spec/**
- lib/bolt/**
- modules/**
- rakelib/tests.rake
pull_request: {}
push:
branches:
- main

permissions:
contents: read
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/pwsh.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
name: pwsh

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/pwsh.yaml
- pwsh_module/*
- lib/bolt/bolt_option_parser.rb
- rakelib/pwsh.rake
pull_request: {}
push:
branches:
- main

permissions:
contents: read
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/schemas.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
---
name: Schemas

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- lib/bolt/config/options.rb
- lib/bolt/config/transport/**
- lib/bolt/inventory/options.rb
- rakelib/schemas.rake
- schemas/*.json
pull_request: {}
push:
branches:
- main

permissions:
contents: read
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/ssh_transport.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
name: SSH Transport

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/ssh_transport.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- lib/bolt/**
- libexec/**
- rakelib/tests.rake
- spec/**
pull_request: {}
push:
branches:
- main

permissions:
contents: read
Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@
name: Windows

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/windows.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- lib/bolt/**
- libexec/**
- rakelib/tests.rake
- spec/**
pull_request: {}
push:
branches:
- main

env:
BOLT_WINRM_USER: roddypiper
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/winrm_transport.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
name: WinRM Transport

on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/winrm_transport.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- lib/bolt/**
- libexec/**
- rakelib/tests.rake
- spec/**
pull_request: {}
push:
branches:
- main

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion spec/integration/transport/local_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def make_target
expect(runner.upload(target, file.path, dest, run_as: user).message).to match(/Uploaded/)
expect(runner.run_command(target, "cat #{dest}", run_as: user)['stdout']).to eq(contents)
expect(runner.run_command(target, "stat -c %U #{dest}", run_as: user)['stdout'].chomp).to eq(user)
expect(runner.run_command(target, "stat -c %G #{dest}", run_as: user)['stdout'].chomp).to eq('docker')
expect(runner.run_command(target, "stat -c %G #{dest}", run_as: user)['stdout'].chomp).to eq('runner')
end

runner.run_command(target, "rm #{dest}", sudoable: true, run_as: user)
Expand Down
Loading