changeset 32: | 02aa015bff73 |
parent: | 8eb98e4ffe05 |
author: | ellis <ellis@rwest.io> |
date: | Sun, 27 Aug 2023 21:19:19 -0400 |
permissions: | -rw-r--r-- |
description: | containerfile updates |
24
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
1 | image: fukamachi/sbcl |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
2 | before_script: |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
3 | - apt-get mercurial |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
4 | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
5 | - rustup default nightly |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
6 | - hg clone https://lab.rwest.io/otom8/demo ~/quicklisp/local-projects/demo |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
7 | stages: |
23 | 8 | - build |
9 | - test |
|
10 | - deploy |
|
24
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
11 | build-job: |
23 | 12 | stage: build |
13 | script: |
|
14 | - echo "Compiling the code..." |
|
24
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
15 | - make build |
23 | 16 | - echo "Compile complete." |
24
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
17 | unit-test-job: |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
18 | stage: test |
23 | 19 | script: |
24
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
20 | - echo "Running unit tests..." |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
21 | - make test |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
22 | lint-test-job: |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
23 | stage: test |
23 | 24 | script: |
24
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
25 | - echo "Linting code..." |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
26 | - make fmt |
23 | 27 | - echo "No lint issues found." |
24
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
28 | deploy-job: |
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
29 | stage: deploy |
23 | 30 | script: |
31 | - echo "Deploying application..." |
|
24
8eb98e4ffe05
ci tweaks, fukamachi has a good docker setup, may modify to add archlinux
ellis <ellis@rwest.io>
parents:
23
diff
changeset
|
32 | - echo "Application successfully deployed." |