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

🐛 fix: miscellaneous bug fixes #250

Merged
merged 7 commits into from
Jan 19, 2024
Merged

🐛 fix: miscellaneous bug fixes #250

merged 7 commits into from
Jan 19, 2024

Conversation

RomilShah
Copy link
Contributor

@RomilShah RomilShah commented Jan 16, 2024

Test manifests:

adds validation for applying cloud disk on device deployment

---
apiVersion: apiextensions.rapyuta.io/v1
kind: Package
metadata:
  description: Sootballs Printer Cups package
  labels:
    app: printer_cups
  name: sootballs_printer_cups
  version: 2.0.1-kokubu
spec:
  device:
    arch: amd64
    restart: always
  executables:
  - docker:
      image: nginx
    name: cups
    runAsBash: false
    type: docker
  runtime: device
#---
apiVersion: apiextensions.rapyuta.io/v1
kind: Deployment
metadata:
  depends:
    kind: package
    nameOrGUID: pkg-oytmqdbzeajwyxsgczeawfzd
    version: 2.0.1-kokubu
  labels:
    app: printer_cups
  name: sootballs_printer_cups
spec:
  device:
    depends:
      kind: device
      nameOrGUID: romil-v3
  runtime: device
  volumes:
  - execName: cups
    mountPath: /etc/cups/printers.conf
    subPath: /opt/rapyuta/configs/cups/printers.conf
#    depends: #not for device
#      kind: disk
#      nameOrGUID: "romil"

test Resolves misleading execution of command in wrong project in case of changing organization

rio organization select Rapyuta2  --no-interactive
rio device create biswa --runtime dockercompose

@RomilShah RomilShah requested review from a team as code owners January 16, 2024 11:05
Copy link

🤖 Pull Request Artifacts (#7540675768) 🎉

Copy link

🤖 Pull Request Artifacts (#7541058598) 🎉

@pallabpain pallabpain changed the title Fix/multiple bugs 🐛 fix: miscellaneous bug fixes Jan 16, 2024
@pallabpain pallabpain changed the title 🐛 fix: miscellaneous bug fixes 🐛 fix: miscellaneous bug fixes Jan 16, 2024
@pallabpain pallabpain self-assigned this Jan 16, 2024
@pallabpain pallabpain added the 🐛 bug Something isn't working label Jan 16, 2024
riocli/device/delete.py Outdated Show resolved Hide resolved
riocli/organization/select.py Outdated Show resolved Hide resolved
Copy link

🤖 Pull Request Artifacts (#7554542998) 🎉

Copy link

🤖 Pull Request Artifacts (#7556975087) 🎉

Copy link
Contributor

@pallabpain pallabpain left a comment

Choose a reason for hiding this comment

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

Once you are ready with all the fixes, please discuss the commit messages before merging.

Copy link

🤖 Pull Request Artifacts (#7569966385) 🎉

Copy link

🤖 Pull Request Artifacts (#7582459778) 🎉

This commit adds a validation on the secret name length by setting it to
a maximum 253 characters.

Wrike Ticket: https://www.wrike.com/open.htm?id=1238536095
This commit sets additionalProperties=false for device volume spec.

Wrike Ticket: https://www.wrike.com/open.htm?id=1249710356
Deployment depends in manifest was not working when the deployment guid
was used instead of the deployment name in nameOrGUID. This was
happening because we were not accounting for 'deploymentId' for
dependent deployments and hence, apply was failing with the error that
there is a missing resource in the manifest.

This commit ensures that we read the right key and populate the
dependent deployment correctly in the apply hierarchy.

Wrike Ticket: https://www.wrike.com/open.htm?id=1249688483
This default in the deployments was conflicting with the restart policy
set in the package. For example, if you set restart policy = never in
the package and you do not set the policy in the deployment manifest, it
still overrides the package value and sets the default.

Wrike Ticket:  https://www.wrike.com/open.htm?id=1205809047
@pallabpain pallabpain assigned RomilShah and unassigned pallabpain Jan 19, 2024
Copy link

🤖 Pull Request Artifacts (#7582664300) 🎉

@pallabpain pallabpain merged commit 9332b45 into devel Jan 19, 2024
7 checks passed
@pallabpain pallabpain deleted the fix/multiple-bugs branch January 24, 2024 10:27
@rr-github-ci-user
Copy link
Collaborator

🎉 This PR is included in version 7.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants