Commit Graph
270 Commits
Author SHA1 Message Date
Denys Vuika 41f1292cb3 fix release workflow script 2023-04-11 09:10:01 +01:00
MichalKinas 5f05499224 [ACA-4651] Fix build config in GHA (#3088) 2023-03-26 06:23:08 -04: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
Kristian Dimitrov 509bb5ee93 [ACS-4922] Fix Playwright e2es
* [ACS-4922] Fix Playwright e2es

* [ACS-4922] Try pointing to acadev instead of localhost

* [ACS-4922] Set Playwright env vars to secrets.PLAYWRIGHT_E2E_HOST
2023-03-22 11:56:00 -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 b939d1c582 [ACS-4792] provide support for style linting (#3055)
* [ACS-4792] provide support for style linting

* style fixes

* style fixes

* style fixes

* disable yarn licenses until the issue is fixed

* fix package lock

* fix after rebase
2023-03-14 04:16:36 -04:00
Denys Vuika c996d7d7d1 fix publishing upon PR merge (#3056)
* fix publishing upon PR merge

* release alphas on push to develop

* do not run PR workflow on merges

* add pull request types
2023-03-13 06:18:28 -04:00
Denys Vuika 2ccf6cb238 [ACA-4668] cancel previous jobs in the workflow (#3052) 2023-03-10 04:25:00 -05:00
Denys Vuika 2a32fadb52 Revert "try fetch all branches"
This reverts commit fc985c91d1.
2023-03-08 16:13:47 +00:00
Denys Vuika fc985c91d1 try fetch all branches 2023-03-08 16:07:07 +00: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 0b55af2c32 [ACA-4649] fix NPM registry address 2023-03-07 14:26:28 +00: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 ab900f9c41 [ACA-4649] fetch all tags for tagging check 2023-03-07 13:24:31 +00:00
Denys Vuika 4a681f331d [ACA-4649] set write permissions for gha 2023-03-07 13:18:46 +00:00
Denys Vuika cf7118cedc [ACA-4649 load all tags for git publishing 2023-03-07 13:14:57 +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
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 7bf6c8f137 [ACA-4666] Make finalize fail if any previous check fails (#3024) 2023-03-02 14:02:46 +01: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
MichalKinas 801969c518 [ACS-4632] Downgrade node version, small script fix (#2993) 2023-02-15 19:45:28 +01:00
MichalKinas ffb9c13b93 [ACS-4632] Add GH workflow to trigger ACA upstream (#2992)
* [ACS-4632] Add GH workflow to trigger ACA upstream

* [ACS-4632] Bump node version and switch to npm cache
2023-02-15 18:09:49 +01:00
Denys Vuika 5b054f234d [ACS-4536] deprecate and cleanup aca-settings module (#2978) 2023-02-11 00:28:29 +00:00
Bartosz Sekula c8e861907d [AAE-11496] Publish aca-viewer and aca-preview (#2945)
* [AAE-11496] Publish aca-viewer and aca-preview

* fix tests
2023-01-31 15:35:51 +01:00
Denys Vuika 02196ce733 gha: cleanup and setup improvements (#2905) 2023-01-16 12:57:28 +00:00
Denys Vuika b50c4e993d [ACA-4649] GHA linting and unit testing support (#2904)
* GHA linting support

* gha: aos tests

* fix test job

* gha: aca-shared test

* gha: unit tests for the rest of the projects

* upgrade CodeQL actions

* remove obsolete action settings
2023-01-14 17:14:31 +00:00
Denys Vuika 0158dba041 add rebase workflow for PRs (#2786) 2022-11-17 13:45:38 +00:00
Eugenio Romano a928f22ee6 once per week dependabot 2021-04-06 12:29:17 +01:00
Eugenio Romano 46beb128a5 Update dependabot.yml (#2005) 2021-02-18 14:41:12 +00:00
Denys Vuika e8535669e5 configure dependabot excludes (#2003) 2021-02-16 15:32:37 +00:00