No description
  • TypeScript 84.6%
  • JavaScript 13.8%
  • SCSS 1.1%
  • Shell 0.3%
Find a file
red-hat-konflux[bot] b59e45aced
chore(deps): update konflux references (#5571)
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2026-04-03 15:26:24 -04:00
.github enable submodule updates (#5546) 2025-12-19 08:15:26 -05:00
.tekton chore(deps): update konflux references (#5571) 2026-04-03 15:26:24 -04:00
ansible-hub-ui Bump master to 4.11.0dev, enable 4.10 tooling (#5128) 2024-09-23 11:28:11 +00:00
build-tools@f982cf6c3a chore(deps): update build-tools digest to f982cf6 (#5570) 2026-04-03 15:26:12 -04:00
CHANGES Both 'bool' and 'boolean' are valid types for plugins, and should be treated the same. (#5415) 2025-02-27 09:43:55 -05:00
community Bump node to v20 (#5107) 2024-12-02 11:03:43 +00:00
config Update galaxy_ng dev env (#5463) 2025-03-10 14:19:30 +00:00
deploy Frontend Operator Migration (#5531) 2025-09-25 14:33:46 -04:00
docker Bump minimal node version to 18+ (#4582) 2023-11-29 00:59:00 +00:00
locale Automated updated of i18n strings on 2025-08-03 2025-08-03 05:42:20 +00:00
src Updating text on landing page under Share (#5524) 2025-07-29 11:36:25 -04:00
static RoleRatings, CollectionRatings - display scores on role list/detail and collection detail (#4283) 2023-09-27 14:32:10 +00:00
test chore(deps): update form-data to 4.0.4 for CVE-2025-7783 (#5533) 2025-09-18 18:44:54 +01:00
.babelrc Switch to new JSX transform (#5353) 2024-12-13 23:03:30 +00:00
.dockerignore Add development dockerfile. (#143) 2020-06-02 11:10:02 -04:00
.editorconfig Add .editorconfig (#2818) 2022-12-12 15:37:26 +00:00
.gitignore Added missing tests for collection details (#1768) 2022-04-19 15:14:17 +02:00
.gitmodules Migrate konflux builds to use shared dockerfile (#5498) 2025-05-07 10:04:31 -04:00
.ls-lint.yml Update dependabot, README fixups (#5099) 2024-06-12 12:32:29 +00:00
.prettierignore Update dependabot, README fixups (#5099) 2024-06-12 12:32:29 +00:00
.prettierrc.yaml Update dependabot, README fixups (#5099) 2024-06-12 12:32:29 +00:00
.stylelintrc.json Bump dependencies - including cloud config (#5193) 2024-09-06 12:45:04 +00:00
.yamllint Add yamllint, fix inconsistencies in yml files (#1558) 2022-02-04 17:09:35 +00:00
build_deploy.sh Bump node to v20 (#5107) 2024-12-02 11:03:43 +00:00
CHANGES.rst Fixups (#5042) 2024-05-14 13:24:25 +00:00
ci.sh Red Hat Konflux update automation-hub-frontend-master (#5285) 2024-10-25 15:20:25 -04:00
developer_guidelines.md Update dependabot, README fixups (#5099) 2024-06-12 12:32:29 +00:00
Dockerfile Bump node to v20 (#5107) 2024-12-02 11:03:43 +00:00
eslint.config.mjs Switch to new JSX transform (#5353) 2024-12-13 23:03:30 +00:00
LICENSE Initial Commit 2019-06-14 14:13:20 -04:00
lingui.config.js Bump lingui to v5 (#5349) 2024-12-13 21:01:52 +00:00
package-lock.json chore(deps): update form-data to 4.0.4 for CVE-2025-7783 (#5533) 2025-09-18 18:44:54 +01:00
package.json Bump stylelint from 16.11.0 to 16.15.0 (#5455) 2025-03-03 00:42:15 +00:00
pr_check.sh Bump node to v20 (#5107) 2024-12-02 11:03:43 +00:00
pyproject.toml Update master for stable-4.8 existence (#4219) 2023-09-13 13:32:10 +00:00
README.md Update galaxy_ng dev env (#5463) 2025-03-10 14:19:30 +00:00
tsconfig.json Switch to new JSX transform (#5353) 2024-12-13 23:03:30 +00:00

Ansible Automation Hub UI

Frontend for Ansible Hub and Galaxy. The backend for this project can be found at ansible/galaxy_ng, developer docs at ansible.readthedocs.io, and an outdated wiki at ansibe/galaxy_ng wiki. Also read developer_guidelines.

The project is built on React & Patternfly, using components from patternfly-react, with lingui for l10n.

Setting up Your Dev Environment

Backend

The development version of the backend runs in a docker-compose.

Set up:

git clone https://github.com/ansible/galaxy_ng

Run:

cd galaxy_ng
make compose/aap

The backend can be run in multiple modes - standalone, community, insights, certified-sync and aap. Depending on the mode, it will listen on http://localhost:5001, under /api/galaxy/, /api/ or /api/automation-hub/.

Or, use the simplified compose stack.

Frontend

UI can run either as part of the backend container, or locally. The development version of the frontend uses webpack dev server.

Set up:

Install node. Node v20+ is known to work. Other versions may work as well.

git clone https://github.com/ansible/ansible-hub-ui
cd ansible-hub-ui
npm install

Run:

cd ansible-hub-ui
API_PROXY=http://localhost:5001 npm run start-standalone

(Or run API_PROXY=https://my-server.example.com npm run start-standalone to run with external backend.)

This app can be developed in standalone, community, or insights mode. Insights mode compiles the app to be run on the Red Hat cloud services platform (insights). Standalone mode only requires a running instance of the galaxy API for the UI to connect to. Community mode is similar to standalone, with github login and roles.

Modes

Tests

For more information about UI testing go to test/README.md.

Set up:

pip install galaxykit ansible

cd ansible-hub-ui/test/
npm install

And create a cypress.env.json from the cypress.env.json.template template.

Run:

cd ansible-hub-ui/test/
npm run cypress

GitHub Workflows

List of all workflows:

  • cypress: Run Cypress integration tests; on PRs, pushes and cron
  • dev-release: Build and upload to github releases, update dev tag; when master is updated
  • i18n: Extract and merge l10n strings; cron
  • pr-checks: Check for linter errors, obsolete package-lock.json and merge commits; on PRs only
  • stable-release: Build and upload to github releases; when a stable release is created

List by branches:

  • master: cypress, dev-release, i18n, pr-checks, stable-release
  • stable-*: cypress, i18n (via cron from master), pr-checks, stable-release

Version mapping

Our branches, backport labels, releases and tags use AAH versions, but Jira uses AAP versions. To map between the two:

AAP version AAH version
2.4 4.9
2.5 4.10

Table with component versions