Skip to content

Commit

Permalink
start on database, other stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Jul 15, 2023
1 parent 26d8537 commit 0f75082
Show file tree
Hide file tree
Showing 58 changed files with 6,188 additions and 536 deletions.

This file was deleted.

21 changes: 21 additions & 0 deletions .coder/scripts/pre-init/install-sqlx-cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

# 🐻‍❄️📦 charted-server: Free, open source, and reliable Helm Chart registry made in Rust
# Copyright 2022-2023 Noelware, LLC. <team@noelware.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

if ! command -v sqlx; then
echo "===> Installing sqlx cli!"
cargo install sqlx-cli --no-default-features --features native-tls,postgres
fi
4 changes: 2 additions & 2 deletions .coder/scripts/pre-init/symlink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

if ! [ -f "/usr/local/bin/buildifier" ]; then
if ! [ -L "/usr/local/bin/buildifier" ]; then
echo "===> Symlinking \`bazel-buildifier\` ~> \`buildifier\`!"
sudo ln -s /usr/local/bin/bazel-buildifier /usr/local/bin/buildifier
fi

if ! [ -f "/usr/local/bin/sync-deps" ]; then
if ! [ -L "/usr/local/bin/sync-deps" ]; then
echo "===> Symlinking ./scripts/sync_deps.sh ~> sync-deps"
sudo ln -s $HOME/workspace/scripts/sync_deps.sh /usr/local/bin/sync-deps
fi
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"hashicorp.terraform",
"redhat.vscode-yaml",
"antfu.iconify",
"hashicorp.hcl",
"Vue.volar"
],
"settings": {
Expand Down
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"hashicorp.terraform",
"redhat.vscode-yaml",
"antfu.iconify",
"hashicorp.hcl",
"Vue.volar"
]
}
12 changes: 12 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,15 @@ exports_files([
# determine where this build was compiled from.
".git",
])

alias(
name = "helm-plugin",
actual = "//tools/helm-plugin:bin",
visibility = ["//visibility:public"],
)

alias(
name = "cli",
actual = "//cli:bin",
visibility = ["//visibility:public"],
)
Loading

0 comments on commit 0f75082

Please sign in to comment.