mirror of
https://github.com/offen/website.git
synced 2024-11-26 18:50:27 +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:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.7
|
- image: cimg/python:3.7
|
||||||
working_directory: ~/offen
|
working_directory: ~/offen
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- setup_remote_docker
|
- setup_remote_docker
|
||||||
|
- aws-cli/install
|
||||||
- run:
|
- run:
|
||||||
name: Install deployment dependencies
|
name: Set build environment depending on branch
|
||||||
command: |
|
|
||||||
sudo pip install -q awscli --upgrade
|
|
||||||
- run:
|
|
||||||
name: Build and deploy to S3
|
|
||||||
command: |
|
command: |
|
||||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||||
export SITEURL="https://www.offen.dev"
|
cat >> $BASH_ENV \<< EOF
|
||||||
export BUCKET="offen-dev-production"
|
export SITEURL="https://www.offen.dev"
|
||||||
export DISTRIBUTION="E2UP8XHLFOC3QC"
|
export BUCKET="offen-dev-production"
|
||||||
export ROBOTS_FILE="robots.txt.production"
|
export DISTRIBUTION="E2UP8XHLFOC3QC"
|
||||||
export OFFEN_ACCOUNT_ID="5ec8345a-2a45-4eb9-92e5-8d9e5684db58"
|
export ROBOTS_FILE="robots.txt.production"
|
||||||
|
export OFFEN_ACCOUNT_ID="5ec8345a-2a45-4eb9-92e5-8d9e5684db58"
|
||||||
|
EOF
|
||||||
else
|
else
|
||||||
export SITEURL="https://staging.offen.dev"
|
cat >> $BASH_ENV \<< EOF
|
||||||
export BUCKET="offen-dev-staging"
|
export SITEURL="https://staging.offen.dev"
|
||||||
export DISTRIBUTION="E13I20LK8ASYFH"
|
export BUCKET="offen-dev-staging"
|
||||||
export ROBOTS_FILE="robots.txt.staging"
|
export DISTRIBUTION="E13I20LK8ASYFH"
|
||||||
export OFFEN_ACCOUNT_ID="8f7ee44a-4cd8-47f2-a77e-8c7c98d46b89"
|
export ROBOTS_FILE="robots.txt.staging"
|
||||||
|
export OFFEN_ACCOUNT_ID="8f7ee44a-4cd8-47f2-a77e-8c7c98d46b89"
|
||||||
|
EOF
|
||||||
fi
|
fi
|
||||||
make build
|
- run:
|
||||||
|
name: Build
|
||||||
|
command: make build
|
||||||
|
- run:
|
||||||
|
name: Deploy to S3
|
||||||
|
command: |
|
||||||
aws s3 sync --delete ./output/. s3://$BUCKET
|
aws s3 sync --delete ./output/. s3://$BUCKET
|
||||||
aws cloudfront create-invalidation --distribution-id $DISTRIBUTION --paths "/*"
|
aws cloudfront create-invalidation --distribution-id $DISTRIBUTION --paths "/*"
|
||||||
|
|
||||||
@ -42,3 +48,6 @@ workflows:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- development
|
- 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>
|
[^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
|
[github-org]: https://github.com/offen
|
||||||
[rfcs-repo]: https://github.com/offen/rfcs
|
|
||||||
|
|
||||||
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.
|
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