Navigation

    SOFTWARE-TESTING.COM

    • Register
    • Login
    • Search
    • Jobs
    • Tools
    • Companies
    • Conferences
    • Courses
    1. Home
    2. terrea
    3. Topics
    T
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by terrea

    • T

      build pipeline with repository: is it advisable to build both on repo and end server
      Continuous Integration and Delivery (CI, CD) • pipeline • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      Alberto

      Usually, your pipeline would produce a docker image as an artifact. For a feature branch, it might be tagged with the branch name. For changes to the default branch (main/master), you should tag the image with some kinda version string. Typically a https://semver.org/ string. You should not be copying the repo or git pulling the repo from the server. This is because the docker build is not guaranteed to be reproducible. Meaning that tests that passed in the pipeline might all of a sudden fail on the server. Instead, after you have tested the docker image you should push the docker image to a repository and then pull that image to the application server when you want to deploy it. You shouldn't install or run any development tooling on your production server.
    • T

      Kubernetes Job Metrics in Prometheus
      Continuous Integration and Delivery (CI, CD) • kubernetes prometheus • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      E

      I think your need may be an anti-pattern but I'm unsure. Metrics are used to measure things and Metrics are correlated with time. In your example, the job's output is a constant and not correlated with a time. Metrics are often (!) measurements of the health (of the state) of a system rather than the output (product) of a system. The job's duration, CPU, memory, success|failure etc. are conventional (!) measurements. While it's entirely reasonable to want to capture time-series data (from Jobs), it may be (!) that a database or some other persistence mechanism would be a better sink for your data. Answering your question as stated: Jobs are challenging because they are potentially unscrapeable (because they don't live sufficiently long) by Prometheus as part of its 'pull' mechanism. Batch jobs are a valid use-case for https://prometheus.io/docs/practices/pushing/ . So, your Jobs could push metrics to Pushgateway to ensure that these are captured. If the logs produced by your Jobs are persisted beyond the life of the Job, another approach is to derive metrics (by parsing) logs. This approach biases towards aggregation of log data. The examplar is counting HTTP 500s in log entries to determine a failure rate.
    • T

      How do I run a CI build in a docker image matching the current `Dockerfile` while being resource-aware?
      Continuous Integration and Delivery (CI, CD) • docker continuous integration dockerfile azure pipelines • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      S

      Does this procedure make sense as a solution to my use case? vscode devcontainers are one of the greatest inventions in the DevOps space and I can't believe more people are not talking about them. I think having the local dev environment and the pipeline in sync makes a lot of sense. Though I think the procedure you outlined above could be simplified. I can't imagine being the first to realize this use case. Is there an existing mechanism (as part of the docker utilities, as part of the Azure DevOps Pipelines framework or from something completely different) that fulfills my needs? I'm currently doing this in some of my https://github.com/DontShaveTheYak/terraform-module-template/blob/main/.github/workflows/test.yml . It is also supported on https://github.com/devcontainers/ci/blob/main/docs/azure-devops-task.md .
    • T

      Does /etc/rancher/k3s/registries.yaml affect `k3s ctr` and `k3s crictl`?
      Continuous Integration and Delivery (CI, CD) • authentication configuration k3s containerd cri • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      J

      This is the answer I got from https://webpros.slack.com/archives/C02T5F4PFJ7/p1641935253158000 ctr and crictl both interact with containerd, via different apis. ctr uses the containerd native api, and crictl uses the CRI api. The registries.yaml config is used by containerd itself, and will be honored no matter what it is that does the pull or how.
    • T

      docker image push does not work
      Continuous Integration and Delivery (CI, CD) • docker • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      B

      To push, you need write access to the destination repository. With Docker Hub, those repositories must be under your userid, or in an organization where you have write access. The default path you see added, docker.io/library, is used by official images, which makes pulling official images easier. But since you aren't the author of docker official images, that won't work for pushing. That means you need to: docker build -t your-user/your-image:v1 . docker push your-user/your-image:v1 Where your-user is the same user you used when running docker login.
    • T

      How do I create a Docker image from a container without configuration changes?
      Continuous Integration and Delivery (CI, CD) • docker dockerfile • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      Share us an example of your recurring "image changes". I think your problem is not with docker, is with the architecture of your application. Data changes should be handled using a database not the file system. Source code changes, should be managed with a git repository and the respective new build, generating a new image version ready to be deployed Infrastructure changes should be ... That's what Docker was created for. You should modify the Dockerfile, push the changes, build a new image, etc Configurations should be managed with environment variables manually injected at docker run or using some external service like consul, configurator, etc If your application needs to upload or download files like images, reports, etc, you should use a specialized service like aws s3, gcp Filestore, some open source, etc As you can see, you don't need a huge native backup with docker commit.
    • T

      Comparing "Animal Shelter" on Steam and "Animal Shelter Simulator" on other platforms
      Game Testing • steam macos version differences animal shelter • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      The games have a similar premise, but there are some differences. The Mac/ios game is a F2P game with advertising. The steam game is a paid product. The gameplay has a lot of similarities but some divergent features as noted by Timmy. In terms of intellectual property, the companies involved are intertwined. Playway SA and Games Incubator are listed as creators of the Steam version, and Digital Melody the ios/mac version. All three companies are involved together, with Playway investing in other "Games Incubator" titles. One developer at Games Incubator tweets about both games.
    • T

      Does ink on Sturgeon Shipyard's retractable bridges count in Turf Wars?
      Game Testing • splatoon 3 • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      J

      Yes, ink on retractible bridges count. More specifically, only the "ground" of a bridge counts, regardless of whether the bridge has been raised or not. To test this I used recon to visit Sturgeon Shipyard in Turf War mode and carefully inked specific parts of the bridge to see how many points it gave me. After several attempts, I found inking the "ground" of a lowered bridge gave 34 points while the top of a raised bridge gave 0 points. I then inked the entire bridge to verify and once again got 34 points. The results were the same regardless of when the bridge was raised or lowered.
    • T

      What is this VTech Variety game in Abwärts (1984 movie)?
      Game Testing • game identification • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      Searching on the Internet, I found that the game name is https://en.wikipedia.org/wiki/List_of_Game_%26_Watch_games#Fire , a https://en.wikipedia.org/wiki/Game_%26_Watch game by Nintendo. Fire was not actually released for the VTech Variety. My source is the German-language https://de.wikipedia.org/wiki/Abw%C3%A4rts_(1984)
    • T

      How to swap hotbars?
      Game Testing • medieval engineers • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      In a https://steamcommunity.com/app/333950/discussions/0/618453594741953930/#c618453594741960122 , a user posted that you use Shift + 1 through 4 to change between them: Press Shift+1-4 to view the different hotbars It now seems to be Ctrl instead of Shift according to https://gaming.stackexchange.com/questions/398834/how-to-swap-hotbars/398852?noredirect=1#comment560473_398852 .
    • T

      Does liberating FND bases and checkpoints provide any benefits beyond access to the bases and the item/reagent rewards for liberating them?
      Game Testing • far cry 6 • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      Nope, I haven't noticed anything like that, in that like more guerrillas showing up, etc. I think besides the immediate rewards, they are mainly there for fast travel.
    • T

      How to block in game purchases on Genshin Impact?
      Game Testing • genshin impact • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      S

      Spending money involves specifically buying Genesis Crystals in packs. They can only be converted into other in-game currencies in order to acquire items. It is apparently not always clear when you are spending real money Apparently how? Even purchases from the Wish screen require converting Genesis Crystals into Primo Gems. For Apple specifically, it appears to be possible to disable In-App Purchases directly on the device. https://support.apple.com/en-gb/HT204396
    • T

      How to check the value of a Tag and execute another command when equal to a desired value?
      Game Testing • minecraft java edition minecraft commands • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      jeanid

      The "Book" block does not exist in Minecraft. You should write this command for lentern block and check its nbt data instead. The correct command is: /execute if data block 50005 10 50009 minecraft:lectern{Book: {tag: {title: "Bookname"}}} run tp 100 10 100 Also you can use the official Minecraft wiki to view nbt path of block. For example, https://minecraft.fandom.com/wiki/Lectern#Block_data .
    • T

      How do I clear inventories of unobtainable blocks?
      Game Testing • minecraft commands minecraft bedrock edition • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      It’s actually pretty simple; you can easily put this command in a repeating command block: clear @a unobtainable_block_name Unfortunately you will have to do this for each individual block. I’m guessing you are doing this for a realm/server. If this is the case I’d highly recommend the above command for beehives too as well, and I'd also kick cheating players out of the server automatically with this: kick @a [name=!moderator_username, m=creative] IMAGINE HACKING This will kick all players who are in creative and not a moderator
    • T

      Will a piston continue moving in a server once everyone leaves, or commence moving when everyone rejoins?
      Game Testing • minecraft java edition minecraft redstone • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      morde

      Time in the sense of day/night cycle and weather passes while no one is on, however in all other senses time doesn't pass in a given chunk unless a player is online and nearby enough (although for a small set of chunks near the default spawn, "nearby enough" is anywhere in the Overworld). https://gaming.stackexchange.com/questions/27557/does-time-pass-on-a-minecraft-smp-server-if-nobody-is-logged-on So the piston should stop once everyone leaves. Flying machines / redstone contraptions with slime/honey blocks at chunk borders break when chunks are loaded/unloaded. https://github.com/PaperMC/Paper/issues/3439 When someone joins back and the piston is in loaded chunks, and if on chunk borders, they break, else they continue moving.
    • T

      I killed Patches. What are the consequences?
      Game Testing • elden ring • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      E

      You would not be able to acquire two gestures: Extreme Repentance is the first one and requires you to win the first Patches fight, initiate another and then surrender. Patches' Crouch is the second one and it's only available when you complete his entire quest line. You would not be able to complete one of the quests in Volcano Manor, which awards you with a weapon and an armor set (which is somewhat interesting option for heavy load / high poise builds) : https://eldenring.wiki.fextralife.com/Magma+Whip+Candlestick and https://eldenring.wiki.fextralife.com/Bull-Goat+Set That one Patches quest is an optional part of the larger quest line, you still will be able to complete it and get the final reward. Of cause you will also miss multiple conversations/interactions with Patches, like his typical "push you down to some hole" thing in Mount Gelmir and another NPC interaction: dialogue with https://eldenring.wiki.fextralife.com/Tanith after giving her https://eldenring.wiki.fextralife.com/Dancer%27s+Castanets
    • T

      Why don't I have any huts?
      Game Testing • a dark room • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      You're missing no huts, you just built the max amount of them. When reaching 80 people (what you got), you cannot build anymore huts. 80 people equal 20 huts. This is also stated with a message when the last hut has been build. Go to your village tab and you'll see, they're still there. When a hut burns down by accident, you can rebuild that one for the max amount of 1000 wood, the cost of hut nr 20 (= count*50 wood). Source: My own experience. I tried this game out as I saw this question.
    • T

      How to increment potion effects?
      Game Testing • minecraft java edition minecraft commands • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      K

      I think you could start a scoreboard, something called effectLevel for example. You could then run a series of command blocks that gives all players with effectLevel score 1, level 2 effect. This is just a brainstorm idea from me, as I'm not familiar with scoreboard commands, but I believe that would work.
    • T

      Are there enemies immune to quickhacks in Cyberpunk 2077?
      Game Testing • cyberpunk 2077 • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      Yes, https://www.cyberpunk.net/en/news/37801/patch-1-2-list-of-changes : Cyberpsychos and minibosses are now immune to Tranquilizer rounds and System Reset Quickhack. That's because System Reset trivialized those fights that were meant to be challenging, as it could instantly defeat any enemy non-lethally. While it's possible that later updates added more immunities, in my experience (before update 1.2), there were no enemies that were immune to any Quickhacks. As for why Reflexes is recommended for a Quickhack build, my guess is: Critical Error allows your Quickhacks to benefit from Critical Chance and Critical Damage. Critical Chance is affected by Reflexes, and even without Critical Damage, your Quickhack will deal 50% additional damage per Critical Hit, making Reflexes (for Critical Chance) more valuable than Cool (for Critical Damage). Generally speaking, Quickhacks synergize better with guns (Reflexes) than stealth (Cool). Using Quickhacks may interfere with stealth by alerting nearby enemies (some Quickhacks don't), but it won't interfere with guns. Technical Ability is mostly useful for its ability to craft legendary items, some of which are incredibly powerful, but do not directly affect a Quickhack build. Body doesn't really synergize with Quickhacks, but it doesn't interfere with it either. Having more health and stamina is never wrong, but Body favors melee, while Quickhacks are closer to ranged attacks. Guns would allow you to fight back while waiting for your RAM to recover, without forcing you to move from your current position. This means that Reflexes is simply the best attribute to invest in, once you've maxed out Intelligence.
    • T

      How can you make a ghost block in minecraft?
      Game Testing • minecraft java edition minecraft commands • • terrea  

      2
      0
      Votes
      2
      Posts
      0
      Views

      emmalee

      Try: /summon falling_block ~ ~ ~ {Time:1,BlockState:{Name:cobblestone_stairs}} This is will summon a falling block, in this case a cobblestone_stair. Each of the ~ represent the x y and z coordinates.
    • 1
    • 2
    • 3
    • 4
    • 5
    • 738
    • 739
    • 1 / 739