Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add nix #26

Merged
merged 13 commits into from
Sep 10, 2024
Merged

Feature/add nix #26

merged 13 commits into from
Sep 10, 2024

Conversation

jnation3406
Copy link
Contributor

I put instructions in the readme with steps that should be able to get you running locally for development. I have a set of secrets.env that I can share through slack or something to connect to the dev S3 bucket I created and to the production obs portal as a client app for user login.

My thoughts were we would connect to production archive/obs portal for accounts and to get the latest images to work with since dev archive doesn't have images added to it regularly. But the S3 bucket is a dev bucket, and nothing should be writing to the obs portal or archive so it should be relatively safe. The caveat is right now an archive api token is needed, but users can just use their own which will have permissions to see whatever files they can see in their accounts when they login, which should be fine for local testing.

@jnation3406 jnation3406 requested review from mgdaily and LTDakin August 23, 2024 18:57
Copy link
Contributor

@LTDakin LTDakin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for setting this up, just some EOF line formatting things github marked

optional: false
- secretRef:
name: env
optional: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't exactly know what these are, but remembered Matt told me to fix them one time

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, newline at end of file as defined by the POSIX standard. See SO answer for explanation: https://stackoverflow.com/a/729795

Copy link
Contributor

@mgdaily mgdaily left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Maybe just fix the EOF newlines

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
k8s/base/deploy-worker.yaml Outdated Show resolved Hide resolved
k8s/envs/local/secrets.env Outdated Show resolved Hide resolved
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: app-image
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't really need to separate out the build spec into a separate module. It could be merged into the app module. The reason I did it for the obs-portal, because I wanted to be able to use just that bit from another remote skaffold module.

@jnation3406 jnation3406 merged commit 935136b into main Sep 10, 2024
3 checks passed
@jnation3406 jnation3406 deleted the feature/add_nix branch September 10, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants