Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mstg committed Jul 7, 2022
0 parents commit ce632b9
Show file tree
Hide file tree
Showing 6,786 changed files with 1,960,134 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pkg/dep
**/*.bazel_ignore
node_modules
ci_output
vendor/github.com/grpc-ecosystem/grpc-gateway
23 changes: 23 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Stamp script
build --workspace_status_command=tools/status.sh
run --workspace_status_command=tools/status.sh

# Just build tests when testing
test --build_tests_only

build --incompatible_strict_action_env=true

# Minimize what is downloaded
build:inmemory --experimental_inmemory_jdeps_files
build:inmemory --experimental_inmemory_dotd_files

# Minimize what is downloaded
build:toplevel --config=inmemory
build:toplevel --experimental_remote_download_outputs=toplevel

build:remote --config=toplevel
build:remote --google_credentials=/tmp/credentials.json
build:remote --remote_cache=https://storage.googleapis.com/resf-temporary-bazel-cache
run:remote --experimental_remote_download_outputs=all --noexperimental_inmemory_jdeps_files --noexperimental_inmemory_dotd_files

build --stamp=true
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.0.0
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf

[*.md]
max_line_length = off
trim_trailing_whitespace = false

[*.go]
indent_size = 4

[*.py]
indent_size = 4
11 changes: 11 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# direnv
unset STABLE_LOCAL_ENVIRONMENT STABLE_OCI_REGISTRY STABLE_OCI_REGISTRY_REPO

export STABLE_STAGE="-dev"
export STABLE_LOCAL_ENVIRONMENT=1
export STABLE_OCI_REGISTRY="host.docker.internal.local:5000"
export STABLE_OCI_REGISTRY_REPO="dev"
export IBAZEL_USE_LEGACY_WATCHER=0
export STABLE_REGISTRY_SECRET="none"
export STABLE_OCI_REGISTRY_NO_NESTED_SUPPORT_IN_2022_SHAME_ON_YOU_AWS="true"
PATH_add hack
8 changes: 8 additions & 0 deletions .envrc.prod.extarches
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
unset STABLE_LOCAL_ENVIRONMENT STABLE_OCI_REGISTRY STABLE_OCI_REGISTRY_REPO STABLE_OCI_REGISTRY_NO_NESTED_SUPPORT_IN_2022_SHAME_ON_YOU_AWS

export STABLE_STAGE="-prod"
export STABLE_REGISTRY_SECRET="none"
export STABLE_OCI_REGISTRY="quay.io"
export STABLE_OCI_REGISTRY_REPO="peridot/monoregistry"
export STABLE_SITE="extarches"
export STABLE_OCI_REGISTRY_NO_NESTED_SUPPORT_IN_2022_SHAME_ON_YOU_AWS="true"
6 changes: 6 additions & 0 deletions .envrc.prod.quaymirror
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
unset STABLE_LOCAL_ENVIRONMENT STABLE_OCI_REGISTRY STABLE_OCI_REGISTRY_REPO STABLE_OCI_REGISTRY_NO_NESTED_SUPPORT_IN_2022_SHAME_ON_YOU_AWS STABLE_SITE

export STABLE_STAGE="-prod"
export STABLE_REGISTRY_SECRET="none"
export STABLE_OCI_REGISTRY="quay.io"
export STABLE_OCI_REGISTRY_REPO="peridot"
39 changes: 39 additions & 0 deletions .envrc.prod.resf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#
# Copyright (c) All respective contributors to the Peridot Project. All rights reserved.
# Copyright (c) 2021-2022 Rocky Enterprise Software Foundation, Inc. All rights reserved.
# Copyright (c) 2021-2022 Ctrl IQ, Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors
# may be used to endorse or promote products derived from this software without
# specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#

unset STABLE_LOCAL_ENVIRONMENT STABLE_OCI_REGISTRY STABLE_OCI_REGISTRY_REPO

export STABLE_STAGE="-prod"
export STABLE_REGISTRY_SECRET="none"
export STABLE_OCI_REGISTRY="893168113496.dkr.ecr.us-east-2.amazonaws.com"
export STABLE_OCI_REGISTRY_REPO="resf-internal-registry"
export STABLE_OCI_REGISTRY_NO_NESTED_SUPPORT_IN_2022_SHAME_ON_YOU_AWS="true"
116 changes: 116 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Ignore all bazel-* symlinks. There is no full list since this can change
# based on the name of the directory bazel is cloned into.
/bazel-*

### Java template
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

node_modules
yarn-error.log
.local

vendor/peridot.resf.org
*_secret_mock.sql

*.iml

# User-specific stuff
.ijwb/.idea/**/workspace.xml
.ijwb/.idea/**/tasks.xml
.ijwb/.idea/**/usage.statistics.xml
.ijwb/.idea/**/dictionaries
.ijwb/.idea/**/shelf

# AWS User-specific
.ijwb/.idea/**/aws.xml

# Generated files
.ijwb/.idea/**/contentModel.xml

# Sensitive or high-churn files
.ijwb/.idea/**/dataSources/
.ijwb/.idea/**/dataSources.ids
.ijwb/.idea/**/dataSources.local.xml
.ijwb/.idea/**/sqlDataSources.xml
.ijwb/.idea/**/dynamic.xml
.ijwb/.idea/**/uiDesigner.xml
.ijwb/.idea/**/dbnavigator.xml

# Gradle
.ijwb/.idea/**/gradle.xml
.ijwb/.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.ijwb/.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.ijwb/.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.ijwb/.idea/replstate.xml

# SonarLint plugin
.ijwb/.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.ijwb/.idea/httpRequests

# Android studio 3.1+ serialized cache file
.ijwb/.idea/caches/build_file_checksums.ser

.ijwb/.idea/runConfigurations.xml
.ijwb/.idea/google-java-format.xml
.ijwb/.idea/dataSources.xml
39 changes: 39 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env bash
stages:
- bazel

variables:
SILO_KEY: rocky84-gitlabcom-ci-1
REMOTE_DEF: cache-silo-key=$SILO_KEY
REPO_OUTPUT_DIR: ci_repo_output

.bazelbase:
image: quay.io/peridot/ci:v0.2.5
before_script:
- mv $google_credentials /tmp/credentials.json
cache:
key: $SILO_KEY
paths:
- $REPO_OUTPUT_DIR

bazel-build:
extends: .bazelbase
stage: bazel
script:
- bash hack/run_ci build

bazel-lint:
extends: .bazelbase
stage: bazel
script:
- bash hack/run_ci lint

bazel-test:
extends: .bazelbase
stage: bazel
script:
- bash hack/run_ci test
artifacts:
when: always
reports:
junit: bazel-out/*-fastbuild/testlogs/**/*.xml
9 changes: 9 additions & 0 deletions .ijwb/.bazelproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
directories:
.

derive_targets_from_directories: true

additional_languages:
go
javascript
typescript
1 change: 1 addition & 0 deletions .ijwb/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ce632b9

Please sign in to comment.