Cannot set 'timeout' value on Google Container Builder serviceGoogle container engine cluster upgrade...

What was the exact wording from Ivanhoe of this advice on how to free yourself from slavery?

Is it possible to have a strip of cold climate in the middle of a planet?

Is it better practice to read straight from sheet music rather than memorize it?

What does routing an IP address mean?

How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?

Is it safe to use olive oil to clean the ear wax?

Drawing ramified coverings with tikz

Added a new user on Ubuntu, set password not working?

It grows, but water kills it

When were female captains banned from Starfleet?

Why did the EU agree to delay the Brexit deadline?

If infinitesimal transformations commute why dont the generators of the Lorentz group commute?

Delivering sarcasm

Start making guitar arrangements

Problem with TransformedDistribution

Lowest total scrabble score

Store Credit Card Information in Password Manager?

Why should universal income be universal?

Loading commands from file

How do I color the graph in datavisualization?

Should I outline or discovery write my stories?

What should you do when eye contact makes your subordinate uncomfortable?

Is there a name for this algorithm to calculate the concentration of a mixture of two solutions containing the same solute?

Is there any references on the tensor product of presentable (1-)categories?



Cannot set 'timeout' value on Google Container Builder service


Google container engine cluster upgrade failureGoogle container engine - error creating aufs mountGoogle container engine / Kubernetes 1.1.1 - Service LoadBalancer not being createdDocker compose on Google container engineNo --wait or --no-async when creating Google Cloud container node pool?Google Cloud Container Builder timeoutErrors when using Google Container Engine (GKE) with Google Container Registry (GCR)Google Container Engine with VPNTurn off a Cluster in Google Container EngineUnable to create Kubernetes cluster in Google Container Engine













3















I'm setting up some container build triggers, which, by default, have a 10 minutes timeout configuration. As sometimes my builds are just a bit longer than 10 minutes, I'm trying to change the timeout value on the yaml file to no avail.



Container builder documentation says there's a timeout value with this characteristics:




timeout
string (Duration format) [...] Default time is ten minutes. A duration in seconds with up to nine fractional digits, terminated by
's'. Example: "3.5s".




But I can't get it to work on the yaml definition file. Simplifying the yaml file I've tried:



steps:
- name: 'python:3-alpine'
args: ['end']
entrypoint: 'bin/notify.sh'
env:
- 'BRANCH=$BRANCH_NAME'
- 'SHA=$COMMIT_SHA'
id: 'notifyend'
timeout: '1200s'


And I get this error:




error loading template: yaml: unmarshal errors: line 9: cannot
unmarshal !!str 1200s into duration.Duration




When I use timeout: '1200' I get:




error loading template: yaml: unmarshal errors: line 9: cannot
unmarshal !!str 1200 into duration.Duration




And when I use, just for trying something else, timeout: duration.seconds(1200) I get:




error loading template: yaml: unmarshal errors: line 9: cannot
unmarshal !!str duratio... into duration.Duration




Any clue on how should I fix this?










