Commit Graph

98 Commits

Author SHA1 Message Date
Yury Bondarenko
2e9acc3885 Merge remote-tracking branch 'origin/main' into poc-eslint-plugin-autofix-selectors 2024-04-17 14:40:45 +02:00
Tim Donohue
10db33bcea Docker build IDs must all be unique to avoid image conflicts. Ensure no builds use a generic name like "dspace-angular". 2024-04-09 14:52:27 -05:00
Tim Donohue
54f1ce4b78 Ensure all artifacts have a unique name by appending Node version to each 2024-04-08 11:14:30 -05:00
Tim Donohue
2e92ee752d Update all GitHub Actions. Add newly required CODECOV_TOKEN to codecov action 2024-04-08 10:22:04 -05:00
Yury Bondarenko
ac48a49273 Merge remote-tracking branch 'origin/main' into poc-eslint-plugin-autofix-selectors 2024-04-04 18:15:28 +02:00
Giuseppe Digilio
32f1d1096a Merge branch 'main' into DURACOM-234
# Conflicts:
#	src/app/core/data/request.service.ts
#	src/modules/app/browser-app.config.ts
#	src/modules/app/server-app.config.ts
2024-04-04 09:32:38 +02:00
Tim Donohue
bbab56a7da Update build script to use "docker compose" instead of "docker-compose". Fixes random failures starting e2e test backend via Docker 2024-04-03 14:00:42 -05:00
Giuseppe Digilio
e0855a46cc [DURACOM-234] Remove unsupported node 16 2024-03-21 17:29:52 +01:00
Yury Bondarenko
3937be13f2 Custom ESLint rules to enforce new ThemedComponent selector convention
The following cases are covered:
- ThemedComponent wrapper selectors must not start with ds-themed-
- Base component selectors must start with ds-base-
- Themed component selectors must start with ds-themed-
- The ThemedComponent wrapper must always be used in HTML
- The ThemedComponent wrapper must be used in TypeScript _where appropriate_:
  - Required
    - Explicit usages (e.g. modal instantiation, routing modules, ...)
    - By.css selector queries (in order to align with the HTML rule)
  - Unchecked
    - Non-routing modules (to ensure the components can be declared)
    - ViewChild hooks (since they need to attach to the underlying component)

All rules work with --fix to automatically migrate to the new convention
This covers most of the codebase, but minor manual adjustment are needed afterwards
2024-03-21 10:11:04 +01:00
Tim Donohue
9043f63cd2 Bug fix to GitHub CI build. Set compose project name via env variable. Also add default name if unspecified 2024-02-05 08:50:43 -06:00
Tim Donohue
b30fd4bb0b Remove unused env variables 2023-11-28 16:50:55 -06:00
Tim Donohue
fce5cdcc72 Refactor to simply use the reusable-docker-build.yml from DSpace/DSpace. 2023-11-28 16:11:09 -06:00
Tim Donohue
ff677a83d6 Redeploy demo/sandbox more quickly by only waiting for AMD64 image 2023-11-22 10:51:28 -06:00
Tim Donohue
4f340d8870 Merge pull request #2649 from tdonohue/update_gh_actions
GitHub Actions Updates: Redeploy Sandbox via Docker & Fix retry of Codecov upload
2023-11-21 13:41:40 -06:00
Tim Donohue
fd645452a5 Trigger redeploy of demo/sandbox from GitHub Actions after DockerHub image updated. 2023-11-21 12:15:42 -06:00
Tim Donohue
c99fe3a6c1 Fix directory structure for -dist digests 2023-11-17 11:56:48 -06:00
Tim Donohue
9f12ca3265 Update GH actions to latest versions. Fix bug in codecov to ensure it retries on error. 2023-11-17 11:05:46 -06:00
Tim Donohue
41eba0dc2f Fix bug in Docker manifest. Each build must use a separate artifact to store digests. Other minor cleanup & comments added. 2023-11-17 09:31:09 -06:00
Thomas Misilo
394dc67747 Setup the Docker GH Action for Matrix Building
This change enables building of the amd64 and arm64 images simultaneously.

Once both images finish, the manifest is sent to Docker Hub, allowing for a single image that has both the amd64/arm64 images.
2023-11-16 11:36:06 -06:00
Tim Donohue
596006de82 Enable new skip merge commit feature 2023-08-23 17:05:42 -05:00
Tim Donohue
765b5c8531 Revert "Enable early release of backport-action to test korthout/backport-action#372" 2023-08-08 15:35:17 -05:00
Tim Donohue
419868bd8d Enable early release of backport-action to test korthout/backport-action#372 2023-08-08 14:44:01 -05:00
Tim Donohue
d75d12b423 Minor update to label_merge_conflicts to ignore any errors (seem random at this time) 2023-07-28 14:11:08 -05:00
Tim Donohue
338b63ebb8 Add action to automatically create a port PR when specified 2023-07-28 14:10:44 -05:00
Tim Donohue
db6edbf184 Merge pull request #2359 from tdonohue/docker_actions
GitHub Actions: Split Docker images into separate jobs to run in parallel.  Enable 'latest' tag. (for dspace-angular)
2023-07-07 12:48:59 -05:00
Tim Donohue
effe181696 Split docker images into separate jobs to run in parallel. Ensure 'main' codebase is tagged as 'latest' 2023-07-07 12:05:56 -05:00
Tim Donohue
15be060665 Ensure codescan and label_merge_conflicts run on maintenance branches 2023-07-07 11:56:54 -05:00
Tim Donohue
5208008f95 Enable Pull Request Opened action to assign PRs to their creator 2023-07-07 11:56:47 -05:00
Yury Bondarenko
fe1be27d49 Bump Node heap size in CI 2023-04-26 18:46:01 +02:00
Tim Donohue
88ba37e527 Fix warnings in action summary. Use new Yarn cache syntax. Update Cypress and remove unnecessary headless flag. 2023-04-17 16:02:02 -05:00
Tim Donohue
fef1ba9663 Update to latest version of actions 2023-04-17 15:07:09 -05:00
Tim Donohue
187cdd7ae2 Split Codecov upload into a separate job. Make it auto-retry up to five times 2023-04-17 15:06:51 -05:00
Mark Cooper
7410141d3f Build & publish dspace/dspace-angular imgs with -dist suffix 2023-04-06 16:46:08 -07:00
Tim Donohue
6d1b9f3fa4 Ensure all SSR caching is disabled in CI environment 2023-03-07 16:38:25 -06:00
Tim Donohue
aa7c644e6a Minor configuration cleanup for Cypress 2023-03-03 10:49:06 -06:00
Tim Donohue
4915f10b0e Merge pull request #1946 from mwoodiupui/1865
Support Node v18
2022-12-09 14:10:15 -06:00
Tim Donohue
492344e6bd Spin up UI and REST on 127.0.0.1 2022-12-08 16:04:54 -06:00
Tim Donohue
3f9884eb24 Update to use GitHub CodeQL for code scanning 2022-12-06 11:28:08 -06:00
Tim Donohue
23c4034cfb Add CONTRIBUTING docs and resync with PR template 2022-12-06 10:44:19 -06:00
Mark H. Wood
2ef78741cc Name resolution changed in Node 18 -- avoid it. 2022-12-02 08:47:01 -05:00
Mark H. Wood
7690d36e4b Update Node versions with which to test. 2022-11-17 09:06:34 -05:00
Tim Donohue
6d1d446c0d Update to the latest version of all GitHub actions 2022-11-03 15:03:47 -05:00
Tim Donohue
d0bcf5efcc Harden workflows by limiting default permissions 2022-10-31 10:33:38 -05:00
Tim Donohue
fb05b7c701 Ensure label_merge_conflicts never runs on forks 2022-10-28 09:53:33 -05:00
Tim Donohue
e7e049c531 Bug fix to label_merge_conflicts GitHub action 2022-10-28 09:40:30 -05:00
Tim Donohue
f782ee921c Cherry-pick https://github.com/DSpace/DSpace/pull/8552 to dspace-angular 2022-10-28 09:30:11 -05:00
Tim Donohue
5b69bb1cc4 Update action to add issues to new triage board 2022-10-21 16:49:17 -05:00
Tim Donohue
f37f32b4ab Drop Node 12 which is EOL. CI Build on 14 and 16 2022-06-22 15:13:35 -05:00
Tim Donohue
d719a02597 Only build PRs in AMD64, as a simple sanity check. 2022-05-27 09:08:52 -05:00
Art Lowel
7f6c17df75 add support for multiple platforms to docker build 2022-05-25 15:02:38 +02:00