GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Jan Wildeboer 😷:krulorange: (jwildeboer@social.wildeboer.net)'s status on Friday, 13-Dec-2024 04:32:41 JST Jan Wildeboer 😷:krulorange: Jan Wildeboer 😷:krulorange:
    • Codeberg.org

    Le sigh. Feels that every time I publish a blog post, @Codeberg tells me I need to change something somewhere in my config because something somewhere has changed with Woodpecker or something else. Right now it is something somehow has changed with passing secrets, so I apologise if my blog looks weird while I try to sort things out.

    In conversation about 7 months ago from social.wildeboer.net permalink

    Attachments


    1. https://cdn.masto.host/socialwildeboernet/media_attachments/files/113/641/512/731/591/361/original/5d621806307304f9.png
    • Embed this notice
      Marco 🦝 :verified: :grumpycat: (m2vh@mastodontech.de)'s status on Friday, 13-Dec-2024 05:15:40 JST Marco 🦝 :verified: :grumpycat: Marco 🦝 :verified: :grumpycat:
      • Codeberg.org

      @jwildeboer @Codeberg maybe escape them when you use them? If they are preprocessed then :
      echo $${CBTOKEN}

      Should be resolved to :
      echo tokenvalue

      Your missing the {{}}?

      In conversation about 7 months ago permalink
    • Embed this notice
      Codeberg.org (codeberg@social.anoxinon.de)'s status on Friday, 13-Dec-2024 05:28:35 JST Codeberg.org Codeberg.org

      @jwildeboer Honestly, I was also pretty annoyed by this. Take a look at https://codeberg.org/Codeberg-Infrastructure/ci-status-pings/commit/f314d99892b309f92a21c19f05394abeb9734d11 and try to change your pipelines in a similar way. ~f

      In conversation about 7 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: codeberg.org
        Merge pull request 'Use new `from_secret` syntax' (#1) from pat-s/ci-status-pings:pat-s-patch-1 into main · f314d99892
        from Codeberg-Infrastructure
        Reviewed-on: https://codeberg.org/Codeberg-Infrastructure/ci-status-pings/pulls/1
    • Embed this notice
      Marco 🦝 :verified: :grumpycat: (m2vh@mastodontech.de)'s status on Friday, 13-Dec-2024 06:50:29 JST Marco 🦝 :verified: :grumpycat: Marco 🦝 :verified: :grumpycat:
      • Codeberg.org

      @jwildeboer @Codeberg found the warning. It looks like you need to paas the secrets into a setting or environment variable before using it in a command. Actually you use a declared secret. Maybe put
      environment:
      CBTOKEN_ENV:
      from-secret: cbtoken

      between your line 8 and 9
      and reference in command like ${{CBTOKEN_ENV}}.

      BTW:
      The documentation is age-insensitive 😁.
      It's just not clear. 😉

      In conversation about 7 months ago permalink
    • Embed this notice
      Marco 🦝 :verified: :grumpycat: (m2vh@mastodontech.de)'s status on Friday, 13-Dec-2024 07:35:21 JST Marco 🦝 :verified: :grumpycat: Marco 🦝 :verified: :grumpycat:
      • Codeberg.org

      @jwildeboer @Codeberg my guess, because its yaml:

      secrets: [token1, token2]

      environment:
      TOKEN_1:
      from-secret: token1
      TOKEN_2:
      from-secret: token2

      commands:
      - echo ${{TOKEN_1}}
      - echo ${{TOKEN_2}}

      That's how i understand the docs

      In conversation about 7 months ago permalink
    • Embed this notice
      Marco 🦝 :verified: :grumpycat: (m2vh@mastodontech.de)'s status on Saturday, 14-Dec-2024 06:41:28 JST Marco 🦝 :verified: :grumpycat: Marco 🦝 :verified: :grumpycat:
      in reply to
      • Codeberg.org

      @jwildeboer @Codeberg the update would be the use of env vars in commands instead of referencing the secrets directly. That could explain the warning message that secrets are not allowed.

      In conversation about 7 months ago permalink
    • Embed this notice
      Codeberg.org (codeberg@social.anoxinon.de)'s status on Saturday, 14-Dec-2024 07:20:43 JST Codeberg.org Codeberg.org
      • Marco 🦝 :verified: :grumpycat:

      @jwildeboer
      Have you tried `from_secret` instead of `from-secret`? Might do the trick (not tried, though).

      BTW, Codeberg also offers hosted Forgejo Actions as of recently, and feedback is very welcome: https://codeberg.org/actions/meta/
      @m2vh

      In conversation about 7 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: codeberg.org
        meta
        from actions
        Information and discussions around hosted Forgejo Actions at Codeberg
    • Embed this notice
      Marco 🦝 :verified: :grumpycat: (m2vh@mastodontech.de)'s status on Saturday, 14-Dec-2024 07:24:50 JST Marco 🦝 :verified: :grumpycat: Marco 🦝 :verified: :grumpycat:
      • Codeberg.org

      @jwildeboer @Codeberg hmmm... May i suggest this version, but with the secrets declared? https://codeberg.org/jwildeboer/jwildeboersource/src/commit/bac77e219b9cce4925bdd7311e7b56f32e61b8ac/.woodpecker.yml

      $${VAR_NAME} looks like the docs. But I'm missing the

      secrets: [ secret1, secret2]

      But i might be wrong, because i followed your files on my mobile phone, and missed something.

      🤔🙏🤞

      In conversation about 7 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: codeberg.org
        jwildeboersource/.woodpecker.yml at bac77e219b9cce4925bdd7311e7b56f32e61b8ac
        from jwildeboer
        jwildeboersource - Jekyll source files for https://jan.wildeboer.net
    • Embed this notice
      Codeberg.org (codeberg@social.anoxinon.de)'s status on Saturday, 14-Dec-2024 07:26:31 JST Codeberg.org Codeberg.org
      • Marco 🦝 :verified: :grumpycat:

      @jwildeboer
      TOKEN_ENV vs CBTOKEN_ENV mismatch? Your history looks frustrating, though. I don't know when Woodpecker 3.0 will be deployed, but it should continue working until then.
      @m2vh

      In conversation about 7 months ago permalink
    • Embed this notice
      preferred (preferred@expressional.social)'s status on Saturday, 14-Dec-2024 07:40:03 JST preferred preferred
      • Codeberg.org

      @jwildeboer @Codeberg

      You could almost make a blog-post. In case this is something most people will run into, I mean.

      In conversation about 7 months ago permalink
    • Embed this notice
      preferred (preferred@expressional.social)'s status on Saturday, 14-Dec-2024 18:10:16 JST preferred preferred
      • Codeberg.org

      @jwildeboer @Codeberg 💝 ☑️ 🥇

      In conversation about 7 months ago permalink
    • Embed this notice
      Marco 🦝 :verified: :grumpycat: (m2vh@mastodontech.de)'s status on Saturday, 14-Dec-2024 19:54:25 JST Marco 🦝 :verified: :grumpycat: Marco 🦝 :verified: :grumpycat:
      • Codeberg.org

      @jwildeboer @Codeberg

      yeah. 🥳

      Just by the power of fediverse.

      -🫷😉👇_

      In conversation about 7 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.