Skip to content

Commit 7296010

Browse files
kyotosquat
authored andcommitted
frontend: Remove frontend code and backend API code
1 parent 4188719 commit 7296010

File tree

3,423 files changed

+294276
-969645
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,423 files changed

+294276
-969645
lines changed

BUILD.bazel

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ alias(
8080
actual = "//tests/smoke:smoke",
8181
)
8282

83-
alias(
84-
name = "backend",
85-
actual = "//installer/cmd/installer:installer",
86-
)
87-
8883
alias(
8984
name = "cli",
9085
actual = "//installer/cmd/tectonic:tectonic",
@@ -98,8 +93,6 @@ load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
9893
genrule(
9994
name = "tarball",
10095
srcs = [
101-
":tarball_installer_binary_darwin",
102-
":tarball_installer_binary_linux",
10396
":tarball_tectonic_binary_darwin",
10497
":tarball_tectonic_binary_linux",
10598
":tarball_terraform_configuration",
@@ -131,20 +124,6 @@ pkg_tar(
131124
strip_prefix = ".",
132125
)
133126

134-
pkg_tar(
135-
name = "tarball_installer_binary_darwin",
136-
mode = "0755",
137-
package_dir = "tectonic-installer/darwin",
138-
srcs = ["//installer/cmd/installer:darwin"],
139-
)
140-
141-
pkg_tar(
142-
name = "tarball_installer_binary_linux",
143-
mode = "0755",
144-
package_dir = "tectonic-installer/linux",
145-
srcs = ["//installer/cmd/installer:linux"],
146-
)
147-
148127
pkg_tar(
149128
name = "tarball_tectonic_binary_darwin",
150129
mode = "0755",

Documentation/dev/build.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ tectonic
6767
├── platforms
6868
└── tectonic-installer
6969
├── darwin
70-
├── installer
70+
   ├── tectonic
7171
│   ├── terraform
7272
│   └── terraform-provider-matchbox
7373
└── linux
74-
├── installer
74+
├── tectonic
7575
├── terraform
7676
└── terraform-provider-matchbox
7777
```
@@ -96,23 +96,6 @@ tectonic_1.2.3-beta
9696

9797
*Note*: the generated tarball will not include the version string in its own name since output names must be known ahead of time in Bazel. To include the version in the tarball name, copy or move the archive with the desired name in the destination.
9898

99-
## Building the Installer Binary
100-
101-
For cases where the entire Tectonic tarball is not needed and only the Tectonic Installer GUI is required, the installer binary can be built by itself.
102-
To build the Tectonic Installer binary, issue the following command from the `tectonic-installer` root directory:
103-
104-
```sh
105-
bazel build backend
106-
```
107-
108-
This will produce a binary located at `bazel-bin/installer/cmd/installer/linux_amd64_pure_stripped/installer` when built on a Linux machine or `bazel-bin/installer/cmd/installer/darwin_amd64_pure_stripped/installer` if built on a Mac.
109-
110-
To build a cross-compiled binary for another platform, e.g. a Darwin binary on a Linux machine, specify the target platform explicitly:
111-
112-
```sh
113-
bazel build backend --experimental_platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64
114-
```
115-
11699
## Building the Smoke Test Binary
117100

118101
We also use Bazel to build the smoke test binary. To do so, run:

Documentation/dev/frontend.md

Lines changed: 0 additions & 96 deletions
This file was deleted.

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ quayCreds = [
6868
)
6969
]
7070

71-
defaultBuilderImage = 'quay.io/coreos/tectonic-builder:v1.44'
71+
defaultBuilderImage = 'quay.io/coreos/tectonic-builder:v1.45'
7272
tectonicSmokeTestEnvImage = 'quay.io/coreos/tectonic-smoke-test-env:v5.16'
7373
tectonicBazelImage = 'quay.io/coreos/tectonic-builder:bazel-v0.3'
7474
originalCommitId = 'UNKNOWN'

WORKSPACE

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ git_repository(
1818
commit = "3f38260eda98d23e9142bb905caede5912508770"
1919
)
2020

21-
http_archive(
22-
name = "build_bazel_rules_nodejs",
23-
sha256 = "7550c6f7904f602b69c2a69d92f7c739db87479336554c7a31d0649519ec414e",
24-
type = "tar.gz",
25-
strip_prefix = "rules_nodejs-0.3.1",
26-
url = "https://codeload.github.com/bazelbuild/rules_nodejs/tar.gz/0.3.1",
27-
)
28-
2921
http_archive(
3022
name = "bazel_gazelle",
3123
sha256 = "4952295aa35241082eefbb53decd7d4dd4e67a1f52655d708a1da942e3f38975",
@@ -39,10 +31,6 @@ go_rules_dependencies()
3931

4032
go_register_toolchains()
4133

42-
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")
43-
44-
node_repositories(package_json = ["//installer/frontend:package.json"])
45-
4634
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
4735

4836
gazelle_dependencies()

0 commit comments

Comments
 (0)