Navigation

    SOFTWARE TESTING

    • Register
    • Login
    • Search
    • Job Openings
    • Freelance Jobs
    • Companies
    • Conferences
    • Courses
    1. Home
    2. Jolied
    J
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Jolied

    @Jolied

    0
    Reputation
    29675
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Jolied Follow

    Best posts made by Jolied

    This user hasn't posted anything yet.

    Latest posts made by Jolied

    • Running this groovy jenkins script output this error "WorkflowScript: 17: expecting '}', found ':' @ line 17, column 11"
      #!groovy
      
      
      env.BEARER_TOKEN = "uuuuuuuuuu"
      
      node {
          publishModule()
      }
      
      def publishModule() {
          stage('Deploy Modules') {
        }
      } 
      def buildPayload() {
          def payload = 
      {
          "data": {
              "attributes": {
                "vcs-repo": {
                  "identifier":"nnnnnn",
                  "oauth-token-id":"hhhhhh",
                  "display_identifier":"nnnnnn"
                }
                "no-code": true
              },
              "type":"registry-modules"
           }
       }
      }
      
      def deployModules() {
          def payload = buildPayload()
          def response = httpRequest(
              customHeaders: [
                      [ name: "Authorization", value: "Bearer " + env.BEARER_TOKEN],
                      [ name: "Authorization", value: "application/vnd.api+json" ]
                  ],
              httpMode: 'POST',
              responseBody: "${payload}",
              url: "https://app.terraform.io/api/v2/organizations/my-organization/registry-modules/vcs"
      
              
          )
      }
      
             
      
      WorkflowScript: 17: expecting '}', found ':' @ line 17, column 11.
             "data": {
                   ^
      

      I am trying to build this code in a Jenkinsfile so I am getting this error. WorkflowScript: 17: expecting '}', found ':' @ line 17, column 11. Any suggestion will be appreciated.

      posted in Continuous Integration and Delivery (CI
      J
      Jolied
    • RE: Gather kubectl logs data to an external service

      There are many products that will ship Kubernetes logs off to a central log server. The kubernetes documentation has https://kubernetes.io/docs/concepts/cluster-administration/logging/ that is a good place to start.

      There are a number of existing projects that are designed to ship your local off to a central location:

      • https://docs.fluentbit.io/manual/installation/kubernetes
      • https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html
      • https://vector.dev/docs/reference/configuration/sources/kubernetes_logs/

      Etc.

      And following some of the suggestions in the Kubernetes documentation I linked to earlier you could probably write your own (or reconfigure your existing host-based solutions to support your Kubernetes environment as well).

      posted in Continuous Integration and Delivery (CI
      J
      Jolied
    • RE: What is the usage of the cluster external IP address?

      External IP address is used to access applications from outside, which is running inside the cluster.

      posted in Continuous Integration and Delivery (CI
      J
      Jolied
    • dev/stage/prod in separate AWS accounts, managed via terraform cloud workspaces, how can I use lb ip in DNS records for each env?

      We currently have 4 aws accounts:

      • root - consolidated billing, domain purchased via route 53
      • development
      • staging
      • production

      And they're all managed via terraform cloud as separate workspaces.

      in dev/stage/prod I have a load balancer routing requests to ECS and various other resources.

      I'd like to use the same domain to point to each environment with the following path:

      • dev.mydomain.com => development load balancer
      • stage.mydomain.com => staging load balancer
      • mydomain.com => prodution load balancer

      If they were all in 1 single AWS account/workspace, this would be easy peasy, take the output of that static IP and add it into the route 53 A record for each subdomain.

      But, is it possible at all to achieve this across multiple aws accounts, or is there a better pattern to follow to achieve this?

      posted in Continuous Integration and Delivery (CI
      J
      Jolied
    • RE: Does /etc/rancher/k3s/registries.yaml affect `k3s ctr` and `k3s crictl`?

      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.

      posted in Continuous Integration and Delivery (CI
      J
      Jolied
    • RE: Docker refuses to execute commands or start containers with Ubuntu 20 image on Ubuntu 21 host, but works on Ubuntu 20 host

      Asked on the Docker forums - apparently to correctly "import" the image, you don't user the import command but instead user image load command.

      INCORRECT:

      $ docker image save local/ubuntu:latest -o ubuntu.tgz # on Ubuntu 20
      $ docker import ubuntu.tgz local/ubuntu:latest        # WRONG! on Ubuntu 21
      

      CORRECT:

      $ docker image save local/ubuntu:latest -o ubuntu.tgz # on Ubuntu 20
      $ docker image load -i ubuntu.tgz                     # on Ubuntu 21
      

      Credits go to the person who https://forums.docker.com/t/same-image-refuses-to-run-on-ubuntu-21-but-runs-on-ubuntu-20-docker-versions-are-the-same/121955 on the Docker forum here. Also note, that if you run docker image save the image full name (repo/name:tag) is actually save with along with other information, so upon running docker image load -i ubuntu.tgz Docker will tag that image as exactly as it was tagged when it was saved. If an image with the same name exists, it will be replaced, so be careful.

      posted in Continuous Integration and Delivery (CI
      J
      Jolied
    • Test reports for Gitlab CI when multiple modules exist

      I am trying to setup build scripts for Gitlab CI for a Java/ project with Gradle. The project has three different modules A, B and C, with modules B and C being dependent on the module A.

      All three have a build.gradle file and unit tests inside them. There is also a build.gradle file in the root of the project. I am trying to have test reports available in GitLab CI when a new push is made. I managed to have the test executed with ease by executing the check gradle command with a script similar to this one:

      test:
        stage: test
        script:
          - ./gradlew check
      

      THis, however, does not provide any test reports. In the logs I only see something like this:

      Starting a Gradle Daemon (subsequent builds will be faster)
      > Task :compileJava NO-SOURCE
      > Task :processResources NO-SOURCE
      > Task :classes UP-TO-DATE
      > Task :compileTestJava NO-SOURCE
      > Task :processTestResources NO-SOURCE
      > Task :testClasses UP-TO-DATE
      > Task :test NO-SOURCE
      > Task :check UP-TO-DATE
      > Task :A:compileJava
      > Task :A:processResources NO-SOURCE
      > Task :A:classes
      > Task :A:jar
      > Task :B:compileJava
      > Task :B:processResources NO-SOURCE
      > Task :B2:classes
      > Task :B:compileTestJava
      > Task :B:processTestResources
      > Task :B:testClasses
      > Task :B:test
      > Task :B:check
      > Task :A:compileTestJava
      > Task :Ar:processTestResources NO-SOURCE
      > Task :A:testClasses
      > Task :A:test
      > Task :A:check
      BUILD SUCCESSFUL in 42s
      

      It is good that the build fails if the test fails, but I don't have any indication to what tests were executed, what tests failed or any other information.

      Can anyone help with some resources or hints on how to solve this.

      posted in Continuous Integration and Delivery (CI
      J
      Jolied
    • What in the world is an Allay?

      I’ve been sorta caught up on the recent Minecraft updates, but the one that I’m mostly confused about is the new mob. It’s called an Allay and I’ve never seen one in the game before. At first I thought you had to craft it, then I recently discovered from a friend that you have to find one out in the wild. First, where do you even find these things? Second, what’s the point of them and what do they do? All I know is that they can carry things for you.

      posted in Game Testing
      J
      Jolied
    • Can you get INTERmission without buying FF7R again?

      Played FF7R on PS4, and now that I have a PS5 I wanted to play intermission.

      But it seems my only option is intergrade, that is FF7R for PS5 plus the INTERmission.

      Since I already played and own FF7R and I am not interested in paying for it again just for intermission, is there any other way to get Intermission?

      posted in Game Testing
      J
      Jolied
    • Can you opt out of the Fated raid affix?

      My guild and I are rounding some participants up to take on non-Fated Mythic Sylvanas Windrunner in Sanctum of Domination for a shot at the https://www.wowhead.com/item=186642/vengeances-reins mount. We're in a bit of an odd situation, though, as Sanctum of Domination will be the Fated raid in a couple weeks, and there are plans to make https://www.wowhead.com/guides/fated-raid-affixes-shadowlands-season-4 , which means the difficulty will be on par with current-content Mythic, which not all of us are geared for (we're all kind of in a "Dragonflight waiting room" mode, so not all of us are geared to the teeth).

      What would be great is if we could turn off the Fated affix for the raid when it's Sanctum of Domination's week to be Fated, and we could run through the raid at reduced difficulty. I noticed at the start of each raid there's now a "Fated Console" but interacting with it https://us.forums.blizzard.com/en/wow/t/additional-fated-power-in-season-4-fated-raids/1335654 , which isn't what I'm looking for.

      Is it possible to opt-out of the Fated affix when running a Shadowlands raid?

      posted in Game Testing
      J
      Jolied