Commit Graph

284 Commits

Author SHA1 Message Date
Maurizio Vitale
db6a638a2d [AAE-6099] Storybook deploy image on quay.io (#7288)
* Try to build on travis

* Use the new quay repository called storybook

* Build and release demoshell and storybook toghether
2021-10-08 14:52:29 +01:00
Eugenio Romano
dbc014d076 Update .travis.yml (#7277) 2021-10-05 09:49:16 +01:00
Denys Vuika
c1860f0c1f [ADF-5410] code fixes and updates prior to Angular 12 upgrade (#7177)
* package fixes

* upgrade stylelint config

* upgrade configuration and stats

* code fixes based on Angular upgrade

* rework scss-bundle usage

* use node 14 with travis (lts)

* fix production builds

* fix node sass version
2021-07-15 12:48:23 +01:00
Eugenio Romano
ac6f616246 Fix some build scripts (#7048)
Make publish run on API
2021-05-20 17:14:42 +01:00
Eugenio Romano
24d256b2b1 fix login docker 2021-05-11 13:22:28 +01:00
Popovics András
c0b5935b43 [ACS-1526] Fail on Draft and unapproved PRs (#6963)
* [ACS-1526] Fail on Draft and unapproved PRs

* [ci:force]
2021-04-28 20:38:10 +02:00
Eugenio Romano
efe625ea33 Travis Ci only remove e2e on develop merge (#6953)
* Travis Ci only remove e2e on develop merge

* Update .travis.yml

* Update .travis.yml
2021-04-27 14:41:42 +01:00
Eugenio Romano
672891e21b improve travis ci (#6951)
add deprecate build script
2021-04-27 09:26:13 +01:00
Eugenio Romano
882a3bd6d8 Run develop only once a day (#6927) 2021-04-15 14:43:07 +01:00
Eugenio Romano
3aea68b358 Update .travis.yml 2021-04-12 09:58:34 +01:00
Eugenio Romano
8ee091ac54 remove beta [skip-ci] 2021-04-09 11:16:05 +01:00
Eugenio Romano
59ce019345 Update .travis.yml 2021-04-09 11:14:14 +01:00
Eugenio Romano
ab6354d39a Fix affect (#6846)
* fix affect

* one name
2021-03-23 17:12:55 +00:00
Eugenio Romano
e7c0eb4a94 Update .travis.yml 2021-03-17 16:33:41 +00:00
Eugenio Romano
cd915b307b Remove demo shell test and make cloud a bit more stable (#6781)
* remove demo shell test and make cloud a bit more stable

* fix lint

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* try fix attach

* Update .travis.yml

* sleep...

* remove about e2e demo shell....

* fix

* lint fix

* configure

* refactor buuild

* names and remove demo shell build from libs

* fix new build approach

* fix

* fix

* .

* uncomment

* .

* .

* fix

* fix

* .

* fix

* lock update

* fix demo shell errors

* use replay subject

* fix some console log error

* suffix problem

* split process e2e

* not need to check everywhere the pagination e2e

* split content

* fix

* fix

* fix

* fix

* reorg

# Conflicts:
#	.travis.yml
2021-03-17 15:17:46 +00:00
Silviu Popa
335aa4861e [ACA-4344] - increase debounce time on process filters (#6805)
* [ACA-4344] - increase debounce time on process filters

* Put back S3 for smartrunner cache

* Remove useless npm caching

Co-authored-by: Silviu Constantin Popa <silviucpopa@L3700101120.ness.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
2021-03-10 23:06:45 +01:00
Maurizio Vitale
c58366d08e Move the upstream to a lower level (#6804) 2021-03-10 18:52:18 +01:00
Popovics András
f84ea5da72 [AAE-4608] Use smartrunner version 2 and add SuperCache (workspaces + S3 combo)! (#6704)
* [AAE-4608] Use smartrunner version 2

* Fix npm installing and do not depend on develop cache

* Add Travis workspaces the simplest way

* Add missing dependencies

* Remove unnecessary npm install on lint

* Fix travis indentation

* Fix e2e missing adf packages

* Trying to fix Travis

* Remove debug information

* Use Travis workspaces for smartrunner and built artefacts caching instead of S3

* Implement nuclear caching for node_modules

* Quiet snyk running, since the log length kills Travis

* Maybe with -q

* Quieting snyk

* Why displaying the added packages??????

* Fix S3 persister/retriever scripts

* Restore back parallel build and lint, to gain 10 minutes
2021-02-22 08:57:08 +00:00
Eugenio Romano
4313535ee3 Update children script (#6650)
* Update children script version 2

* save exact
2021-02-09 12:36:00 +00:00
Eugenio Romano
2071596fe6 [ADF-5331] - Alpha ADF/JS-API update has been successfully created. (#6639)
* remove unused script
refactor the alpha build to use the JS-API in the branch all the time

* use alpha build number

* rewire maxretry

* Delete check-js-api-version.js
2021-02-08 16:00:44 +00:00
Eugenio Romano
f4976a1949 [ADF-4329][ASD-5330] plus Improve e2e (#6580)
Improve e2e
Fix SSO user avatar 
Fix Priority for APS1
2021-02-05 15:18:30 +00:00
dhrn
d70cfa7fc9 [ADF-5283] Fix Permission Flaky test (#6380)
* [ADF-5283] Fix Permission Flaky test

* * Removed search service

* * check permission for folder

* * execution flow fixed

* * wait for files to index

* Fix e2e tests

* * wait for user to index

* * try something api fix

* * revert back the changes

* Add sleep

* Refactor permission tests

* bring back good things

Co-authored-by: Cano <david.cano.nieto@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-12-08 11:43:55 +00:00
Eugenio Romano
3f77c2d851 Add upload license script (#6386)
* add upload license script

* remvove

* Remove the siteFolder property when create a new repo because not compatible with activiti 1.11.1.1

Co-authored-by: MaurizioVitale <mauriziovitale@XXXX-MBP-1818.local>
2020-11-27 16:19:39 +00:00
Eugenio Romano
49368c746f Improve env check (#6361)
* improve env check

* fix

* wrong fit

* log
2020-11-20 15:19:28 +00:00
Eugenio Romano
ababde3760 ix build (#6347)
* create after e2e and before e2e script

* permission test exclude

* flaky exclude

* fix

* chmod permission

* modify check cs

* fix

* execute

* fix

* fix
2020-11-16 00:49:10 +00:00
Eugenio Romano
16e589c196 Try new Graviton (#6250) 2020-10-16 11:58:11 +01:00
Eugenio Romano
d128bc158c Update .travis.yml 2020-10-02 17:49:54 +01:00
Eugenio Romano
7fb42d79c0 Test improve 2 (#6167)
* more debug log

* fix

* next chrome

* fix favorite

* fix

* Fix spelling

* fix

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-09-28 00:05:07 +01:00
Eugenio Romano
3f1a9f4853 Test improve (#6146)
* fix

* fix datatable wait method

* slow down isEmpty check

* fix

* fix

* fix
2020-09-23 13:32:27 +01:00
Eugenio Romano
46ccda68b3 [ADF-5235] Facet fix and improve search test (#6122)
* improve search test

* fix

* fix

* fix

* changes

* modify

* logout public URL

* improve stability some e2e

* fx lint

* fix

* fix

* improve

* fix

* improve

* fix

* fix

* fix

* fix [skip ci]

* fix

* some fix [skip ci]

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* convert C291893 in manual test case in testrail

* fix

* fix
2020-09-21 09:35:01 +01:00
Eugenio Romano
a08ea45887 Update .travis.yml 2020-09-15 09:45:56 +01:00
Eugenio Romano
a630cfb390 Fix e2e (#6087)
* fix protractor conf

* remove update env

* fix cli error script cs

* change screenshot plugin

* remove unused param

* fix

* fix

* fix

* moment comment nvm

* fix

* fix

* fix

* fix

* remove adf redirect

* fix

* fix

* save remote report

* report fix

* improve save result

* fix folder save

* fix folder save

* fix placeholder pointer , they needs refactor later

* fix

* fix lint

* fix

* remove test already covered by unit
fix the test in core needed
exclude the one impossible to make it works without APS basic support

* lint

* fix some logout missing

* fix

* Fix the custom-tasks-filters.e2e

* fix lint

* fix

* fix

* fix

* Fix wait on start process  and on process definition options

* Fix logout before login again

* fix uplaod test

* fix

* Fix infodrawer with check detail and sleep

* lint

* increase list of excluded test

* fix

* fix lint

* change wait method datatable

* fix

* fix

* revert check value

* fix

* fix

* change tag test

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-09-04 13:27:55 +01:00
Denys Vuika
d051aed476 fix production builds (#6075)
* run builds scripts sequentially

* temporary enable prod builds

* use ng instead of nx for adf-core

* increase mem

* downgrage the ts target

* downgrade main tsconfig

* update config

* downgrade scss-bundle

* raise mem only for prod builds

* restore dev build

* update angular cdk

* try restore build target

* upgrade unit tests after angular upgrade

* fix tests after angular upgrade

* remove old e2e
2020-08-28 17:34:08 +01:00
Eugenio Romano
6f5ff737dd change travis order trigger 2020-07-31 12:15:14 +01:00
dhrn
a5972e753a [ACA-3492] ADF - Expose new Groups Endpoints (#5893)
* [ACA-3492] ADF - Expose new Groups Endpoints

* * docs added

* * fix ut

* unit test split cloud

* Update data-table-component.page.ts

* unit test split cloud

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-22 11:20:07 +01:00
arditdomi
b9dc285d2b [ACA-3596] Fix e2e due to process header properties changes (#5873)
* [ACA-3596] Fix e2e due to process header properties changes

* Change pages structure

* Move the build demoshell as last step and exclude for PR

* move more pages

* change testing pkg

* better JSON import

* update script

* move CLOUD in the right place

* some logs and not used methods

* retrycout

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-16 22:22:22 +01:00
Eugenio Romano
db8981ffc4 use lib from s3 2020-07-13 21:10:59 +01:00
Eugenio Romano
a0f865b83b use lib from s3 2020-07-13 20:09:36 +01:00
Eugenio Romano
5edab26f8e simplify release tasks 2020-07-13 18:36:18 +01:00
Eugenio Romano
270020f561 remove cache lib/dist 2020-07-13 17:42:09 +01:00
Eugenio Romano
a5a984164c Update .travis.yml 2020-07-06 17:54:35 +01:00
Maurizio Vitale
a9e8b18972 Fix the path for the docker image (#5839) 2020-07-06 16:19:57 +01:00
Denys Vuika
cd2b489100 [ADF-5146] Upgrade to Angular 10 (#5834)
* remove useless module

* upgrade to angular 8

* upgrade material to v8

* upgrade adf libs

* migrate demo shell to v8

* upgrade to angular 9

* upgrade material to v9

* remove hammer

* upgrade nx

* upgrade datetime picker

* upgrade flex layout

* update core api

* remove entry components

* code fixes

* upgrade testbed usage

* code fixes

* remove unnecessary core-js from tests

* upgrade CLI

* ts config fixes

* fix builds

* fix testing config

* compile fixes

* fix demo shell dev setup

* fix core tests

* fix card view import

* upgrade nx

* disable smart builds for now

* remove fdescribe

* restore smart builds

* fix issues

* unify tsconfigs and fix newly found issues

* fix configuration and cleanup package scripts

* improved production build from the same config

* use ADF libs directly instead of node_modules

* disable smart build

* single app configuration (angular)

* fix core build

* fix build scripts

* lint fixes

* fix linting setup

* fix linting rules

* various fixes

* disable affected libs for unit tests

* cleanup insights package.json

* simplify smart-build

* fix content tests

* fix tests

* test fixes

* fix tests

* fix test

* fix tests

* disable AppExtensionsModule (monaco example)

* remove monaco extension module

* upgrade bundle check rules

* fix insights tests and karma config

* fix protractor config

* e2e workaround

* upgrade puppeteer and split linting and build

* reusable resources config

* update protractor config

* fix after rebase

* fix protractor config

* fix e2e tsconfig

* update e2e setup

* Save demoshell artifact on S3 and remove travis cache

* Push the libs on S3 and fetch before releasing it

* Add deps

* Add dependencies among libs and run only affected unit test and build

* fix the travis stage name

* fix after renaming dev to demoshell

* force the order of the projects

* remove unused dependencies

* fix content e2e script

* exit codes fix

* add extra exit codes to core e2e

* postinstall hook and package cleanup

* cleanup packages

* remove deprecated code and dependency on router

* improve bundle analyzer script

* minor code fixes

* update spec

* fix code after rebase

* upgrade protractor after rebase

* fix e2e mapping lib

* Update tsconfig.e2e.json

* update e2e tsconfig

* fix angular config

* fix protractor runs

* cache dist folder for libs

* update material selectors for dropdowns

* selector fixes

* remove duplicated e2e that have unit tests already

* fix login selector

* fix e2e

* fix test

* fix import issues

* fix selector

* cleanup old monaco extension files

* cleanup demo shell login

* add protractor max retries

* disable customisations of protractor

* fix login validation

* fix after rebase

* fix after rebase, disable latest versions of libs

* Hide the report tab and rollback the localstorage

* rename protractor config back to js

* restore lint as part of build

* cleanup code

* do not copy anything to node_modules on dist test

* fix unit tests

* config fixes

* fix code

* fix code after rebase

* fix tests

* remove existing words from spellcheck

* remove useless directive decorators

* update package.json after rebase

* add js-api back

* code fixes

* add missing export

* update configs

* fix code

* try fix the sso login test

* fix

* remove puppeteer unit

* fix e2e script

* fix

* make provider easy

* fix routes module before upgrade

* fix unit tests

* upgrade angular cli

* upgrade to angular 10

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
Eugenio Romano
be91bec05d increase decoupling during the release 2020-06-30 11:37:22 +01:00
Eugenio Romano
c2a95d9394 remove test release task (#5683) 2020-05-11 13:58:01 +01:00
Eugenio Romano
742c103cc0 Deploy PR on request (#5642)
* deploy PR on request

* [create peview]

* [create peview]

* script fix [create preview]

* [create peview]

* change creation preview

* [create peview]

* Update deploy-pr.sh

* [create peview]

* update node and dist

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create preview]

* subfolder issue

* [create preview]

* [create preview]

* [create preview]

* [create preview]

* [create preview]

* [create preview]
2020-05-10 18:32:47 +01:00
Eugenio Romano
e139b4c218 [AAE-2570] prepare script to change name development to develop (#5675)
* prepare script to change name development to develop

* travis for develop
2020-05-06 11:23:01 +01:00
maurizio vitale
2f89787b7a Use the build dist without stats and move the docker step on top 2020-02-18 13:32:51 +00:00
Eugenio Romano
64254d988f Update .travis.yml 2020-02-06 11:32:25 +00:00
Eugenio Romano
cac31e372c Update .travis.yml 2020-01-31 16:18:23 +00:00