Commit Graph

42 Commits

Author SHA1 Message Date
Michał Fidor
c843a8dbaa [ACS-5343] refactor Playwright framework in ACA (#3261)
* [ACS-5343] refactor Playwright framework in ACA

* Add the tests for Actions, from the Adam PR [ACS-5328]

* Small fixes

* Improve logs

* [ACS-5343] adding-goThroughPages-and-delete

* [ACS-5343] added git changes

* [ACS-5343] added git changes for playwright

* [ACS-5343] fix for e2e

* [ACS-5343] e2e protractor path fix

* remove import

* [ACS-5343] e2e playwright user fix

* [ACS-5343] e2e playwright user ids fix

* [ACS-5343] e2e playwright users ids fix

* changes for git

* fix playwright test run

* tsconfig path fix

* playwright action yml added

* retrigger checks

* add test id from testrail

* merge conflits

* fix gha

* fix credentials

---------

Co-authored-by: adam.zakrzewski <adam.zakrzewski@hyland.com>
Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-06-16 13:07:09 -04:00
MichalKinas
e0a74d7fb9 [ACS-4538] Make folder-rules secondary entry point of aca-content (#3181)
* [ACS-4538] Make folder-rules secondary entry point of aca-content

* [ACA-4538] Fix folder rules imports

* [ACS-4538] Fix folder-rules unit tests

* [ACS-4538] Fix package.json after folder rules transition

* [ACS-4538] Remove duplicated peerDependency

* [ACS-4538] Import fix
2023-06-16 14:55:04 +02:00
MichalKinas
3ca4a91389 [ACS-4539] Make ms-office as secondary point of aca-content (#3180)
* [ACS-4539] Make ms-office as secondary point of aca-content

* [ACA-4539] Fix tsconfig path

* [ACS-4539] Run ms-office unit tests as part of aca-content
2023-05-10 09:43:51 +01:00
MichalKinas
6794ea58ac [ACS-4537] Make aca-about secondary entry of aca-content (#3179)
* break dependency on core module

* convert about to secondary entry

* Fixes after rebase

* [ACS-4537] - Copy about assets

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-05-09 14:32:06 +01:00
Denys Vuika
df33a411f4 Revert "[ACS-4537] Make aca-about secondary entry of aca-content (#3170)" (#3172)
This reverts commit 222f487e70.
2023-05-05 21:24:50 +01:00
Denys Vuika
e654c7f3f2 [ACA-4646] fix versioning for GA 2023-05-05 16:54:19 +01:00
Denys Vuika
efda5d1461 [ACA-4646] Upgrade to Node 18 (#3163)
* regenerate lock file

* switch gha to node 18

* fix dependencies for Node 18

* fix the ci/cd command invokation

* update readme

* fix run-e2e command

* fix artifact name for e2e test results
2023-05-05 16:37:51 +01:00
MichalKinas
222f487e70 [ACS-4537] Make aca-about secondary entry of aca-content (#3170)
* break dependency on core module

* convert about to secondary entry

* Fixes after rebase

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-05-05 17:00:19 +02:00
MichalKinas
5fa5ac4117 [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
2023-04-26 12:25:36 +02:00
AleksanderSklorz
e9bc42df10 [ACS-4534] nx workspace support for aca (#3143)
* ACS-4534 Added nx workspace support

* ACS-4534 Updated package-lock.json file

* ACS-4534 Configured cache directory and affected command

* ACS-4534 Updated README

* ACS-4534 Updated more README files

* ACS-4534 Fixed lint

* ACS-4534 Address comment for readme

* ACS-4534 Removed redundant build-libs script

* ACS-4534 Fixed start script

* ACS-4534 Updated some left documentation

* ACS-4534 Added more helper scripts, addressed PR comments

* ACS-4534 Updated package-lock.json after rebasing

* ACS-4534 Fix stylelint issue
2023-04-25 15:34:34 +02:00
Akash Rathod
1ce80f3189 [ACS-4922] folder rule e2e fail timeout (#3116) 2023-04-12 07:15:41 -04:00
MichalKinas
b37584ee8e [ACS-5027] Fix ADF linking in ACA (#3114) 2023-04-11 16:06:00 +02:00
Denys Vuika
494c2f753c fix npm publish script 2023-04-11 09:48:26 +01:00
Denys Vuika
3f805b0e25 release workflow fixes for docker tags 2023-04-11 09:39:41 +01:00
Denys Vuika
41f1292cb3 fix release workflow script 2023-04-11 09:10:01 +01:00
Denys Vuika
73a4c95e42 use angular serve for e2e (#3085)
* use angular serve for e2e

* generate default .env file

* try to wait for base url

* Revert "try to wait for base url"

This reverts commit 48f55c604d.

* try to sleep a bit

* try waiting for url

* bump timeout

* try different approach

* different timeout attempt

* restore sleep

* do not install global libs on ci
2023-03-23 10:45:03 -04:00
Denys Vuika
c3b9886edf cleanup GitHub actions (#3071)
* cleanup GHA

* remove unused parameters

* consolidate actions, improve readability

* remove unused files

* restore fetch depth
2023-03-22 12:48:53 -04:00
Denys Vuika
36c5c39311 [ACS-4535] rework docker publishing actions (#3068)
* rework docker publishing actions

* simplify steps

* rollback AWS credentials
2023-03-16 13:26:45 -04:00
Maurizio Vitale
f21299a90d use dot as separator for minor v (#3069) 2023-03-16 12:54:09 -04:00
Denys Vuika
25f9a03110 [ACS-4535] cleanup unused dependencies (#3064)
* cleanup unused dependencies

* more cleanup
2023-03-16 05:52:26 -04:00
Denys Vuika
eba0f9aef8 remove travis remains (#3051) 2023-03-14 17:01:56 -04:00
Maurizio Cacace
680319596a ACS-4814 - Use PR id for library publishing (#3061)
* ACS-4814 Use PR id for library publishing

* ACS-4814 Use PR id for library publishing
2023-03-14 04:25:48 -04:00
Denys Vuika
6233e71e2c fix gha setup (#3049) 2023-03-07 13:53:50 -05:00
Denys Vuika
84a2860abf port tag fetch from ADF (#3048) 2023-03-07 13:49:39 -05:00
Denys Vuika
b5d5c1bc95 Fix gha workflow for library version bump (#3047)
* fix update-library-versions action

* fix update-library-actions
2023-03-07 13:40:56 -05:00
Denys Vuika
44fdc462f3 fix update-library-versions action (#3046) 2023-03-07 13:35:56 -05:00
Denys Vuika
6f309a0c1e release workflow fixes (#3045) 2023-03-07 13:32:06 -05:00
Denys Vuika
554783086f [ACA-4649] fix npm registry url 2023-03-07 16:30:15 +00:00
Denys Vuika
4933b1db42 [ACA-4649] release workflow enhancements (#3043)
* move update versions of libs to shell script

* unify packaging script

* update package.json repository

* change github token
2023-03-07 11:12:57 -05:00
Denys Vuika
c0e01fc6ab Revert "[ACA-4649] fix token propagation"
This reverts commit d939caa5d9.
2023-03-07 14:25:49 +00:00
Denys Vuika
d939caa5d9 [ACA-4649] fix token propagation 2023-03-07 14:04:45 +00:00
Denys Vuika
e75f63dd89 [ACA-4649] fix destination path for npm publish 2023-03-07 12:56:03 +00:00
Denys Vuika
d63c314200 [ACA-4649] fix npm publishing 2023-03-07 12:47:26 +00:00
Denys Vuika
fea85f65e8 [ACA-4649] fix publishing of npm libs 2023-03-07 12:39:17 +00:00
Denys Vuika
2ed5373798 [ACA-4649] fix lib publishing (#3042)
* [ACA-4649] fix lib publishing

* fix cd typo

* add safety check for existing tag
2023-03-07 07:30:05 -05:00
Denys Vuika
f2e20c31fb [ACA-4649] correctly handle missing gha dry runs 2023-03-07 11:32:36 +00:00
Denys Vuika
b67a73d832 [ACA-4649] release workflow fixes (#3041)
* release workflow fixes

* fix release triggering on push to master

* cleanup
2023-03-07 06:06:34 -05:00
Denys Vuika
483af3165c [ACA-4649] fix gha checks 2023-03-06 17:33:39 -05:00
Denys Vuika
b937e23281 [ACA-4649] GitHub Actions workflow fixes (#3039)
* use commit message only where needed

* remove merge checks

* remove merge checks
2023-03-06 16:13:14 -05:00
Denys Vuika
3fb91eeafc [ACA-4653] fix release actions (#3029)
* fix publish libs action

* push tags only for master

* fix publishing only for master

* fix leaking sensitive info in the echo

* fix publish script and passing branch name to action

* fix incorrect travis branch

* consistent input naming

* npm tag as input

* Update .github/workflows/release.yml

Co-authored-by: Giovanni Toraldo <me@gionn.net>

* Update .github/workflows/release.yml

Co-authored-by: Giovanni Toraldo <me@gionn.net>

* remove not really necessary workflow_call triggers

* fixup job conditionals with ref_name

* setup job is not really doing anything useful

* add setup node to npm publish step

* add missing npm install to publish libs

* Update scripts/travis/deploy/publish.sh

Co-authored-by: Alex Chapellon <alxgomz@gmail.com>

* Update scripts/travis/deploy/publish.sh

Co-authored-by: Alex Chapellon <alxgomz@gmail.com>

* Update .github/actions/git-tag/action.yml

Co-authored-by: Alex Chapellon <alxgomz@gmail.com>

---------

Co-authored-by: Giovanni Toraldo <me@gionn.net>
Co-authored-by: Giovanni Toraldo <giovanni.toraldo@hyland.com>
Co-authored-by: Alex Chapellon <alxgomz@gmail.com>
2023-03-06 08:05:14 -05:00
MichalKinas
e38e72a8e0 [ACA-4653] Migrate release workflow to GHA (#3027)
* [ACA-4653] Run ACA upstream on schedule

* [ACA-4653] Migrate release workflow to GHA

* [ACA-4653] Consistency in naming

* [ACA-4653] Use GH action to configure GH author

* [ACA-4653] Dedicated sh for publish Docker image job

* [ACA-4653] Add missing variables

* [ACA-4653] Delete Travis.yml

* [ACA-4653] CR fixes

* [ACA-4653] Add branch name as action input

* [ACA-4653] Proper env var usage in workflow
2023-03-03 12:40:37 -05:00
MichalKinas
01f7e3c287 [ACA-4652] Run unit tests as one GH job, add e2es as GH job (#2997)
* [ACA-4652] Run unit tests as one GH job, add e2es as GH job

* [ACA-4652] Fix yaml syntax

* [ACA-4652] Fix if syntax

* [ACA-4652] Correct syntax

* [ACA-4652] Correct syntax

* [ACA-4652] Each job must contain uses or run

* [ACA-4652] Migrate uploading/downloading build artifacts, migrate before install

* [ACA-4652] Fix bad substitution

* [ACA-4652] Fix string merging in bash

* [ACA-4652] Bash fix

* [ACA-4652] Install aws before downloading/uploading artifacts

* [ACA-4652] Add setup with aws config action

* [ACA-4652] Add aws-region

* [ACA-4652] Use aws default region

* [ACA-4652] Log github event

* [ACA-4652] Log workflow run

* [ACA-4652] Fix commit logging

* [ACA-4652] Use action to get current commit msg

* [ACA-4652] Add correct version of build tools

* [ACA-4652] Get commit msg from env

* [ACA-4652] Get commit msg in the same job

* [ACA-4652] Final commit msg test

* [ACA-4652] Fix logging

* [ACA-4652] Cleanup commit msg, correct s3 bucket

* [link-adf:AAE-12767] Test adf linking

* [link-adf:AAE-12767] Test adf linking finalize

* [link-adf:AAE-12767] Tweak finalize job

* [link-adf:AAE-12767] Get commit msg in before install

* [link-adf:AAE-12767] Add missing adfprod configs

* [ACA-4652] Migrate before and after e2e scripts to GHA

* [ACA-4652] Add before e2e logging

* [ACA-4652] Use new GH secrets

* [ACA-4652] Remove logs, add envsub

* [ACA-4652] Install envsub globally

* [ACA-4652] Log replaced config

* [ACA-4652] Add missing env variable

* [ACA-4652] Add e2e run as GH action

* [ACA-4652] Remove logging, fix download path

* [ACA-4652] Disable protractor smartrunner artifact

* [ACA-4652] Install webdriver-manager

* [ACA-4652] Disable failing download on Travis, npm ci in before e2e

* [ACA-4652] Missing shell

* [ACA-4652] Restore artifact download

* [ACA-4652] Download smartrunner artifact only when present

* [ACA-4652] Check run attempt

* [ACA-4652] Correct attempt check

* [ACA-4652] Stop running e2es in Travis for now

* [ACA-4652] Run Travis e2es again, add test suite id

* [ACA-4652] Add test suite id to after e2e action

* [ACA-4652] Remove additional install

* [ACA-4652] CR fixes, remove some Travis config that is already migrated

* [ACA-4652] Cleanup setup leftover

* [ACA-4652] Propagate aws credentials

* [ACA-4652] Fix aws default region

* [ACA-4652] Misspelled variable fix

* [ACA-4652] Propagate aws region

* [ACA-4652] Rename PR workflow

* [ACA-4652] Download artifact only if bucket exists

* [ACA-4652] Run test even is aws bucket doesn't exist

* [ACA-4652] Fix aws download error

* [ACA-4652] Check if file exists before downloading

* [ACA-4652] Remove uploading/downloading e2e artifact after successful run

* [ACA-4652] Add missing check to finalize stage
2023-03-02 03:35:13 -05:00