Commit 199bb68b authored by Lars Thorup's avatar Lars Thorup

DNS friendly S3 bucket name

parent 5f1e4045
Pipeline #43043150 passed with stages
in 2 minutes and 3 seconds
......@@ -23,11 +23,11 @@ aws:
stage: live
environment:
name: live
url: https://fullstackagile.eu/
url: https://www.fullstackagile.eu/
when: manual
dependencies:
- pages
before_script:
- pip install awscli
script:
- aws s3 cp public s3://fullstackagile-live/ --recursive
- aws s3 cp public s3://www.fullstackagile.eu/ --recursive
......@@ -3,8 +3,10 @@
npm install
npm run serve
Markdown reference: https://markdown-it.github.io/
[Markdown reference](https://markdown-it.github.io/)
[AWS configuration](./aws-setup.md)
## Deployment configuration
* [AWS](./aws-setup.md)
* [Cloudflare](./cloudflare-setup.md)
......@@ -4,7 +4,7 @@
### Bucket
* Name: fullstackagile-live
* Name: www.fullstackagile.eu
* Region: eu-central-1
* Static Website Hosting: enabled
* Index document: index.html
......@@ -18,7 +18,7 @@
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::fullstackagile-live/*"
"Resource": "arn:aws:s3:::www.fullstackagile.eu/*"
}]
}
```
......@@ -27,7 +27,7 @@
### Policy
* Name: s3-fullstackagile-live-uploading
* Name: s3-www.fullstackagile.eu-uploading
```
{
......@@ -40,7 +40,7 @@
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::fullstackagile-live/*"
"Resource": "arn:aws:s3:::www.fullstackagile.eu/*"
},{
"Sid": "VisualEditor1",
"Effect": "Allow",
......@@ -52,9 +52,9 @@
### User
* Name: s3-fullstackagile-live-uploader
* Name: s3-www.fullstackagile.eu-uploader
* Access type: programmatic
* Policy: s3-fullstackagile-live-uploading
* Policy: s3-www.fullstackagile.eu-uploading
## GitLab environment
......
# Cloudflare configuration
## Nameservers
* Follow Cloudflare instructions
## SSL
* Flexible
* Always use HTTPS
## DNS
* CNAME www - www.fullstackagile.eu.s3-website.eu-central-1.amazonaws.com
---
layout: html-en
---
<h2>Menu</h2>
<ul>
<li><a href="/">Home</a></li>
</ul>
<h1>{{title}}</h1>
{{ content | safe }}
......@@ -3,3 +3,14 @@ layout: page-en
permalink: "/"
title: fullstackagile
---
<h2>Recent posts</h2>
<ul>
{%- for post in collections.post reversed limit: 99 -%}
<li>
<a href="{{post.data.permalink | url}}">
{{ post.data.title }}
</a>
</li>
{%- endfor -%}
</ul>
---
layout: post-en
tags: post
title: 100 tests per second – 40 releases per week
permalink: "/2018/04/10/100-tests-per-second-40-releases-per-week/"
---
In April 2018 I gave a talk where I showed how the [Triggerz](https://www.triggerz.com/) engineering team continuously deliver new software versions to our users.
The Triggerz product is a web application built with React, Node.js and PostgreSQL. The product has been live since 2017 with users worldwide.
We have built a simple continuous deployment pipeline, also mostly in JavaScript, that we use to validate every push to master before deploying it automatically to production.
* [Video](https://www.youtube.com/watch?v=Iuc34vqVz2E)
* [Slides](https://www.slideshare.net/larsthorup/100-tests-per-second-40-releases-per-week)
* [Blog post about how to do fast integration tests](/2015/01/05/unit-test-your-service-integration-layer/)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment