File tree 6 files changed +279
-201
lines changed
lib/src/main/java/org/opennms/core/utils
opennms-provision/opennms-provision-persistence/src
main/java/org/opennms/netmgt/provision/persist
test/java/org/opennms/netmgt/provision/persist
6 files changed +279
-201
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,22 @@ parameters:
29
29
setup : true
30
30
31
31
commands :
32
- shallow-clone :
33
- description : " Quick shallow checkout (if possible) "
34
- steps :
32
+ setup-github :
33
+ description : " Set Up Github SSH Access "
34
+ steps :
35
35
- run :
36
- name : git clone
37
36
command : |
38
37
install -d -m 700 ~/.ssh
39
38
ssh-keyscan github.com >> ~/.ssh/known_hosts
40
39
ssh-keyscan -p 443 ssh.github.com >> ~/.ssh/known_hosts
41
40
chmod 600 ~/.ssh/known_hosts
41
+ shallow-clone :
42
+ description : " Quick shallow checkout (if possible)"
43
+ steps :
44
+ - setup-github
45
+ - run :
46
+ name : git clone
47
+ command : |
42
48
git clone --no-checkout --filter=tree:0 "${CIRCLE_REPOSITORY_URL}" .
43
49
if [ -n "${CIRCLE_TAG}" ]; then
44
50
git checkout --force "${CIRCLE_TAG}"
Original file line number Diff line number Diff line change 1
1
commands :
2
- shallow-clone :
3
- description : " Quick shallow checkout "
4
- steps :
2
+ setup-github :
3
+ description : " Set Up Github SSH Access "
4
+ steps :
5
5
- run :
6
- name : git clone
7
6
command : |
8
7
install -d -m 700 ~/.ssh
9
8
ssh-keyscan github.com >> ~/.ssh/known_hosts
10
9
ssh-keyscan -p 443 ssh.github.com >> ~/.ssh/known_hosts
11
10
chmod 600 ~/.ssh/known_hosts
11
+ shallow-clone :
12
+ description : " Quick shallow checkout"
13
+ steps :
14
+ - setup-github
15
+ - run :
16
+ name : git clone
17
+ command : |
12
18
git clone --no-checkout --filter=tree:0 "${CIRCLE_REPOSITORY_URL}" .
13
19
if [ -n "${CIRCLE_TAG}" ]; then
14
20
git checkout --force "${CIRCLE_TAG}"
@@ -23,6 +29,7 @@ commands:
23
29
keys :
24
30
- source-v4-{{ .Branch }}-{{ .Revision }}
25
31
- source-v4-{{ .Branch }}-
32
+ - setup-github
26
33
- checkout
27
34
- run :
28
35
name : git config merge.renameLimit
@@ -42,6 +49,7 @@ commands:
42
49
checkout-for-pushing :
43
50
description : " Configure a cached checkout that can push upstream"
44
51
steps :
52
+ - setup-github
45
53
- add_ssh_keys :
46
54
fingerprints :
47
55
- " 66:9a:2d:a8:ad:7b:cc:7c:d2:ee:55:94:01:72:ac:2a"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments