Skip to content

Commit aa7efc0

Browse files
bikramjBikramjit Singh
andauthored
New version of Git (#7)
* Update git cookbook to 12 & fix test, Add Ubuntu 22, Update Debian from 9 to 11 * Add ubuntu 22.04 OS --------- Co-authored-by: Bikramjit Singh <bikramjiit.singh@utoronto.ca>
1 parent 5656de7 commit aa7efc0

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ jobs:
1616
os:
1717
- amazonlinux-2
1818
- centos-8
19-
- debian-9
19+
- debian-11
2020
- fedora-34
2121
- oraclelinux-8
2222
- ubuntu-2004
23+
- ubuntu-2204
2324
workstation_version:
2425
- '21.3.346'
2526
- '21.11.679'
@@ -43,4 +44,3 @@ jobs:
4344
os: ${{ matrix.os }}
4445
env:
4546
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
46-

kitchen.dokken.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ platforms:
2525
driver:
2626
image: dokken/centos-8
2727
pid_one_command: /usr/lib/systemd/systemd
28-
- name: debian-9
28+
- name: debian-11
2929
driver:
30-
image: dokken/debian-9
30+
image: dokken/debian-11
31+
pid_one_command: /bin/systemd
3132
intermediate_instructions:
3233
- RUN /usr/bin/apt-get update -qq
33-
- name: fedora-34
34+
- name: fedora-34
3435
driver:
3536
image: dokken/fedora-34
3637
pid_one_command: /usr/lib/systemd/systemd
@@ -44,6 +45,12 @@ platforms:
4445
pid_one_command: /bin/systemd
4546
intermediate_instructions:
4647
- RUN /usr/bin/apt-get update -qq
48+
- name: ubuntu-22.04
49+
driver:
50+
image: dokken/ubuntu-22.04
51+
pid_one_command: /bin/systemd
52+
intermediate_instructions:
53+
- RUN /usr/bin/apt-get update -qq
4754

4855
suites:
4956
- name: default

metadata.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
maintainer_email 'alvaro@faundez.net'
44
license 'MIT'
55
description 'Installs/Configures node-build'
6-
version '1.0.3'
6+
version '1.0.4'
77

88
issues_url 'https://github.com/afaundez/node-build-cookbook/issues'
99
source_url 'https://github.com/afaundez/node-build-cookbook'
@@ -17,4 +17,4 @@
1717
supports 'oracle'
1818
supports 'ubuntu'
1919

20-
depends 'git', '~> 10.0.0'
20+
depends 'git', '~> 12.0.0'

test/integration/default/plugin_install_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
it { should exist }
9696
end
9797

98-
describe command("bash -c \"cd #{node_build_home} && git rev-parse HEAD\"") do
98+
describe command("bash -c \"git config --global --add safe.directory #{node_build_home} && cd #{node_build_home} && git rev-parse HEAD\"") do
9999
its(:stderr) { should eq '' }
100100
its(:stdout) { should eq "d6a05a7d598dc2ef2f0e5fbccac5123f12eed61e\n" }
101101
end

0 commit comments

Comments
 (0)