Skip to content

Commit

Permalink
Merge pull request #257 from equinor/remove-samples
Browse files Browse the repository at this point in the history
remove link to auth-repo
  • Loading branch information
emirgens authored Oct 23, 2023
2 parents 1a15410 + 0f690a2 commit 83d9331
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion public-site/docs/src/docs/topic-docker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ Docker build speed can be reduced by understanding caching of layers. In short,

### Testing

Automatic testing of an application can be done as a build stage inside the container. This will then be run as one of the steps when radix build the image. The [`Dockerfile`](https://github.com/equinor/radix-example-scenario-docker-multistage-with-test/blob/master/Dockerfile) used in the Radix workhops provides a good example.
Automatic testing of an application can be done as a build stage inside the container. This will then be run as one of the steps when radix build the image.
2 changes: 1 addition & 1 deletion public-site/docs/src/docs/topic-security/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Readers have the privilege to access logs associated with the application's repl

It is important to understand that **application authentication is not handled by Radix**. The application endpoints will be public. Each team managing an application hosted on Radix is responsible for authenticating their users.

For an example of in-app authentication using AD have a look at [Radix Authentication Example](https://github.com/equinor/radix-example-oauth-proxy) code.

2 changes: 1 addition & 1 deletion public-site/docs/src/guides/deploy-only/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ In the above workflow we have a series of steps. They are:
- `Build API component` - Building is now done outside of Radix
- `Push the image to GPR` - Pushes a package to Github package repository using the `PRIVATE_TOKEN` (personal access token)
- `Prepare for committing new tag to radix config on master` - Since we are using the dynamic tagging for prod environment, we have to commit to master a version of the `radixconfig.yaml` holding the newly produced tag. This step checks out master branch of the repository
- `Modify radixconfig tag for production on master branch` - This step calls a [custom script](https://github.com/equinor/radix-example-arm-template/blob/master/hack/modifyTag.py) to modify the tag in `radixconfig.yaml` and the commits and push the change on master
- `Modify radixconfig tag for production on master branch` - This step calls a custom script to modify the tag in `radixconfig.yaml` and the commits and push the change on master
- `Get environment from branch` - This steps calls a utility function in the CLI for obtaining the environment based on the current brach from the branch-environment mapping in the `radixconfig.yaml` of the repository
- `Deploy API on Radix` - This step calls the CLI function, which calls the deploy pipeline function of the Radix API for running the deploy pipeline. It uses the output of the previous step to tell Radix which environment it should deploy to. Note that is using `development` context to contact the API in the development cluster. Similarly if context is `playground` it will contact API in playground cluster. If you remove this entirely, it will default to `production` context

Expand Down
3 changes: 0 additions & 3 deletions public-site/docs/src/other/release/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,6 @@ If by any circumstance the pod running your app restarts, for instance due to la

[Security – running as non-root](../../docs/topic-docker/#running-as-non-root)

Sample - [non-root oauth application](https://github.com/equinor/radix-example-oauth-proxy)
Sample - [.NET non-root](https://github.com/equinor/radix-example-4-dotnet)
Sample - [NODE non-root](https://github.com/equinor/radix-example-scenario-5-nodejs)

### 2021-06-22 - Support for files in Azure blob container

Expand Down
14 changes: 0 additions & 14 deletions public-site/docs/src/other/scenarios/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ For each scenario you can find example code for at least one programming languag

App which authenticates the user in AD, if logged in read basic user information from AD.

- [Omnia Radix Auth Example](https://github.com/equinor/radix-example-auth)

Example for Omnia Radix showing how to use a OAuth proxy for authentication

- [Omnia Radix OAuth proxy for authentication](https://github.com/equinor/radix-example-oauth-proxy)
Expand All @@ -23,16 +21,4 @@ Example for Omnia Radix showing how to use the OAuth2 feature in Radix

- [Omnia Radix Oauth2 Feature](https://github.com/equinor/radix-example-oauth2-feature)

## Other samples

App with "multiple" containers. No external dependencies. No back end dependencies. No storage. No secrets. Static/Dynamic web page

- [App with "multiple" containers - React.js](https://github.com/equinor/radix-example-scenario-2-chat)

App with monitoring, Prometheus and Grafana

- [Prometheus metrics app - Node.js](https://github.com/equinor/radix-example-scenario-5-nodejs)

App "running linter and unit tests as part of multistage docker build". Broken tests fail build.

- [Multistage docker build app - Python](https://github.com/equinor/radix-example-scenario-7-python)

0 comments on commit 83d9331

Please sign in to comment.