Compare commits

...

33 Commits

Author SHA1 Message Date
9c825027c5 Inital refresh of colour scheme 2018-11-09 12:54:02 +00:00
33add8fd8f Added link to CoTech website to CoTech logo in footer 2018-11-05 23:48:21 +00:00
1f3ada29d7 Rsync recursive 2018-08-21 18:51:21 +01:00
442d758cb4 Don't use rsync archive option 2018-08-21 18:48:07 +01:00
b0a959e2e4 Don't set times 2018-08-21 18:44:40 +01:00
bdea07164d Change menu text colour 2018-08-21 18:43:39 +01:00
cf4f1fbd46 Rename dist to public 2018-08-21 18:40:18 +01:00
81a96fbf34 Run ssh-agent 2018-08-21 18:33:22 +01:00
eec8b982eb Disable strict host key checking 2018-08-21 18:26:50 +01:00
9ed30e8717 Add autonomic.zone to known hosts 2018-08-21 18:22:43 +01:00
f675143d59 apt-get update 2018-08-21 18:15:26 +01:00
bbea557322 Install rsync 2018-08-21 18:11:20 +01:00
c23bf3f8d9 Merge branch 'master' of gitlab.com:autonomic-cooperative/autonomic-cooperative.gitlab.io 2018-08-21 18:10:40 +01:00
d51f265fd5 design shite 2018-08-21 18:10:29 +01:00
4e1d28ece6 Deploy to server on master commit 2018-08-21 18:07:09 +01:00
96384a91ea add cotect logo (closes #42) 2018-08-21 17:32:40 +01:00
43559560e8 add postal address (closes #41) 2018-08-21 17:12:59 +01:00
bc9b85e23b Add dates to blog and home (closes #46) 2018-08-21 16:35:38 +01:00
bbeff69a10 Revert "change ruby version gemfile"
This reverts commit 8293415fbd.
2018-08-21 16:35:07 +01:00
8293415fbd change ruby version gemfile 2018-08-21 16:28:23 +01:00
3c3fe48672 Delete 2018-01-11-spectre-and-meltdown.md 2018-08-10 15:26:18 +00:00
f8c9d7bf10 Merge branch 'spectre-blog-post' into 'master'
Spectre blog post

See merge request autonomic-cooperative/autonomic-cooperative.gitlab.io!20
2018-01-14 22:45:59 +00:00
8ad7fd5fed Spectre blog post 2018-01-14 22:45:58 +00:00
0939401b25 Fix bad link. 2017-11-06 21:52:35 +01:00
64b028baf9 Add note about change log. 2017-11-05 15:46:28 +01:00
e9e3568cbe Merge branch 'update-deploy-documentation' into 'master'
Update deployment documentation

See merge request autonomic-cooperative/autonomic-cooperative.gitlab.io!19
2017-11-05 14:42:11 +00:00
a21c093a5a Update deployment documentation. 2017-11-05 15:37:35 +01:00
d16aec42bd Merge branch 'update-email' into 'master'
Update email

See merge request autonomic-cooperative/autonomic-cooperative.gitlab.io!18
2017-11-04 12:35:49 +00:00
7331e9af7d Updated email to new shared account 2017-11-04 12:33:11 +00:00
1152f0977b Use the tags generating command. 2017-10-16 01:02:03 +02:00
dc91454a16 Remove that unused target. 2017-10-14 17:19:16 +02:00
078bc71ce4 Only run this for tagged commits. 2017-10-14 00:35:12 +02:00
c78b411f37 Add note to change log for new tag. 2017-10-14 00:28:51 +02:00
19 changed files with 101 additions and 75 deletions

View File

@ -1,29 +1,21 @@
image: ruby:2.4.2 image: ruby:2.4.2
stages: stages:
- build
- deploy - deploy
build:
stage: build
before_script:
- gem install jekyll
script:
- jekyll build -d public
artifacts:
paths:
- public
deploy: deploy:
stage: deploy stage: deploy
before_script: before_script:
- apt-get update -y
- apt-get -y install rsync
- gem install jekyll - gem install jekyll
- eval $(ssh-agent -s)
script: script:
- jekyll build -d public - jekyll build -d public
- ./bin/deploy - ssh-add <(echo "$SSH_PRIVATE_KEY")
- rsync -rvz --delete -e 'ssh -o StrictHostKeyChecking=no' ./public/ "$SERVER_USER"@autonomic.zone:/var/www/autonomic.zone/html/
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- master - master
- tags

View File

@ -1,9 +1,24 @@
# Change Log # Change Log
All notable changes to this project will be documented in this file. The format All notable changes to this project will be documented in this file. The format
is based on [Keep a Changelog] and this project adheres to [Semantic Versioning]. is based on [Keep a Changelog] and this project adheres to [Semantic Versioning].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: http://semver.org/spec/v2.0.0.html [Semantic Versioning]: http://semver.org/spec/v2.0.0.html
## [1.0.2] - 2017-11-05
## Added
- [#18]: Add shared account email.
[#18]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/merge_requests/18
## [1.0.1] - 2017-10-14
## Added
- [#17]: Added automated Gitlab CI production builds.
[#17]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/merge_requests/17
## [1.0.0] - 2017-10-04 ## [1.0.0] - 2017-10-04
- Initial Release - Initial Release

View File

@ -1,18 +1,6 @@
DEV_DIST_DIR:=dist DEV_DIST_DIR:=dist
PROD_DIST_DIR:=proddist
PROD_REMOTE:=git@gitlab.com:autonomic-cooperative/autonomic-cooperative.gitlab.io.git
PROD_BRANCH:=production
devserver: devserver:
@echo "Serving development site from $(DEV_DIST_DIR)" @echo "Serving development site from $(DEV_DIST_DIR)"
@jekyll serve --watch --incremental --destination $(DEV_DIST_DIR) @jekyll serve --watch --incremental --destination $(DEV_DIST_DIR)
.PHONY: devserver .PHONY: devserver
release:
@echo "Building production site into $(PROD_DIST_DIR)"
@jekyll build --destination $(PROD_DIST_DIR)
@echo "Resetting existing production branch"
@git push $(PROD_REMOTE) $(PROD_BRANCH) --delete
@echo "Pushing latest $(PROD_DIST_DIR) contents to the upstream production branch"
@git subtree push --prefix $(PROD_DIST_DIR) $(PROD_REMOTE) $(PROD_BRANCH)
.PHONY: release

View File

@ -21,15 +21,39 @@ Please see [CONTRIBUTING.md] for the juicy details.
# Make A New Release # Make A New Release
Firstly, you'll need to tag and push the latest HEAD with: Please add a new [change log] entry. This helps us track released changes easily.
[change log]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/blob/master/CHANGELOG.md
Then, [tag a new commit] and send it upstream with:
[tag a new commit]: https://git-scm.com/book/en/v2/Git-Basics-Tagging
[semantic versioning]: http://semver.org/
```bash ```bash
$ git tag -a <YOUR-VERSION-NUMBER> $(git rev-parse HEAD) $ COMMIT=$(git rev-parse HEAD)
$ TAG=6.6.6 # enter your new tag
$ git tag -a $TAG $COMMIT
$ git push upstream master --tags $ git push upstream master --tags
``` ```
Then make a release with: You can also use the [Gitlab tags UI] for this.
```bash [Gitlab tags UI]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/tags
$ make release
Our [deploy] CI stage will push the new site to [the production branch].
[deploy]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/blob/d16aec42bd2ddd7449f55d9f06b03499cc660b22/.gitlab-ci.yml#L17
[the production branch]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/tree/production
Watch the [CI/CD pipeline] to see that it builds successfully.
[CI/CD pipeline]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/pipelines
Then head over to [fullyautomatedluxuryinfrastructure] and run:
[fullyautomatedluxuryinfrastructure]: https://gitlab.com/autonomic-cooperative/fullyautomatedluxuryinfrastructure
``` bash
$ ansible-playbook orgs/autonomic/gitlabpages.yml
``` ```

View File

@ -1,27 +0,0 @@
#!/bin/bash
GITUSERNAME="autonomicgitlabci"
GITUSEREMAIL="autonomicgitlabci@nowhere.com"
DEPLOYSCRIPT="https://github.com/X1011/git-directory-deploy/raw/master/deploy.sh"
export GIT_DEPLOY_DIR="public"
export GIT_DEPLOY_BRANCH="production"
export GIT_DEPLOY_REPO="git@gitlab.com:autonomic-cooperative/autonomic-cooperative.gitlab.io.git"
apt-get update -y
apt-get install -yqq wget openssh-client
wget $DEPLOYSCRIPT && chmod +x deploy.sh
git config --global user.email $GITUSEREMAIL
git config --global user.name $GITUSERNAME
mkdir -p ~/.ssh
eval "$(ssh-agent -s)"
ssh-add <(echo "$SSH_PRIVATE_KEY")
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
# ./deploy.sh -m "Git tag: $(git describe --exact-match HEAD)"
./deploy.sh -m "Hello, World!"
rm -Rfv .ssh

View File

@ -6,6 +6,7 @@
<div class="image">{% if post.image %}<img src="{% if site.featured-image-source %}{{ post.image | prepend: site.featured-image-source | absolute_url }}{% else %}{{ "" | absolute_url }}/assets/images/{{ post.image }}{% endif %}" alt="" />{% endif %}</div> <div class="image">{% if post.image %}<img src="{% if site.featured-image-source %}{{ post.image | prepend: site.featured-image-source | absolute_url }}{% else %}{{ "" | absolute_url }}/assets/images/{{ post.image }}{% endif %}" alt="" />{% endif %}</div>
<div class="content"> <div class="content">
<h2><a href="{{ post.url | relative_url }}" class="link">{{ post.title }}</a></h2> <h2><a href="{{ post.url | relative_url }}" class="link">{{ post.title }}</a></h2>
<p class="h5">{{ post.date | date: '%B %d, %Y' }}</p>
<p>{{ post.description }}</p> <p>{{ post.description }}</p>
</div> </div>
</section> </section>

View File

@ -3,7 +3,7 @@
<header class="major"> <header class="major">
<h2>Get in Touch</h2> <h2>Get in Touch</h2>
<p>Contact us to discuss your project's needs and arrange a consultation.</p> <p>Contact us to discuss your project's needs and arrange a consultation.</p>
<p><a href="mailto:autonomic@posteo.net">autonomic@posteo.net</a></p> <p><a href="mailto:autonomic-coop@posteo.net">autonomic-coop@posteo.net</a></p>
<p> <p>
If you use encrypted email, here is our <a href="{{ "/assets/pgp/autonomic-key.asc" | relative_url }}">PGP key</a>. If you use encrypted email, here is our <a href="{{ "/assets/pgp/autonomic-key.asc" | relative_url }}">PGP key</a>.
Our key fingerprint is: <br/><code id="fingerprint">82FC 87C5 1A71 902F DC10 2CF5 4F90 D55B B24B 1147</code> Our key fingerprint is: <br/><code id="fingerprint">82FC 87C5 1A71 902F DC10 2CF5 4F90 D55B B24B 1147</code>

View File

@ -14,6 +14,13 @@
<ul class="copyright"> <ul class="copyright">
<li class="icon fa-creative-commons">&nbsp;{{ site.title }}</li> <li class="icon fa-creative-commons">&nbsp;{{ site.title }}</li>
</ul> </ul>
<address>
Autonomic Co-operative</br>
1539 Pershore Road </br>
Stirchley</br>
B30 2JH
</address>
</footer> </footer>
</div> </div>

View File

@ -0,0 +1,5 @@
<section class="wrapper style5 special compressed">
<a href="https://www.coops.tech/" target="_blank">
<img src="/assets/images/Member-of-CoTech-logo-200.png" alt="Member of Co-Tech"/>
</a>
</section>

View File

@ -71,7 +71,7 @@
<p> <p>
A grounded and principled understanding of the cybersecurity domain can ensure A grounded and principled understanding of the cybersecurity domain can ensure
your organisation is not liable to any unwanted security threats. We provide your organisation is not liable to any unwanted security threats. We provide
structured training. structured training taliored to your threat model.
</p> </p>
</li> </li>
</ul> </ul>

View File

@ -9,6 +9,7 @@
{% include services.html %} {% include services.html %}
{% include contact.html %} {% include contact.html %}
{% include footer.html %} {% include footer.html %}
{% include membership-footer.html %}
{% include foot-scripts.html %} {% include foot-scripts.html %}
</body> </body>
</html> </html>

View File

@ -7,8 +7,8 @@
<div id="main"> <div id="main">
<header> <header>
{% if page.image %} {% if page.image %}
<div <div
class="header-image" class="header-image"
style="background-image: url('{% if site.featured-image-source %}{{ page.image | prepend: site.featured-image-source | absolute_url }}{% else %}{{ "" | absolute_url }}/assets/images/{{ page.image }}{% endif %}');"></div> style="background-image: url('{% if site.featured-image-source %}{{ page.image | prepend: site.featured-image-source | absolute_url }}{% else %}{{ "" | absolute_url }}/assets/images/{{ page.image }}{% endif %}');"></div>
{% endif %} {% endif %}
@ -35,6 +35,7 @@
{{ item.title }} {{ item.title }}
{% if item.layout %}</a>{% endif %} {% if item.layout %}</a>{% endif %}
</h2> </h2>
<p class="h5">{{ item.date | date: '%B %d, %Y' }}</p>
<p>{{ item.description }}</p> <p>{{ item.description }}</p>
</div> </div>
</section> </section>

View File

@ -1,7 +1,7 @@
--- ---
layout: post layout: post
title: Our Founding Principles title: Our Founding Principles
description: Autonomic Co-operative And Our Core Values. description: Autonomic Co-operative And Our Core Values
image: pic01.jpg image: pic01.jpg
category: values category: values
date: 2017-10-03 date: 2017-10-03

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -107,6 +107,7 @@ h4 {
h5 { h5 {
font-size: 0.8em; font-size: 0.8em;
line-height: 1.5em; line-height: 1.5em;
font-style: italic;
} }
.h6, .h6,
@ -232,4 +233,4 @@ header {
display: none; display: none;
} }
} }
} }

View File

@ -54,7 +54,7 @@
> a { > a {
border: 0; border: 0;
color: inherit; color: black;
display: block; display: block;
font-size: 0.8em; font-size: 0.8em;
letter-spacing: _size(letter-spacing-alt); letter-spacing: _size(letter-spacing-alt);

View File

@ -11,7 +11,7 @@
color: _palette($p, fg-bold); color: _palette($p, fg-bold);
} }
.h2, .h3, .h4, .h5, .h6, .h2, .h3, .h4, .h5, .h6,
h2, h3, h4, h5, h6 { h2, h3, h4, h5, h6 {
color: _palette($p, fg-bold); color: _palette($p, fg-bold);
@ -210,6 +210,14 @@
padding: 0; padding: 0;
} }
&.compressed {
padding: 0.5em 0 0;
img {
max-width: 150px;
}
}
&.style1 { &.style1 {
@include wrapper(accent1); @include wrapper(accent1);
} }
@ -229,7 +237,7 @@
&.style5 { &.style5 {
@include wrapper(accent2); @include wrapper(accent2);
} }
&.style6 { &.style6 {
@include wrapper(accent4); @include wrapper(accent4);
} }
@ -241,4 +249,4 @@
@include breakpoint(small) { @include breakpoint(small) {
@include padding(3em, 2em); @include padding(3em, 2em);
} }
} }

View File

@ -50,7 +50,7 @@
border2: rgba(0,0,0,0.25), border2: rgba(0,0,0,0.25),
border2-bg: rgba(255,255,255,0.2) border2-bg: rgba(255,255,255,0.2)
), ),
accent2: ( accent2: (
bg: #ffffff, bg: #ffffff,
fg-bold: #2E3842, fg-bold: #2E3842,
@ -72,9 +72,9 @@
border2: rgba(0,0,0,0.25), border2: rgba(0,0,0,0.25),
border2-bg: rgba(255,255,255,0.2) border2-bg: rgba(255,255,255,0.2)
), ),
accent4: ( accent4: (
bg: #25558C, bg: #313533,
fg-bold: #ffffff, fg-bold: #ffffff,
fg: mix(#25558C, #ffffff, 25%), fg: mix(#25558C, #ffffff, 25%),
fg-light: mix(#25558C, #ffffff, 40%), fg-light: mix(#25558C, #ffffff, 40%),
@ -82,5 +82,16 @@
border-bg: rgba(255,255,255,0.075), border-bg: rgba(255,255,255,0.075),
border2: rgba(0,0,0,0.25), border2: rgba(0,0,0,0.25),
border2-bg: rgba(255,255,255,0.2) border2-bg: rgba(255,255,255,0.2)
) ),
);
accent5: (
bg: #41a19d,
fg-bold: #ffffff,
fg: mix(#F3A712, #ffffff, 25%),
fg-light: mix(#F3A712, #ffffff, 40%),
border: rgba(0,0,0,0.125),
border-bg: rgba(255,255,255,0.075),
border2: rgba(0,0,0,0.25),
border2-bg: rgba(255,255,255,0.2)
),
);

View File

@ -126,15 +126,15 @@ body.is-mobile {
/* Footer */ /* Footer */
#footer { #footer {
@include padding(6em, 0); padding: 4em 0 3.5em;
background-color: darken(_palette(bg), 8); background-color: darken(_palette(bg), 8);
text-align: center; text-align: center;
color: rgba(255, 255, 255, 0.7);
.icons { .icons {
font-size: 1.25em; font-size: 1.25em;
a { a {
color: _palette(fg-light);
&:hover { &:hover {
color: _palette(fg); color: _palette(fg);
@ -143,7 +143,6 @@ body.is-mobile {
} }
.copyright { .copyright {
color: _palette(fg-light);
font-size: 0.8em; font-size: 0.8em;
letter-spacing: _size(letter-spacing-alt); letter-spacing: _size(letter-spacing-alt);
list-style: none; list-style: none;