Skip to content

Commit 49ee889

Browse files
authored
Add the deb [ signed-by=${PPA_KEY_PATH} ] way (tailored for older OSes) (#1345)
Signed-off-by: Stavros Ntentos <[email protected]>
1 parent e892c63 commit 49ee889

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ If your distribution does not support this, you can run these commands:
6565
```bash
6666
curl -s "https://gitlab-ci-local-ppa.firecow.dk/pubkey.gpg" | sudo apt-key add -
6767
echo "deb https://gitlab-ci-local-ppa.firecow.dk ./" | sudo tee /etc/apt/sources.list.d/gitlab-ci-local.list
68+
69+
# OR
70+
71+
# MUST be `.asc` at least for older apts (e.g. Ubuntu Focal), since the key is ASCII-armored
72+
PPA_KEY_PATH=/etc/apt/sources.list.d/gitlab-ci-local-ppa.asc
73+
curl -s "https://gitlab-ci-local-ppa.firecow.dk/pubkey.gpg" | sudo tee "${PPA_KEY_PATH}"
74+
echo "deb [ signed-by=${PPA_KEY_PATH} ] https://gitlab-ci-local-ppa.firecow.dk ./" | sudo tee /etc/apt/sources.list.d/gitlab-ci-local.list
75+
76+
# and then
77+
6878
sudo apt-get update
6979
sudo apt-get install gitlab-ci-local
7080
```
@@ -133,7 +143,7 @@ echo "alias gcl='gitlab-ci-local'" >> ~/.bashrc
133143
### Tab completion
134144

135145
```bash
136-
gitlab-ci-local --completion >> ~/.bashrc
146+
gitlab-ci-local --completion >> ~/.bashrc
137147
```
138148

139149
### Logging options
@@ -156,7 +166,7 @@ to `when: never`.
156166

157167
```text
158168
name description stage when allow_failure needs
159-
test-job Run Tests test on_success false
169+
test-job Run Tests test on_success false
160170
build-job build on_success true [test-job]
161171
```
162172

@@ -166,7 +176,7 @@ Same as `--list` but will also print out jobs which are set to `when: never` (di
166176

167177
```text
168178
name description stage when allow_failure needs
169-
test-job Run Tests test on_success false
179+
test-job Run Tests test on_success false
170180
build-job build on_success true [test-job]
171181
deploy-job deploy never false [build-job]
172182
```
@@ -219,7 +229,7 @@ local-only-job:
219229
local-only-subsection:
220230
script:
221231
- if [ $GITLAB_CI == 'false' ]; then eslint . --fix; fi
222-
- eslint .
232+
- eslint .
223233
```
224234
225235
### Home file variables

0 commit comments

Comments
 (0)