mirror of
https://github.com/offen/website.git
synced 2024-11-23 09:20:33 +01:00
Merge pull request #71 from offen/development
Fix outdated links in deep dive article
This commit is contained in:
commit
6162321e73
@ -1,34 +1,40 @@
|
||||
version: 2
|
||||
version: 2.1
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
docker:
|
||||
- image: circleci/python:3.7
|
||||
- image: cimg/python:3.7
|
||||
working_directory: ~/offen
|
||||
steps:
|
||||
- checkout
|
||||
- setup_remote_docker
|
||||
- aws-cli/install
|
||||
- run:
|
||||
name: Install deployment dependencies
|
||||
command: |
|
||||
sudo pip install -q awscli --upgrade
|
||||
- run:
|
||||
name: Build and deploy to S3
|
||||
name: Set build environment depending on branch
|
||||
command: |
|
||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||
cat >> $BASH_ENV \<< EOF
|
||||
export SITEURL="https://www.offen.dev"
|
||||
export BUCKET="offen-dev-production"
|
||||
export DISTRIBUTION="E2UP8XHLFOC3QC"
|
||||
export ROBOTS_FILE="robots.txt.production"
|
||||
export OFFEN_ACCOUNT_ID="5ec8345a-2a45-4eb9-92e5-8d9e5684db58"
|
||||
EOF
|
||||
else
|
||||
cat >> $BASH_ENV \<< EOF
|
||||
export SITEURL="https://staging.offen.dev"
|
||||
export BUCKET="offen-dev-staging"
|
||||
export DISTRIBUTION="E13I20LK8ASYFH"
|
||||
export ROBOTS_FILE="robots.txt.staging"
|
||||
export OFFEN_ACCOUNT_ID="8f7ee44a-4cd8-47f2-a77e-8c7c98d46b89"
|
||||
EOF
|
||||
fi
|
||||
make build
|
||||
- run:
|
||||
name: Build
|
||||
command: make build
|
||||
- run:
|
||||
name: Deploy to S3
|
||||
command: |
|
||||
aws s3 sync --delete ./output/. s3://$BUCKET
|
||||
aws cloudfront create-invalidation --distribution-id $DISTRIBUTION --paths "/*"
|
||||
|
||||
@ -42,3 +48,6 @@ workflows:
|
||||
only:
|
||||
- master
|
||||
- development
|
||||
|
||||
orbs:
|
||||
aws-cli: circleci/aws-cli@1.0.0
|
||||
|
@ -59,10 +59,9 @@ At runtime, Offen is just mediating exchange between users and operators. Usage
|
||||
|
||||
[^9]: Datensparsamkeit <https://martinfowler.com/bliki/Datensparsamkeit.html>
|
||||
|
||||
The software itself, as well as *all the used tools are open source*, [project planning][pivotal-tracker]{: target="_blank"} and [technical specification][rfcs-repo]{: target="_blank"} take place in the open and actively solicit feedback from the general public. The infrastructure the service is deployed to is split into three isolated environments in order to minimize possible attack vectors.
|
||||
The software itself, as well as *all the used tools are open source*, [project planning and technical specification][github-org]{: target="_blank"} take place in the open and actively solicit feedback from the general public. The infrastructure the service is deployed to is split into three isolated environments in order to minimize possible attack vectors.
|
||||
|
||||
[pivotal-tracker]: https://www.pivotaltracker.com/n/projects/2334535
|
||||
[rfcs-repo]: https://github.com/offen/rfcs
|
||||
[github-org]: https://github.com/offen
|
||||
|
||||
Users and operators are given intuitive and accessibility-focused tools for analyzing and managing their data in the form of a web application and a browser extension. Operators deploy the service using a simple script tag. More sophisticated use cases are covered by a dedicated SDK.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user