summaryrefslogtreecommitdiff
path: root/learn/concourse/README.md
blob: 5fd3f04bfe9c6b27ec53614f7262c7ddd12ceeb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Concourse CI

It builds stuff. Over here: https://concourse1.core.c0

## fly CLI

It's pretty `fly`!

* https://concourse-ci.org/fly.html


Install it:

```bash
$ brew install fly
```

Login in:

```bash
$ fly -t cmdzero login --concourse-url=https://concourse1.core.c0 -n gatekeeper
```

Downgrade your version of fly to match the server:

```bash
$ fly -t cmdzero sync
```

Update the `main` pipeline
on the `cmdzero` target
for team `gatekeeper`
to the config file named `pipeline.yml`:

```bash
$ fly -t cmdzero set-pipeline --team=gatekeeper -c pipeline.yml -p main
```

... but... but.. who am I?

```bash
$ fly -t cmdzero userinfo
```

Watch the build output for the `zerocmd/gatekeeper:main` repo:

```bash
$ fly -t cmdzero watch -j gatekeeper-branch/branch:main/validate -t
```

## Gatekeeper

Pipelines:

```bash
モ fly -t cmdzero pipelines
id   name                                       paused  public  last updated
337  main                                       no      no      2022-07-08 13:42:01 -0600 MDT
338  gatekeeper-branch/branch:main              no      no      2022-06-20 11:49:03 -0600 MDT
449  gatekeeper-branch/branch:"rfc/000x-authz"  no      no      2022-06-20 11:49:03 -0600 MDT
350  use-base-packages-test                     no      no      2022-06-02 12:34:33 -0600 MDT
```

Jobs:

```bash
モ fly -t cmdzero jobs -p gatekeeper-branch/branch:main
name      paused  status     next
validate  no      succeeded  n/a
```

Builds:

```bash
モ fly -t cmdzero builds -j gatekeeper-branch/branch:main/validate
id        name                                       status     start                     end                       duration  team        created by
13573398  gatekeeper-branch/branch:main/validate/73  succeeded  2022-07-08@13:42:00-0600  2022-07-08@13:44:27-0600  2m27s     gatekeeper  system
13558436  gatekeeper-branch/branch:main/validate/72  succeeded  2022-07-08@12:12:49-0600  2022-07-08@12:16:06-0600  3m17s     gatekeeper  system
13545414  gatekeeper-branch/branch:main/validate/71  succeeded  2022-07-08@10:53:14-0600  2022-07-08@10:55:51-0600  2m37s     gatekeeper  system
13544251  gatekeeper-branch/branch:main/validate/70  succeeded  2022-07-08@10:46:02-0600  2022-07-08@10:47:09-0600  1m7s      gatekeeper  system
```