fix: remove nixpkgarchive from ui
This commit is contained in:
parent
95764c2b76
commit
be30651172
@ -48,7 +48,6 @@ class General extends Component
|
||||
'application.ports_exposes' => 'required',
|
||||
'application.ports_mappings' => 'nullable',
|
||||
'application.dockerfile' => 'nullable',
|
||||
'application.nixpkgsarchive' => 'nullable',
|
||||
];
|
||||
protected $validationAttributes = [
|
||||
'application.name' => 'name',
|
||||
@ -67,7 +66,6 @@ class General extends Component
|
||||
'application.ports_exposes' => 'Ports exposes',
|
||||
'application.ports_mappings' => 'Ports mappings',
|
||||
'application.dockerfile' => 'Dockerfile',
|
||||
'application.nixpkgsarchive' => 'Nixpkgs archive',
|
||||
];
|
||||
|
||||
public function instantSave()
|
||||
|
@ -413,7 +413,6 @@ private function cleanup_git()
|
||||
|
||||
private function generate_nixpacks_confs()
|
||||
{
|
||||
ray('nixpkgsarchive', $this->application->nixpkgsarchive);
|
||||
$this->execute_remote_command(
|
||||
[
|
||||
"echo -n 'Generating nixpacks configuration.'",
|
||||
@ -422,13 +421,6 @@ private function generate_nixpacks_confs()
|
||||
[$this->execute_in_builder("cp {$this->workdir}/.nixpacks/Dockerfile {$this->workdir}/Dockerfile")],
|
||||
[$this->execute_in_builder("rm -f {$this->workdir}/.nixpacks/Dockerfile")]
|
||||
);
|
||||
|
||||
// if ($this->application->nixpkgsarchive) {
|
||||
// $this->execute_remote_command([
|
||||
// $this->execute_in_builder("cat {$this->workdir}/nixpacks.toml"), "hidden" => true, "save" => 'nixpacks_toml'
|
||||
// ]);
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
private function nixpacks_build_cmd()
|
||||
|
@ -32,10 +32,6 @@
|
||||
<option value="dockerfile">Dockerfile</option>
|
||||
<option disabled value="compose">Compose</option>
|
||||
</x-forms.select>
|
||||
{{-- @if ($application->build_pack === 'nixpacks')
|
||||
<x-forms.input id="application.nixpkgsarchive" label="NixPackages Archive (nixpkgsArchive)"
|
||||
helper="You can customize the NixPackages archive to use."> </x-forms.input>
|
||||
@endif --}}
|
||||
</div>
|
||||
@if ($application->settings->is_static)
|
||||
<x-forms.select id="application.static_image" label="Static Image" required>
|
||||
|
Loading…
Reference in New Issue
Block a user