changelog shortlog graph tags branches changeset files file revisions raw help

Mercurial > demo / annotate .gitlab-ci.yml

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
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
8
   - build
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
9
   - test
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
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
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
12
   stage: build
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
13
   script:
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
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
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
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
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
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
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
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
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
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
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
30
   script:
dc7e11694976 Update .gitlab-ci.yml file
ellis <ellis@rwest.io>
parents:
diff changeset
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."