diff --git a/app/react/portainer/environments/update-schedules/ItemView/ItemView.tsx b/app/react/portainer/environments/update-schedules/ItemView/ItemView.tsx
index 983e560d1..1b3cc6d0c 100644
--- a/app/react/portainer/environments/update-schedules/ItemView/ItemView.tsx
+++ b/app/react/portainer/environments/update-schedules/ItemView/ItemView.tsx
@@ -82,7 +82,7 @@ function ItemView() {
diff --git a/app/react/portainer/environments/update-schedules/ListView/ListView.tsx b/app/react/portainer/environments/update-schedules/ListView/ListView.tsx
index 01d429428..a39336dd0 100644
--- a/app/react/portainer/environments/update-schedules/ListView/ListView.tsx
+++ b/app/react/portainer/environments/update-schedules/ListView/ListView.tsx
@@ -62,7 +62,7 @@ export function ListView() {
= {
dockerSwarm: 'Connect to your Docker Swarm environment',
kubernetes: 'Connect to your Kubernetes environment',
aci: 'Connect to your ACI environment',
- nomad: 'Connect to your Nomad environment',
kaas: 'Provision a KaaS environment',
k8sInstall: 'Create a Kubernetes cluster',
};
diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/EnvironmentsCreationView.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/EnvironmentsCreationView.tsx
index 4fae4f007..e0a2f37c8 100644
--- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/EnvironmentsCreationView.tsx
+++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/EnvironmentsCreationView.tsx
@@ -210,7 +210,6 @@ function useAnalyticsState() {
kaasAgent: 0,
aciApi: 0,
localEndpoint: 0,
- nomadEdgeAgentStandard: 0,
dockerEdgeAgentAsync: 0,
dockerEdgeAgentStandard: 0,
});
diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/shared/EdgeAgentTab/EdgeAgentTab.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/shared/EdgeAgentTab/EdgeAgentTab.tsx
index ca9d0774e..1ce5fc102 100644
--- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/shared/EdgeAgentTab/EdgeAgentTab.tsx
+++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/shared/EdgeAgentTab/EdgeAgentTab.tsx
@@ -14,16 +14,10 @@ import { EdgeAgentForm } from './EdgeAgentForm';
interface Props {
onCreate: (environment: Environment) => void;
commands: CommandTab[] | Partial>;
- isNomadTokenVisible?: boolean;
asyncMode?: boolean;
}
-export function EdgeAgentTab({
- onCreate,
- commands,
- isNomadTokenVisible,
- asyncMode = false,
-}: Props) {
+export function EdgeAgentTab({ onCreate, commands, asyncMode = false }: Props) {
const [edgeInfo, setEdgeInfo] = useState();
const [formKey, clearForm] = useReducer((state) => state + 1, 0);
@@ -49,7 +43,6 @@ export function EdgeAgentTab({
diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/types.ts b/app/react/portainer/environments/wizard/EnvironmentsCreationView/types.ts
index 9fb76255e..13317d129 100644
--- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/types.ts
+++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/types.ts
@@ -9,7 +9,6 @@ export interface AnalyticsState {
kaasAgent: number;
aciApi: number;
localEndpoint: number;
- nomadEdgeAgentStandard: number;
}
export type AnalyticsStateKey = keyof AnalyticsState;
diff --git a/app/react/portainer/feature-flags/enums.ts b/app/react/portainer/feature-flags/enums.ts
index 5b9615c29..e7f77f9f2 100644
--- a/app/react/portainer/feature-flags/enums.ts
+++ b/app/react/portainer/feature-flags/enums.ts
@@ -15,7 +15,6 @@ export enum FeatureId {
K8S_CREATE_FROM_KUBECONFIG = 'k8s-create-from-kubeconfig',
K8S_EDIT_YAML = 'k8s-edit-yaml',
KAAS_PROVISIONING = 'kaas-provisioning',
- NOMAD = 'nomad',
RBAC_ROLES = 'rbac-roles',
REGISTRY_MANAGEMENT = 'registry-management',
K8S_SETUP_DEFAULT = 'k8s-setup-default',
diff --git a/app/react/portainer/feature-flags/feature-flags.service.ts b/app/react/portainer/feature-flags/feature-flags.service.ts
index 048db493a..6f69c42da 100644
--- a/app/react/portainer/feature-flags/feature-flags.service.ts
+++ b/app/react/portainer/feature-flags/feature-flags.service.ts
@@ -20,7 +20,6 @@ export async function init(edition: Edition) {
[FeatureId.K8S_CREATE_FROM_KUBECONFIG]: Edition.BE,
[FeatureId.KAAS_PROVISIONING]: Edition.BE,
[FeatureId.K8SINSTALL]: Edition.BE,
- [FeatureId.NOMAD]: Edition.BE,
[FeatureId.ACTIVITY_AUDIT]: Edition.BE,
[FeatureId.EXTERNAL_AUTH_LDAP]: Edition.BE,
[FeatureId.HIDE_INTERNAL_AUTH]: Edition.BE,
diff --git a/app/react/portainer/gitops/GitForm.stories.tsx b/app/react/portainer/gitops/GitForm.stories.tsx
index dfb60768e..beae078fe 100644
--- a/app/react/portainer/gitops/GitForm.stories.tsx
+++ b/app/react/portainer/gitops/GitForm.stories.tsx
@@ -48,7 +48,7 @@ interface Args {
isAdditionalFilesFieldVisible: boolean;
isAuthExplanationVisible: boolean;
isDockerStandalone: boolean;
- deployMethod: 'compose' | 'nomad' | 'manifest';
+ deployMethod: 'compose' | 'manifest';
isForcePullVisible: boolean;
}
diff --git a/app/react/portainer/gitops/GitForm.tsx b/app/react/portainer/gitops/GitForm.tsx
index 19c947206..599989716 100644
--- a/app/react/portainer/gitops/GitForm.tsx
+++ b/app/react/portainer/gitops/GitForm.tsx
@@ -23,7 +23,7 @@ interface Props {
value: GitFormModel;
onChange: (value: Partial) => void;
environmentType?: 'DOCKER' | 'KUBERNETES' | undefined;
- deployMethod?: 'compose' | 'nomad' | 'manifest';
+ deployMethod?: 'compose' | 'manifest';
isDockerStandalone?: boolean;
isAdditionalFilesFieldVisible?: boolean;
isForcePullVisible?: boolean;
diff --git a/app/react/portainer/system/useSystemInfo.ts b/app/react/portainer/system/useSystemInfo.ts
index cd7016170..769ed1143 100644
--- a/app/react/portainer/system/useSystemInfo.ts
+++ b/app/react/portainer/system/useSystemInfo.ts
@@ -12,8 +12,7 @@ export type ContainerPlatform =
| 'Docker Standalone'
| 'Docker Swarm'
| 'Kubernetes'
- | 'Podman'
- | 'Nomad';
+ | 'Podman';
export interface SystemInfoResponse {
platform: ContainerPlatform;
diff --git a/app/react/sidebar/EnvironmentSidebar.tsx b/app/react/sidebar/EnvironmentSidebar.tsx
index c6586c6f7..b3159585b 100644
--- a/app/react/sidebar/EnvironmentSidebar.tsx
+++ b/app/react/sidebar/EnvironmentSidebar.tsx
@@ -11,7 +11,6 @@ import {
} from '@/react/portainer/environments/types';
import { getPlatformType } from '@/react/portainer/environments/utils';
import { useEnvironment } from '@/react/portainer/environments/queries/useEnvironment';
-import { isBE } from '@/react/portainer/feature-flags/feature-flags.service';
import { environmentStore } from '@/react/hooks/current-environment-store';
import { Icon } from '@@/Icon';
@@ -24,7 +23,6 @@ import { DockerSidebar } from './DockerSidebar';
import { KubernetesSidebar } from './KubernetesSidebar';
import { SidebarSection, SidebarSectionTitle } from './SidebarSection';
import { useSidebarState } from './useSidebarState';
-import { NomadSidebar } from './NomadSidebar';
export function EnvironmentSidebar() {
const { query: currentEnvironmentQuery, clearEnvironment } =
@@ -87,7 +85,6 @@ function Content({ environment, onClear }: ContentProps) {
[PlatformType.Azure]: AzureSidebar,
[PlatformType.Docker]: DockerSidebar,
[PlatformType.Kubernetes]: KubernetesSidebar,
- [PlatformType.Nomad]: isBE ? NomadSidebar : null,
};
return sidebar[platform];
diff --git a/app/react/sidebar/NomadSidebar/NomadSidebar.test.tsx b/app/react/sidebar/NomadSidebar/NomadSidebar.test.tsx
deleted file mode 100644
index 8f71f77a4..000000000
--- a/app/react/sidebar/NomadSidebar/NomadSidebar.test.tsx
+++ /dev/null
@@ -1,38 +0,0 @@
-import { UserContext } from '@/react/hooks/useUser';
-import { UserViewModel } from '@/portainer/models/user';
-import { render, within } from '@/react-tools/test-utils';
-
-import { TestSidebarProvider } from '../useSidebarState';
-
-import { NomadSidebar } from './NomadSidebar';
-
-test('dashboard items should render correctly', () => {
- const { getByLabelText } = renderComponent();
- const dashboardItem = getByLabelText(/Dashboard/i);
- expect(dashboardItem).toBeVisible();
- expect(dashboardItem).toHaveTextContent('Dashboard');
-
- const dashboardItemElements = within(dashboardItem);
- expect(
- dashboardItemElements.getByRole('img', { hidden: true })
- ).toBeVisible();
-
- const jobsItem = getByLabelText('Nomad Jobs');
- expect(jobsItem).toBeVisible();
- expect(jobsItem).toHaveTextContent('Jobs');
-
- const jobsItemElements = within(jobsItem);
- expect(jobsItemElements.getByRole('img', { hidden: true })).toBeVisible();
-});
-
-function renderComponent() {
- const user = new UserViewModel({ Username: 'user' });
-
- return render(
-
-
-
-
-
- );
-}
diff --git a/app/react/sidebar/NomadSidebar/NomadSidebar.tsx b/app/react/sidebar/NomadSidebar/NomadSidebar.tsx
deleted file mode 100644
index b451ffd5a..000000000
--- a/app/react/sidebar/NomadSidebar/NomadSidebar.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { Clock } from 'lucide-react';
-
-import { EnvironmentId } from '@/react/portainer/environments/types';
-
-import { DashboardLink } from '../items/DashboardLink';
-import { SidebarItem } from '../SidebarItem';
-
-interface Props {
- environmentId: EnvironmentId;
-}
-
-export function NomadSidebar({ environmentId }: Props) {
- return (
- <>
-
-
-
- >
- );
-}
diff --git a/app/react/sidebar/NomadSidebar/index.ts b/app/react/sidebar/NomadSidebar/index.ts
deleted file mode 100644
index 27ec2b481..000000000
--- a/app/react/sidebar/NomadSidebar/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { NomadSidebar } from './NomadSidebar';