3
0
mirror of https://git.coop/cotech/website.git synced 2025-10-06 15:34:35 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
18851086d9 Upgrade ruby and gems
Ruby 2.6.6 has reached the end-of-life and I had some trouble
installing the dependencies locally as a result. I've updated to the
latest version of ruby and regenerated the Gemfile.lock with the
latest versions of the two gems we depend on, and their dependencies.

Everything looks to still be working in terms of site generation.
2025-06-20 10:57:07 +01:00
c1f9b4162b remove test deploy servermigration branch 2022-11-06 19:58:24 +00:00
2c8bbc3d5a fix ssh-keyscan 2022-11-06 19:51:01 +00:00
2baca3c81d ssh-keyscan ip addreess 2022-11-06 19:48:53 +00:00
4322865986 Test servermigration branch 2022-11-06 19:32:22 +00:00
8cc7fc3273 Test server migration 2022-11-06 19:28:17 +00:00
d5a260c00e Update Ruby to v2.6.6
This is the latest patch version of v2.6.
2020-10-11 14:47:35 +01:00
2c655c68d1 Update Ruby to v2.5.8
This is the latest patch version of v2.5.
2020-10-11 14:30:35 +01:00
fc19c38939 Delete SSH private key from the Docker container 2019-02-15 12:44:48 +00:00
9d882bc4a3 A few deployments tweaks 2018-11-30 18:01:32 +00:00
d84a8bad79 Try caching vendor path 2018-11-30 17:25:42 +00:00
dd3b730e1e Only run production depoy after dev deploy 2018-11-30 17:25:42 +00:00
d6d1723880 Reorder gitlab ci sections 2018-11-30 16:12:38 +00:00
fd79fbb35b Only deploy from master, use when:manual for prod 2018-11-30 16:11:05 +00:00
7101fedabe Cache all of /usr/local/bundle/
... it doesn't seem to be caching properly but perhaps that's
because it's not setup in the runner properly yet...
2018-11-29 18:23:36 +00:00
72f4216aac Also cache built gems 2018-11-29 17:52:25 +00:00
4f90793c73 Cache rubygems
Save a bit of co2.
2018-11-29 17:35:40 +00:00
c13211ff9e Specify deployment information for GitLab 2018-11-29 17:00:24 +00:00
af19045146 Fixup CI
master/dev need to have seperate bundle install/deploys
2018-11-29 16:07:23 +00:00
37c2d2cfe8 rsync dev branch 2018-11-29 14:47:18 +00:00
fce5d8bbc1 rsync to dev.static.coops.tech 2018-11-29 12:49:27 +00:00
92b1459724 Add back necessary eval $(ssh-agent -s) 2018-11-18 16:07:00 +00:00
e35afc0dcd CI tweaks to make it less verbose 2018-11-18 16:05:08 +00:00
0893e88391 Remove hello world test from .gitlab-ci.yml 2018-11-18 15:34:17 +00:00
7ee0f5bf24 Added hello world test 2018-11-18 15:17:01 +00:00
e733ed08e8 Install rsync on CI 2018-11-13 21:55:17 +00:00
97667077e1 Attempt to deploy site
@chris has setup a server[1] and added the public half of a key pair
generated using `ssh-keygen -o -t rsa -b 4096` as per the instructions
on docs.gitlab.com[2].

The `before_script` was taken from the same instructions. I set the
two variables SSH_PRIVATE_KEY and SSH_KNOWN_HOSTS in the CI/CD
settings[3].

To see if this works I'm calling `rsync` in the `script` section of
the deploy stage, using the dry-run option, `-n`.

[1] https://git.coop/cotech/website/issues/4#note_9890
[2] https://docs.gitlab.com/ee/ci/ssh_keys/#ssh-keys-when-using-the-docker-executor
[3] https://git.coop/cotech/website/settings/ci_cd
2018-11-13 20:19:19 +00:00
48d40e6ad1 Fix ruby version to 2.5.3
This is the latest stable version of ruby.
2018-11-10 22:51:01 +00:00
d7c5ca4cad Add a .gitlab-ci.yml
Following the instructions[1] for building a jekyll site in gitlab,
I've added this file. Let's see if it works!

[1] https://gitlab.com/pages/jekyll
2018-11-10 22:26:23 +00:00