Commit cfbb171
Sam/15 16 nix package, build and test of 15.8 and 16.3 (#1266)
* feat: build and flake check of pg 16.3 with exts/wrappers
* pg_partman test 15/16 compat
* merge sql interface test
* tests: build test and cache both versions
* chore: run checks individually
* pg 15 and 16 packer/ansible/ghactions (#1268)
* fix: reformat ec2 cleanup commands (#1267)
Co-authored-by: Sam Rose <[email protected]>
* feat: build and flake check of pg 16.3 with exts/wrappers
* pg_partman test 15/16 compat
* merge sql interface test
* tests: build test and cache both versions
* chore: run checks individually
* feat: realease 15 and 16 to staging
* chore: update versions
* chore: make yq available
* chore: run yq from nix
* chore: more setup for staging AMI
* fix: yq usage
* chore: shell vars
* fix: When --init none is used, only users who can elevate to sudo privileges can run Nix
* fix: no -i
* fix: quote correction
* fix: newline extra quotes
* fix: no need for pg major version on packer
* fix: postgresql_major
* fix: ql
* fix: no ansible args in stage to invocation
* fix: unique val
* fix: adjustments to build scripts
* chore: env var handling
* fix: bump to build
* chore: set up more required vars
* chore: bump var
* feat: pg 16 debug symbols
* feat: matrix pg versions build on testinfra
* feat: matrix on Test Database
* chore: running nix in the right context
* feat: just use existing Dockerfile + pg version
* chore: refer to var
* fix: read name without including quotes
* chore: try format function
* fix: strip quotes from version number
* chore: env var
* fix: pg client
* fix
* fix: try to use psql from our own corresponding pkg
* fix: try psql from ppa
* fix: dbmate per pg version
* build dbmate and then install client
* fix: account for architecture
* chore: limit changes detection migrations/schema.sql
* missing docker compose call
* ore: drop tests while investigating
* test: try on pg15 only
* chore: schema needs update
* chore: now run on all versions in matrix
* test: trying a version of schema per major pg version as there are type diffs
---------
Co-authored-by: Sam Rose <[email protected]>
Co-authored-by: Oliver Rice <[email protected]>
* chore: rm dead code
* chore: resolve versions from ansible/vars.yml instead of packer file
create a matrix build for 15 16 (or how ever many versions there are)
* fix: don not lose if statements used for hotfix when needed
* chore: cleanup
---------
Co-authored-by: Sam Rose <[email protected]>
Co-authored-by: Oliver Rice <[email protected]>1 parent 578e275 commit cfbb171
File tree
39 files changed
+2957
-148
lines changed- .github/workflows
- ansible
- tasks
- docker/nix
- migrations
- nix
- ext
- postgresql
- tests
- expected
- sql
- scripts
39 files changed
+2957
-148
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
14 | 31 | | |
| 32 | + | |
15 | 33 | | |
16 | 34 | | |
| 35 | + | |
17 | 36 | | |
18 | 37 | | |
19 | 38 | | |
| |||
31 | 50 | | |
32 | 51 | | |
33 | 52 | | |
| 53 | + | |
| 54 | + | |
34 | 55 | | |
35 | 56 | | |
36 | | - | |
37 | 57 | | |
38 | | - | |
| 58 | + | |
39 | 59 | | |
40 | 60 | | |
41 | 61 | | |
42 | 62 | | |
43 | 63 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
47 | 74 | | |
48 | 75 | | |
| 76 | + | |
| 77 | + | |
49 | 78 | | |
50 | 79 | | |
51 | 80 | | |
52 | | - | |
| 81 | + | |
53 | 82 | | |
54 | 83 | | |
| 84 | + | |
| 85 | + | |
55 | 86 | | |
56 | 87 | | |
57 | 88 | | |
58 | | - | |
| 89 | + | |
| 90 | + | |
59 | 91 | | |
60 | 92 | | |
61 | 93 | | |
62 | 94 | | |
63 | | - | |
64 | | - | |
| 95 | + | |
| 96 | + | |
65 | 97 | | |
66 | 98 | | |
67 | 99 | | |
68 | 100 | | |
69 | | - | |
| 101 | + | |
70 | 102 | | |
71 | 103 | | |
72 | 104 | | |
| |||
84 | 116 | | |
85 | 117 | | |
86 | 118 | | |
| 119 | + | |
87 | 120 | | |
88 | 121 | | |
89 | 122 | | |
90 | 123 | | |
91 | 124 | | |
92 | 125 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 126 | | |
99 | 127 | | |
100 | 128 | | |
| |||
107 | 135 | | |
108 | 136 | | |
109 | 137 | | |
| 138 | + | |
110 | 139 | | |
111 | 140 | | |
112 | 141 | | |
| |||
130 | 159 | | |
131 | 160 | | |
132 | 161 | | |
133 | | - | |
| 162 | + | |
134 | 163 | | |
135 | 164 | | |
136 | | - | |
| 165 | + | |
137 | 166 | | |
138 | 167 | | |
139 | 168 | | |
140 | 169 | | |
141 | | - | |
| 170 | + | |
Lines changed: 28 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
14 | 30 | | |
| 31 | + | |
15 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
16 | 36 | | |
17 | 37 | | |
18 | 38 | | |
| |||
21 | 41 | | |
22 | 42 | | |
23 | 43 | | |
24 | | - | |
| 44 | + | |
| 45 | + | |
25 | 46 | | |
26 | 47 | | |
27 | 48 | | |
| |||
58 | 79 | | |
59 | 80 | | |
60 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
61 | 86 | | |
62 | 87 | | |
63 | 88 | | |
| |||
66 | 91 | | |
67 | 92 | | |
68 | 93 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 94 | + | |
| 95 | + | |
73 | 96 | | |
74 | 97 | | |
75 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
21 | 36 | | |
| 37 | + | |
22 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
23 | 42 | | |
24 | 43 | | |
25 | 44 | | |
26 | 45 | | |
27 | 46 | | |
| 47 | + | |
| 48 | + | |
28 | 49 | | |
29 | 50 | | |
30 | 51 | | |
31 | | - | |
| 52 | + | |
| 53 | + | |
32 | 54 | | |
33 | 55 | | |
34 | 56 | | |
| |||
61 | 83 | | |
62 | 84 | | |
63 | 85 | | |
| 86 | + | |
64 | 87 | | |
65 | 88 | | |
66 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
67 | 95 | | |
68 | 96 | | |
69 | 97 | | |
70 | 98 | | |
71 | 99 | | |
72 | 100 | | |
73 | 101 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 102 | + | |
| 103 | + | |
78 | 104 | | |
79 | 105 | | |
80 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
11 | 27 | | |
| 28 | + | |
12 | 29 | | |
13 | 30 | | |
| 31 | + | |
14 | 32 | | |
15 | 33 | | |
16 | 34 | | |
| |||
23 | 41 | | |
24 | 42 | | |
25 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
26 | 63 | | |
27 | 64 | | |
28 | 65 | | |
29 | 66 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
34 | 74 | | |
35 | 75 | | |
36 | 76 | | |
| |||
40 | 80 | | |
41 | 81 | | |
42 | 82 | | |
43 | | - | |
| 83 | + | |
44 | 84 | | |
45 | 85 | | |
46 | 86 | | |
| |||
57 | 97 | | |
58 | 98 | | |
59 | 99 | | |
| 100 | + | |
60 | 101 | | |
61 | 102 | | |
| 103 | + | |
| 104 | + | |
62 | 105 | | |
63 | | - | |
| 106 | + | |
64 | 107 | | |
65 | 108 | | |
66 | 109 | | |
| |||
107 | 150 | | |
108 | 151 | | |
109 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
110 | 157 | | |
111 | 158 | | |
112 | 159 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
116 | 163 | | |
117 | 164 | | |
0 commit comments