File tree Expand file tree Collapse file tree 7 files changed +17
-27
lines changed Expand file tree Collapse file tree 7 files changed +17
-27
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ builders:
29
29
zone : us-central1-a
30
30
image_name : " {{ user `image_name` }}"
31
31
machine_type : n2-standard-16
32
- disk_size : 50
32
+ # Dont go over 70 - worker won't boot the image
33
+ disk_size : 70
33
34
temporary_key_pair_type : ed25519
34
35
tags :
35
36
- ci
@@ -147,7 +148,7 @@ provisioners:
147
148
- packer-scripts/perforce-install
148
149
- packer-scripts/pyenv-install
149
150
- packer-scripts/cosign-install
150
- - packer-scripts/rabbitmq-install
151
+ # - packer-scripts/rabbitmq-install
151
152
- packer-scripts/updates
152
153
- packer-scripts/test-system-info-output
153
154
- packer-scripts/dump-dpkg-manifest
@@ -165,6 +166,10 @@ provisioners:
165
166
# inline: "sudo chown -R couchdb:couchdb /opt/couchdb/"
166
167
# - type: shell
167
168
# inline: "ls -lah /opt/couchdb/"
169
+ - type : shell
170
+ inline : " sudo systemctl disable --now ssh.socket && sudo systemctl enable --now ssh.service && sudo systemctl daemon-reload && sudo systemctl restart ssh"
171
+ # - type: shell
172
+ # inline: "sudo ssh-keygen -A && sudo dpkg-reconfigure openssh-server"
168
173
- type : shell
169
174
scripts :
170
175
- packer-scripts/create-image-metadata-tarball
Original file line number Diff line number Diff line change 65
65
}
66
66
elsif 'jammy' . include? ( Support . distro )
67
67
vers = {
68
- 'python3.7' => '3.7.17' ,
69
68
'python3.8' => '3.8.18' ,
70
69
'python3.10' => '3.10.14' ,
71
70
'python3.12' => '3.12.2'
Original file line number Diff line number Diff line change 8
8
'3.12.2' => %w[ 3.12 ] ,
9
9
'3.10.14' => %w[ 3.10 ] ,
10
10
'3.8.18' => %w[ 3.8 ] ,
11
- '3.7.17' => %w[ 3.7 ] ,
12
11
'pypy2.7-7.3.1' => %w[ pypy ] ,
13
12
'pypy3.6-7.3.1' => %w[ pypy3 ] ,
14
13
}
15
14
# packages build by Cpython + our repo
16
15
pythons = %w[
17
- 3.7.17
18
16
3.8.18
19
17
3.10.14
20
18
3.12.2
73
71
rubies = %w[
74
72
2.7.8
75
73
3.1.2
76
- 3.3.0
74
+ 3.3.1
77
75
]
78
76
79
77
override [ 'travis_build_environment' ] [ 'virtualenv' ] [ 'version' ] = '20.24.6'
100
98
override [ 'travis_build_environment' ] [ 'mercurial_version' ] = '6.5.2'
101
99
override [ 'travis_build_environment' ] [ 'ibm_advanced_tool_chain_version' ] = 14.0
102
100
103
- override [ 'travis_build_environment' ] [ 'packer' ] [ 'amd64' ] [ 'version' ] = '1.11.0 '
101
+ override [ 'travis_build_environment' ] [ 'packer' ] [ 'amd64' ] [ 'version' ] = '1.11.1 '
104
102
override [ 'travis_build_environment' ] [ 'packer' ] [ 'amd64' ] [ 'checksum' ] = \
105
- 'dcac06a4c671bbb71e916da5abe947ebf4d6aa35c197e21c7c7b1d68cb8b7cad '
103
+ '07a9d92fe98d7bb4be09392c06ef6c4f9ffbc905fe6c29fff0622432367f01cc '
106
104
107
105
override [ 'travis_packer_templates' ] [ 'job_board' ] [ 'stack' ] = 'ubuntu_2204'
108
106
Original file line number Diff line number Diff line change 52
52
include_recipe 'travis_build_environment::lein'
53
53
include_recipe 'travis_sbt_extras'
54
54
include_recipe 'travis_build_environment::gradle'
55
- # include_recipe 'travis_postgresql '
56
- # include_recipe 'travis_build_environment::mysql '
55
+ include_recipe '::mysql '
56
+ include_recipe '::postgresql '
57
57
include_recipe 'travis_perlbrew::multi'
58
58
include_recipe 'travis_build_environment::redis'
59
59
include_recipe 'memcached'
Original file line number Diff line number Diff line change 8
8
end
9
9
10
10
package 'postgresql-14'
11
- action :install
12
- end
13
11
14
12
service 'postgresql' do
15
13
action [ :stop , :disable ]
25
23
execute 'change_log_dir_permissions' do
26
24
command 'sudo chmod -R 777 /var/log/postgresql'
27
25
end
28
-
29
- apt_repository 'postgresql' do
30
- action :remove
31
- end
Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ __install_packages() {
40
40
/var/lib/apt/lists/*
41
41
fi
42
42
43
- apt-get update -yqq
44
- apt-get upgrade -y
45
- apt-get install -yqq \
43
+ apt update -yqq
44
+ apt full- upgrade -y
45
+ apt install -yqq \
46
46
--no-install-suggests \
47
47
--no-install-recommends \
48
48
ca-certificates \
Original file line number Diff line number Diff line change @@ -5,13 +5,7 @@ set -o xtrace
5
5
6
6
main () {
7
7
8
- echo " Appling main updates"
9
-
10
- apt-get update -yqq
11
- # apt full-upgrade -y
12
- # apt install linux-headers-generic -y
13
- # apt-get autoremove -y
14
- # apt-get clean -y
8
+ apt install linux-headers-generic -y
15
9
16
10
echo " Installing pip-review"
17
11
@@ -39,7 +33,7 @@ main() {
39
33
40
34
# Update bundler
41
35
gem install bundler
42
-
36
+
43
37
}
44
38
45
39
main " $@ "
You can’t perform that action at this time.
0 commit comments