share|improve this question



























    3















    I'm setting up some container build triggers, which, by default, have a 10 minutes timeout configuration. As sometimes my builds are just a bit longer than 10 minutes, I'm trying to change the timeout value on the yaml file to no avail.



    Container builder documentation says there's a timeout value with this characteristics:




    timeout
    string (Duration format) [...] Default time is ten minutes. A duration in seconds with up to nine fractional digits, terminated by
    's'. Example: "3.5s".




    But I can't get it to work on the yaml definition file. Simplifying the yaml file I've tried:



    steps:
    - name: 'python:3-alpine'
    args: ['end']
    entrypoint: 'bin/notify.sh'
    env:
    - 'BRANCH=$BRANCH_NAME'
    - 'SHA=$COMMIT_SHA'
    id: 'notifyend'
    timeout: '1200s'


    And I get this error:




    error loading template: yaml: unmarshal errors: line 9: cannot
    unmarshal !!str 1200s into duration.Duration




    When I use timeout: '1200' I get:




    error loading template: yaml: unmarshal errors: line 9: cannot
    unmarshal !!str 1200 into duration.Duration




    And when I use, just for trying something else, timeout: duration.seconds(1200) I get:




    error loading template: yaml: unmarshal errors: line 9: cannot
    unmarshal !!str duratio... into duration.Duration




    Any clue on how should I fix this?










    share|improve this question

























      3












      3








      3


      1






      I'm setting up some container build triggers, which, by default, have a 10 minutes timeout configuration. As sometimes my builds are just a bit longer than 10 minutes, I'm trying to change the timeout value on the yaml file to no avail.



      Container builder documentation says there's a timeout value with this characteristics:




      timeout
      string (Duration format) [...] Default time is ten minutes. A duration in seconds with up to nine fractional digits, terminated by
      's'. Example: "3.5s".




      But I can't get it to work on the yaml definition file. Simplifying the yaml file I've tried:



      steps:
      - name: 'python:3-alpine'
      args: ['end']
      entrypoint: 'bin/notify.sh'
      env:
      - 'BRANCH=$BRANCH_NAME'
      - 'SHA=$COMMIT_SHA'
      id: 'notifyend'
      timeout: '1200s'


      And I get this error:




      error loading template: yaml: unmarshal errors: line 9: cannot
      unmarshal !!str 1200s into duration.Duration




      When I use timeout: '1200' I get:




      error loading template: yaml: unmarshal errors: line 9: cannot
      unmarshal !!str 1200 into duration.Duration




      And when I use, just for trying something else, timeout: duration.seconds(1200) I get:




      error loading template: yaml: unmarshal errors: line 9: cannot
      unmarshal !!str duratio... into duration.Duration




      Any clue on how should I fix this?










      share|improve this question














      I'm setting up some container build triggers, which, by default, have a 10 minutes timeout configuration. As sometimes my builds are just a bit longer than 10 minutes, I'm trying to change the timeout value on the yaml file to no avail.



      Container builder documentation says there's a timeout value with this characteristics:




      timeout
      string (Duration format) [...] Default time is ten minutes. A duration in seconds with up to nine fractional digits, terminated by
      's'. Example: "3.5s".




      But I can't get it to work on the yaml definition file. Simplifying the yaml file I've tried:



      steps:
      - name: 'python:3-alpine'
      args: ['end']
      entrypoint: 'bin/notify.sh'
      env:
      - 'BRANCH=$BRANCH_NAME'
      - 'SHA=$COMMIT_SHA'
      id: 'notifyend'
      timeout: '1200s'


      And I get this error:




      error loading template: yaml: unmarshal errors: line 9: cannot
      unmarshal !!str 1200s into duration.Duration




      When I use timeout: '1200' I get:




      error loading template: yaml: unmarshal errors: line 9: cannot
      unmarshal !!str 1200 into duration.Duration




      And when I use, just for trying something else, timeout: duration.seconds(1200) I get:




      error loading template: yaml: unmarshal errors: line 9: cannot
      unmarshal !!str duratio... into duration.Duration




      Any clue on how should I fix this?







      google-cloud-platform google-kubernetes-engine






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 10 '17 at 11:12









      AndorAndor

      436415




      436415






















          3 Answers
          3






          active

          oldest

          votes


















          3














          This is a known issue, and we have a fix for it going out soon. I'll update this answer when it's out.



          This is now fixed. Use timeout: 1200s to specify a timeout.



          Sorry about that!






          share|improve this answer

































            0














            Try this:



            steps:
            - name: 'python:3-alpine'
            args: ['end']
            entrypoint: 'bin/notify.sh'
            env:
            - 'BRANCH=$BRANCH_NAME'
            - 'SHA=$COMMIT_SHA'
            id: 'notifyend'
            timeout:
            seconds: 1200





            share|improve this answer
























            • I have tried that. It will raise an error error loading template: invalid syntax.

              – Gambo
              Mar 22 '17 at 18:48






            • 1





              Previously this fixed the same issue for me but it seems they've updated it…. "timeout: '1200s'" works for me now.

              – Omer Zach
              Mar 23 '17 at 20:37





















            0














            I recently ran into the same issue and the accepted answer didn't work.



            I fixed it by configuring the project with the gloud command: gcloud config set app/cloud_build_timeout 1200





            share








            New contributor




            icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.




















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "2"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f837452%2fcannot-set-timeout-value-on-google-container-builder-service%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3














              This is a known issue, and we have a fix for it going out soon. I'll update this answer when it's out.



              This is now fixed. Use timeout: 1200s to specify a timeout.



              Sorry about that!






              share|improve this answer






























                3














                This is a known issue, and we have a fix for it going out soon. I'll update this answer when it's out.



                This is now fixed. Use timeout: 1200s to specify a timeout.



                Sorry about that!






                share|improve this answer




























                  3












                  3








                  3







                  This is a known issue, and we have a fix for it going out soon. I'll update this answer when it's out.



                  This is now fixed. Use timeout: 1200s to specify a timeout.



                  Sorry about that!






                  share|improve this answer















                  This is a known issue, and we have a fix for it going out soon. I'll update this answer when it's out.



                  This is now fixed. Use timeout: 1200s to specify a timeout.



                  Sorry about that!







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Mar 29 '17 at 21:15

























                  answered Mar 10 '17 at 21:21









                  Jason HallJason Hall

                  1464




                  1464

























                      0














                      Try this:



                      steps:
                      - name: 'python:3-alpine'
                      args: ['end']
                      entrypoint: 'bin/notify.sh'
                      env:
                      - 'BRANCH=$BRANCH_NAME'
                      - 'SHA=$COMMIT_SHA'
                      id: 'notifyend'
                      timeout:
                      seconds: 1200





                      share|improve this answer
























                      • I have tried that. It will raise an error error loading template: invalid syntax.

                        – Gambo
                        Mar 22 '17 at 18:48






                      • 1





                        Previously this fixed the same issue for me but it seems they've updated it…. "timeout: '1200s'" works for me now.

                        – Omer Zach
                        Mar 23 '17 at 20:37


















                      0














                      Try this:



                      steps:
                      - name: 'python:3-alpine'
                      args: ['end']
                      entrypoint: 'bin/notify.sh'
                      env:
                      - 'BRANCH=$BRANCH_NAME'
                      - 'SHA=$COMMIT_SHA'
                      id: 'notifyend'
                      timeout:
                      seconds: 1200





                      share|improve this answer
























                      • I have tried that. It will raise an error error loading template: invalid syntax.

                        – Gambo
                        Mar 22 '17 at 18:48






                      • 1





                        Previously this fixed the same issue for me but it seems they've updated it…. "timeout: '1200s'" works for me now.

                        – Omer Zach
                        Mar 23 '17 at 20:37
















                      0












                      0








                      0







                      Try this:



                      steps:
                      - name: 'python:3-alpine'
                      args: ['end']
                      entrypoint: 'bin/notify.sh'
                      env:
                      - 'BRANCH=$BRANCH_NAME'
                      - 'SHA=$COMMIT_SHA'
                      id: 'notifyend'
                      timeout:
                      seconds: 1200





                      share|improve this answer













                      Try this:



                      steps:
                      - name: 'python:3-alpine'
                      args: ['end']
                      entrypoint: 'bin/notify.sh'
                      env:
                      - 'BRANCH=$BRANCH_NAME'
                      - 'SHA=$COMMIT_SHA'
                      id: 'notifyend'
                      timeout:
                      seconds: 1200






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Mar 14 '17 at 17:45









                      Omer ZachOmer Zach

                      1




                      1













                      • I have tried that. It will raise an error error loading template: invalid syntax.

                        – Gambo
                        Mar 22 '17 at 18:48






                      • 1





                        Previously this fixed the same issue for me but it seems they've updated it…. "timeout: '1200s'" works for me now.

                        – Omer Zach
                        Mar 23 '17 at 20:37





















                      • I have tried that. It will raise an error error loading template: invalid syntax.

                        – Gambo
                        Mar 22 '17 at 18:48






                      • 1





                        Previously this fixed the same issue for me but it seems they've updated it…. "timeout: '1200s'" works for me now.

                        – Omer Zach
                        Mar 23 '17 at 20:37



















                      I have tried that. It will raise an error error loading template: invalid syntax.

                      – Gambo
                      Mar 22 '17 at 18:48





                      I have tried that. It will raise an error error loading template: invalid syntax.

                      – Gambo
                      Mar 22 '17 at 18:48




                      1




                      1





                      Previously this fixed the same issue for me but it seems they've updated it…. "timeout: '1200s'" works for me now.

                      – Omer Zach
                      Mar 23 '17 at 20:37







                      Previously this fixed the same issue for me but it seems they've updated it…. "timeout: '1200s'" works for me now.

                      – Omer Zach
                      Mar 23 '17 at 20:37













                      0














                      I recently ran into the same issue and the accepted answer didn't work.



                      I fixed it by configuring the project with the gloud command: gcloud config set app/cloud_build_timeout 1200





                      share








                      New contributor




                      icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.

























                        0














                        I recently ran into the same issue and the accepted answer didn't work.



                        I fixed it by configuring the project with the gloud command: gcloud config set app/cloud_build_timeout 1200





                        share








                        New contributor




                        icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          0












                          0








                          0







                          I recently ran into the same issue and the accepted answer didn't work.



                          I fixed it by configuring the project with the gloud command: gcloud config set app/cloud_build_timeout 1200





                          share








                          New contributor




                          icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          I recently ran into the same issue and the accepted answer didn't work.



                          I fixed it by configuring the project with the gloud command: gcloud config set app/cloud_build_timeout 1200






                          share








                          New contributor




                          icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.








                          share


                          share






                          New contributor




                          icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 3 mins ago









                          icaritoicarito

                          1011




                          1011




                          New contributor




                          icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          icarito is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Server Fault!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f837452%2fcannot-set-timeout-value-on-google-container-builder-service%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                              Список ссавців Італії Природоохоронні статуси | Список |...

                              Українські прізвища Зміст Історичні відомості |...