Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 7.0.0 #27

Merged
merged 68 commits into from
Aug 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
5ef4fbb
Switch to python_3.7 branches
thinkh Oct 3, 2019
3c058ee
Switch back to develop branches
thinkh Oct 3, 2019
5dd7d9d
Prepare next dev release
thinkh Oct 3, 2019
ba7ff7d
Use caleydo cluster in circleci config.yml
thinkh Oct 3, 2019
80fd142
Merge branch 'develop' into python_3.7
thinkh Oct 3, 2019
d89df6d
Activate nightly build in circleci config
thinkh Oct 4, 2019
9b362e9
Activate nightly CircleCI build (#17)
thinkh Oct 4, 2019
792aa08
Prepare next dev release
thinkh Oct 11, 2019
6019ab8
Merge branch 'develop' into python_3.7
thinkh Oct 11, 2019
fe6aa88
Update config.yml
Jan 8, 2020
b844aa2
Update phovea_product.json
Jan 8, 2020
460c9ca
Update config.yml
Jan 8, 2020
00441d0
Update config.yml
Jan 14, 2020
47b0905
Update config.yml
Jan 14, 2020
7feca4c
remove _Jenkinsfile_ and _.travis,yml_
dvvanessastoiber Jan 16, 2020
3cd76b3
add command to show installed npm dependencies
dvvanessastoiber Jan 16, 2020
d84ea80
use `destination` instead of removed `prefix`
dvvanessastoiber Jan 16, 2020
9a20107
update _build.js_
dvvanessastoiber Jan 16, 2020
b5e7516
replace `/` in branchName with underscore
dvvanessastoiber Jan 16, 2020
ba7cc8d
update dependencies
dvvanessastoiber Jan 16, 2020
425503b
add CODEOWNERS file
rumersdorfer Jan 29, 2020
f270e72
Ignore errors from `npm ls` and `pip list`
thinkh Jan 29, 2020
4841761
Remove `--skipTests` in CircleCI config.yml
thinkh Jan 29, 2020
dd040e0
Remove `--serial` flag to activate parallel builds
thinkh Jan 29, 2020
17ca2cb
Add `--skipTests` flag again to pass build
thinkh Jan 29, 2020
4b1e44a
add CODEOWNERS file (#20)
Jan 29, 2020
33a9d96
Merge remote-tracking branch 'origin/develop' into python_3.7
thinkh Jan 29, 2020
607ff29
Update to Python 3.7 (#19)
Jan 29, 2020
c341ae2
Add tourdino to develop build
Mar 4, 2020
3ea7ceb
Merge pull request #21 from Caleydo/tourdino-develop
Mar 4, 2020
1eafa35
Add `injectionVersion` flag in CircleCI config
thinkh Mar 4, 2020
6465276
Merge pull request #23 from Caleydo/enable-inject-version
Mar 5, 2020
f5e474a
Update build.js
Mar 9, 2020
2cb1748
Merge pull request #24 from Caleydo/thinkh/fix-month-in-version
Mar 12, 2020
e45fd8d
update dependencies and remove mkdirp
dvvanessastoiber Mar 13, 2020
4d9dc34
switch to branch develop
dvvanessastoiber Mar 13, 2020
919f35e
Switch to tdp_core#develop
Mar 13, 2020
6ce5375
Switch generator-phovea to develop branch
Mar 16, 2020
bf122bf
Merge pull request #26 from Caleydo/update_dep_req
Mar 16, 2020
3fdcd10
prepare release 7.0.0
dvvanessastoiber Mar 19, 2020
0b2de0f
update package-lock.json
dvvanessastoiber Mar 19, 2020
a443fc5
Merge branch 'master' into release-7.0.0
Mar 19, 2020
a76935c
use correct version
dvvanessastoiber Mar 19, 2020
0d32a76
Update README.md circleci links
rumersdorfer Apr 24, 2020
81312f0
Merge pull request #30 from Caleydo/rumersdorfer-update_README.md
Apr 28, 2020
a2c0ece
Update README.md
rumersdorfer May 12, 2020
a42cc3b
Update README.md
May 13, 2020
15bdc5e
Merge pull request #31 from Caleydo/rumersdorfer-update_README.md
May 13, 2020
492665f
new workspace changes
steiner-anita Jul 28, 2020
3534db4
update dependencies
steiner-anita Jul 30, 2020
6b68bbd
update cache
steiner-anita Jul 30, 2020
07ccc32
ignore package-lock.json
steiner-anita Jul 30, 2020
c604a44
Delete package-lock.json
Jul 30, 2020
4bda4d6
update cache
steiner-anita Jul 30, 2020
9230226
Merge branch 'develop' of github.com:Caleydo/ordino_product into develop
steiner-anita Jul 30, 2020
b3d2a94
update .gitignore
dvvanessastoiber Jul 30, 2020
a33cd5c
switch branches
dvvanessastoiber Jul 30, 2020
a06a480
add files
dvvanessastoiber Jul 30, 2020
4d0002c
switch to develop
dvvanessastoiber Jul 30, 2020
7b04bf8
Update phovea_product.json
Jul 31, 2020
337c8ce
Merge pull request #33 from Caleydo/vstoiber/64_move_deploy
Jul 31, 2020
1169629
Merge branch 'develop' into release-7.0.0
thinkh Aug 13, 2020
ab58eae
Use ordino-public cluster for stable release
thinkh Aug 13, 2020
6775ed8
update version numbers
dvvanessastoiber Aug 13, 2020
9b8b2d8
Disable nightly build
thinkh Aug 13, 2020
3f10ece
update matomo version
dvvanessastoiber Aug 13, 2020
ed6e99f
Update version numbers in phovea_product.json
thinkh Aug 13, 2020
3426989
Merge branch 'release-7.0.0' of github.com:caleydo/ordino_product int…
thinkh Aug 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 24 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,32 @@ jobs:
build:
working_directory: ~/phovea
docker:
- image: caleydo/phovea_circleci_python:v2.0
- image: circleci/python:3.7-buster-node-browsers # for node version see Dockerfile on https://hub.docker.com/r/circleci/python
steps:
- checkout
- setup_remote_docker
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency2-cache-{{ checksum "package.json" }}
- run:
name: install-npm-wee
command: npm install
- run:
name: Show installed npm dependencies
command: npm list --depth=1 || true
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency2-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- restore_cache:
key: awscli-1.11.113
key: awscli-1.16.312
- run:
name: install-aws-cli
command: |
virtualenv ~/venv
. ~/venv/bin/activate
pip install awscli==1.11.113
pip install awscli==1.16.312
- save_cache:
key: awscli-1.11.113
key: awscli-1.16.312
paths:
- ~/venv
- run:
Expand All @@ -51,30 +54,30 @@ jobs:
awsTag="latest"
;;
*)
awsTag="${CIRCLE_BRANCH}${CIRCLE_TAG}"
awsTag="${CIRCLE_BRANCH//\//_}${CIRCLE_TAG}" # replace `/` with `_` in branch name
;;
esac
echo "using tag: --${awsTag}--"
node build.js --serial --skipSaveImage --skipTests --noDefaultTags --pushExtra=${awsTag} --pushTo=922145058410.dkr.ecr.eu-central-1.amazonaws.com/caleydo
node build.js --injectVersion --skipSaveImage --skipTests --noDefaultTags --pushExtra=${awsTag} --pushTo=922145058410.dkr.ecr.eu-central-1.amazonaws.com/caleydo
- store_artifacts:
path: build
prefix: build
destination: build
- deploy:
name: cleanup untagged aws repo
command: |
. ~/venv/bin/activate
export AWS_DEFAULT_REGION=eu-central-1
baseName=${CIRCLE_PROJECT_REPONAME%_product}
# list repos filter to just the one of this product and delete untagged ones
aws ecr describe-repositories --output text | cut -f5 | grep "caleydo/${baseName}" | while read line; do aws ecr list-images --repository-name $line --filter tagStatus=UNTAGGED --query 'imageIds[*]' --output text | while read imageId; do aws ecr batch-delete-image --output text --repository-name $line --image-ids imageDigest=$imageId; done; done
aws ecr describe-repositories --output text | cut -f6 | grep "caleydo/${baseName}" | while read line; do aws ecr list-images --repository-name $line --filter tagStatus=UNTAGGED --query 'imageIds[*]' --output text | while read imageId; do aws ecr batch-delete-image --output text --repository-name $line --image-ids imageDigest=$imageId; done; done
- deploy:
name: restart aws #assumes the task definition is called <reponame>-<branch>
command: |
. ~/venv/bin/activate
export AWS_DEFAULT_REGION=eu-central-1
# cleanup name by removing the _product suffix
baseName=${CIRCLE_PROJECT_REPONAME%_product}
awsFamily="${baseName}-${CIRCLE_BRANCH}"
awsFamily="${baseName}-${CIRCLE_BRANCH//\//_}" # replace `/` with `_` in branch name
echo "awsFamily --${awsFamily}--"
tasksExists=$(aws --output text ecs list-task-definitions --family-prefix ${awsFamily})
echo "existsTaskDefinition? --${tasksExists}--"
Expand All @@ -91,16 +94,16 @@ jobs:

workflows:
version: 2
# build-nightly:
# triggers:
# - schedule: # nightly build during weekday
# cron: "15 1 * * 1-5"
# filters:
# branches:
# only:
# - develop
# jobs:
# - build
# build-nightly:
# triggers:
# - schedule: # nightly build during weekday
# cron: "15 1 * * 1-5"
# filters:
# branches:
# only:
# - develop
# jobs:
# - build
build-branch:
jobs:
- build:
Expand All @@ -115,4 +118,3 @@ workflows:
ignore: /.*/
tags:
only: /^v.*/

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @thinkh
42 changes: 31 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
/.tscache
/.idea
/build/
/dist/
node_modules/
/src/**/*.js
/tests/**/*.js
*.map
*.css
*.log
/tmp*/
# ignore all files and plugin repos of the workspace ...
.*
*.*
/*/
*
package-lock.json

# ... except all files relevant for the product build
!/.circleci/
!/.github
!templates/
!templates/web/
!templates/web/deploy
!templates/web/deploy/web
!templates/web/deploy/web/*
!templates/api/
!templates/api/deploy
!templates/api/deploy/api
!templates/api/deploy/api/*
!.editorconfig
!.gitattributes
!.yo-rc.json
!ISSUE_TEMPLATE.md
!LICENSE
!README.md
!build.js
!package.json
!phovea_product.*
!Jenkinsfile
!docker_script.sh
!docker-compose-patch.*
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

44 changes: 0 additions & 44 deletions Jenkinsfile

This file was deleted.

13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ordino_product [![Phovea][phovea-image]][phovea-url] [![CircleCI](https://circleci.com/gh/Caleydo/ordino_product.svg?style=svg)](https://circleci.com/gh/Caleydo/ordino_product) [![Dependency Status][daviddm-image]][daviddm-url]
ordino_product [![Phovea][phovea-image]][phovea-url] [![CircleCI](https://circleci.com/gh/Caleydo/ordino_product.svg?style=svg)](https://circleci.com/gh/Caleydo/ordino_product)
=====================

[![Phovea][phovea-image]][phovea-url] [![Build Status][circleci-image]][circleci-url]


Installation
Expand Down Expand Up @@ -36,9 +36,6 @@ This repository is part of **[Phovea](http://phovea.caleydo.org/)**, a platform

[phovea-image]: https://img.shields.io/badge/Phovea-Product-FABC15.svg
[phovea-url]: https://phovea.caleydo.org
[npm-image]: https://badge.fury.io/js/ordino_product.svg
[npm-url]: https://npmjs.org/package/ordino_product
[travis-image]: https://travis-ci.org/Caleydo/ordino_product.svg?branch=master
[travis-url]: https://travis-ci.org/Caleydo/ordino_product
[daviddm-image]: https://david-dm.org/Caleydo/ordino_product/status.svg
[daviddm-url]: https://david-dm.org/Caleydo/ordino_product
[circleci-image]: https://circleci.com/gh/Caleydo/ordino_product.svg?style=shield
[circleci-url]: https://circleci.com/gh/Caleydo/ordino_product

Loading