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

Etablere YT-miljø #1258

Closed
Tracked by #81
arealmaas opened this issue Oct 9, 2024 · 2 comments
Closed
Tracked by #81

Etablere YT-miljø #1258

arealmaas opened this issue Oct 9, 2024 · 2 comments
Assignees

Comments

@arealmaas
Copy link
Collaborator

arealmaas commented Oct 9, 2024

Acceptance criteria'ish:

  • A new environment for application/infrastructure should be established (test, staging, yt01, prod)? ✅
  • The new YT-environment should use YT-specific integrations ✅
  • The environment should match the resources in production to ensure a good test. Ensure we have an upgraded SKU here for prod/YT

Establish infrastructure for YT

  • Add new Bicep bicepparam, new workflow entry ✅
  • Should mirror production environment in terms of resource SKUs etc ✅
  • Upgrade the SKU in both YT and prod

Establish new applications for YT

  • Add new Bicep bicepparam, new workflow entry ✅

  • New appsettings

Establish APIM

  • Set up APIM to point to new container apps ✅

Deployments:

  • Set up new environment in Github ✅
  • Deploy when we deploy to staging?) ✅
  • Should we run e2e-tests? ✅

Other actions:

  • Verify access to all endpoints ✅
    • Check if we have access to the event-endpoint
    • Does Maskinporten and IDPorten have YT-environment? Or what do they expect
  • What is the name of this baby(environment)? ✅ yt01
  • To ensure we can replicate web-api horizontally, we need to spin up a new container to consume the events (new task) ✅
@elsand
Copy link
Collaborator

elsand commented Oct 10, 2024

I've added ten test resources to the resource registry in YT01 named ttd-dialogporten-performance-test-01 through ttd-dialogporten-performance-test-10. They all have the same policy granting read, write, publish, subscribe (the latter two for events) to PRIV and DAGL.

arealmaas added a commit that referenced this issue Oct 15, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

Create a new infrastructure environment for the performance environment
yt01

## Related Issue(s)

- #1258 

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a CI/CD workflow for the yt01 environment, enabling
automated deployments and version management.
- Added the option to select `yt01` as a deployment environment in
manual workflow triggers.

- **Bug Fixes**
- Updated the environment parameter from 'soak' to 'yt01' to reflect the
correct context.

- **Chores**
	- Adjusted formatting for parameter definitions for better readability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
arealmaas added a commit that referenced this issue Oct 17, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

Adds appsettings for the new yt01 environment

## Related Issue(s)

- #1258

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced new JSON configuration files for the Dialogporten component
across multiple modules, enhancing infrastructure and application
parameter setups.
- Added structured settings for Redis, database connections, and
authentication configurations for improved operational efficiency.

These changes are essential for the application's functionality,
particularly in a test environment.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
arealmaas added a commit that referenced this issue Oct 17, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description

Dependent on #1290

<!--- Describe your changes in detail -->

## Related Issue(s)

- #1258 

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced new Bicep parameter files for various applications,
allowing for dynamic configuration based on environment variables.
- Added a `deploy-apps` job to the CI/CD workflow for streamlined
application deployment to the yt01 environment.
- Updated workflow dispatch options to include `yt01` as a selectable
environment.

- **Bug Fixes**
- Streamlined CI/CD configuration by removing commented-out sections for
clarity.

- **Documentation**
- Enhanced parameter definitions for better clarity in deployment
configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@arealmaas arealmaas moved this from New issues to Done in Dialogporten / Arbeidsflate Oct 22, 2024
@arealmaas arealmaas closed this as completed by moving to Done in Dialogporten / Arbeidsflate Oct 22, 2024
@arealmaas arealmaas moved this from Done to Doing in Dialogporten / Arbeidsflate Oct 22, 2024
arealmaas added a commit that referenced this issue Oct 22, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #1258

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced a new configuration file for the Dialogporten service,
centralizing important settings for infrastructure and application
components.
- **Documentation**
- Added placeholders for sensitive information to enhance security
practices.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@arealmaas arealmaas reopened this Oct 22, 2024
@arealmaas arealmaas self-assigned this Oct 22, 2024
@arealmaas
Copy link
Collaborator Author

Await SKU upgrade before we do the first test 👍

@arealmaas arealmaas moved this from Doing to Done in Dialogporten / Arbeidsflate Oct 22, 2024
@arealmaas arealmaas closed this as completed by moving to Done in Dialogporten / Arbeidsflate Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants