-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from NASA-PDS/develop
Merge develop to main for release
- Loading branch information
Showing
11 changed files
with
186 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# 🏃♀️ Continuous Integration and Delivery: Branch Testing | ||
# ====================================================== | ||
|
||
|
||
--- | ||
|
||
name: 🔁 Branch integration testing | ||
|
||
|
||
# Driving Event | ||
# ------------- | ||
# | ||
# What event starts this workflow: a push to any branch other than main | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
- '!main' | ||
|
||
|
||
# What to Do | ||
# ---------- | ||
# | ||
# Test the software with tox | ||
|
||
jobs: | ||
branch-testing: | ||
name: 🪵 Branch Testing | ||
runs-on: ubuntu-latest | ||
if: github.actor != 'pdsen-ci' | ||
steps: | ||
- | ||
name: 💳 Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
fetch-depth: 0 | ||
token: ${{secrets.ADMIN_GITHUB_TOKEN || github.token}} | ||
- | ||
name: 🟢 Setup up Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'latest' | ||
- | ||
name: 🩺 Test Software | ||
run: | ||
npm clean-install | ||
npm test --if-present | ||
|
||
... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,110 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
# Copyright © 2023, California Institute of Technology ("Caltech"). | ||
# U.S. Government sponsorship acknowledged. | ||
# | ||
# All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are met: | ||
# | ||
# • Redistributions of source code must retain the above copyright notice, | ||
# this list of conditions and the following disclaimer. | ||
# • Redistributions 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. | ||
# • Neither the name of Caltech nor its operating division, the Jet Propulsion | ||
# Laboratory, 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 OWNER 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. | ||
# | ||
# Items for Git to ignore | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
# Node.js reproducibles | ||
node_modules/ | ||
|
||
# build | ||
/dist | ||
# JSDoc.app output | ||
out/ | ||
|
||
# misc | ||
# Eclipse files | ||
.settings/ | ||
*.project | ||
*.classpath | ||
|
||
# IntelliJ files | ||
.idea/ | ||
*.iml | ||
|
||
# Sublime Text files | ||
*.sublime-* | ||
|
||
# Shared objects (inc. Windows DLLs) | ||
*.dll | ||
*.so | ||
*.so.* | ||
*.dylib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
# Temporary files | ||
*~ | ||
.*.swp | ||
var/ | ||
|
||
# other stuff | ||
*.xpr | ||
*.swp | ||
bin/ | ||
typescript | ||
|
||
# macOS specific stuff | ||
.DS_Store | ||
._* | ||
|
||
# Local .terraform directories | ||
**/.terraform/* | ||
|
||
# .tfstate files | ||
*.tfstate | ||
*.tfstate.* | ||
|
||
# Crash log files | ||
crash.log | ||
crash.*.log | ||
|
||
# Exclude all .tfvars files, which are likely to contain sensitive data, such as | ||
# password, private keys, and other secrets. These should not be part of version | ||
# control as they are data points which are potentially sensitive and subject | ||
# to change depending on the environment. | ||
*.tfvars | ||
*.tfvars.json | ||
|
||
# Ignore override files as they are usually used to override resources locally and so | ||
# are not checked in | ||
override.tf | ||
override.tf.json | ||
*_override.tf | ||
*_override.tf.json | ||
|
||
# Include override files you do wish to add to version control using negated pattern | ||
# !example_override.tf | ||
|
||
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan | ||
# example: *tfplan* | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
# Ignore CLI configuration files | ||
.terraformrc | ||
terraform.rc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
# PDS S3 Web Browser Using Cloudfront | ||
|
||
## macOS | ||
## Full Original Instructions For MacOS | ||
|
||
For one time setup instructions see [setup for macOS](./docs/setup-mac.md) | ||
|
||
For everyday use see [work on macOS](./docs/work-mac.md) | ||
|
||
## Deployment Short Version | ||
|
||
1. Clone this repository. | ||
2. Run `nvm` (go to https://github.com/nvm-sh/nvm?tab=readme-ov-file#intro to install nvm) | ||
3. Run `npm install` (go to https://nodejs.org/en to install nodejs) | ||
4. Open `webpack.config.js` Search for `new webpack.EnvironmentPlugin` and change the value for `PUBLIC_PATH` to the desired path the application will be deployed to. By default it is set to `/data/` | ||
5. Run `npm run build` | ||
6. The built files will be placed in the dist directory. These can then be placed on an aws bucket. Follow instructions from your AWS SA to set up an s3 bucket and cloudfront. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters