Skip to content

Commit 7df64c9

Browse files
committed
pipeline change
1 parent 5cf9180 commit 7df64c9

File tree

5 files changed

+41
-36
lines changed

5 files changed

+41
-36
lines changed

build.yml renamed to ci/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform: freebsd
1+
platform: necrolinux
22

33
# image_resource:
44
# type: docker-image
@@ -9,4 +9,4 @@ inputs:
99
path: postgresql
1010

1111
run:
12-
path: postgresql/check.sh
12+
path: postgresql/run_tests.sh

ci/pipeline.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
resources:
3+
- name: postgresql
4+
type: git
5+
source:
6+
uri: https://github.com/postgrespro/postgres_cluster
7+
branch: ci2
8+
9+
jobs:
10+
- name: tests-freebsd32
11+
plan:
12+
- get: postgresql
13+
trigger: true
14+
- task: basic check
15+
config:
16+
platform: freebsd
17+
inputs:
18+
- name: postgresql
19+
path: postgresql
20+
run:
21+
path: postgresql/run_tests.sh
22+
23+
24+
- name: tests-goslinux-6
25+
plan:
26+
- get: postgresql
27+
trigger: true
28+
- task: basic check
29+
tags: ["goslinux-6"]
30+
config:
31+
platform: necrolinux
32+
inputs:
33+
- name: postgresql
34+
path: postgresql
35+
run:
36+
path: postgresql/run_tests.sh

check.sh renamed to ci/run_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ cd postgresql
1010

1111
make -j4
1212

13-
gmake check
13+
make check
14+
Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11

2-
3-
42
ssh-keygen -t rsa -f worker
53

64
cat <<-KEY > host_key.pub
75
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfLQY4mn3VU1fZ0XB0w2qJOo/CEEo73sT9sGIGh/y+NRogx6oj42XB/3ko4WUXg8xgHlSVSwSD4M6V3LjQW8bLdM0qDgMe4Hxhg9OhAedw6Zwmo/c8yPhH4dW1BDl3RXv/laxG0/0C2mZfod/78ShcARy4pJe8oBi8eyqnfIWGWCeojLJzfb85W3kdomWcq9tZcoMtwaHJ5a998B2kixLRif61SRQD+1G+Xz/oD2mtUIaaKgZUXNnJ2xm+MnIErNFi95L0gttB27BRQ72VTSUBIbD2JOIBuVT/9fjjjH79FxsPGIcDgDM7VRmlfBhl5k05oH5NBCNlNgDzv3if5hzn stas@bladerunner
86
KEY
97

10-
cat <<-JSON > worker.json
11-
{
12-
"name": "stas",
13-
"platform": "houdini",
14-
"tags": ["macos","amd64"],
15-
"resource_types": []
16-
}
17-
JSON
188

19-
ssh -p 2222 br.theor.mephi.ru -i worker -o UserKnownHostsFile=host_key.pub -R0.0.0.0:0:127.0.0.1:7777 forward-worker < worker.json
9+
concourse worker --work-dir ./storage --tsa-host br.theor.mephi.ru --tsa-public-key host_key.pub --tsa-worker-private-key worker --tag=goslinux-6
2010

pipeline.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)