Giter Club home page Giter Club logo

Comments (19)

andrew2net avatar andrew2net commented on July 30, 2024 1

@CAMOBAP I've already released the relaton-bipm using rake release command. Will try next time.

from mn-requirements.

ronaldtse avatar ronaldtse commented on July 30, 2024

For starters, you need to run these commands to grant publication privileges.

gem owner mn-requirements -a ribose
gem owner mn-requirements -a metanorma

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

Because we use general workflow for many repositories, some of them require access to GH rubygems.
@ronaldtse could you please confirm that this repo has access to both:

  • secrets.METANORMA_CI_RUBYGEMS_API_KEY
  • secrets.METANORMA_CI_PAT_TOKEN

*both are org-level secrets as far as I remember

from mn-requirements.

ronaldtse avatar ronaldtse commented on July 30, 2024

@CAMOBAP yes they are both available here, it is only with private repos we have to manually set. The issue is that @opoudjis needs to add the CI user as gem owner.

from mn-requirements.

opoudjis avatar opoudjis commented on July 30, 2024

Done.

from mn-requirements.

ronaldtse avatar ronaldtse commented on July 30, 2024

Confirm done.

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

@ronaldtse @opoudjis should we rerun latest failed release workflow?

from mn-requirements.

opoudjis avatar opoudjis commented on July 30, 2024

Btw, Github Actions is going to fail for all of mn-requirements, metanorma-standoc and isodoc, because of circular dependencies: they all need to be upgraded together.

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

@opoudjis https://github.com/metanorma/metanorma-standoc/tree/main/.github/workflows doesn't have automatic release workflow as many other gems, I tried to add release workflow to only independent components

Anyway let me know if there is make sense to add/remove automatic release workflow for some repos

from mn-requirements.

ronaldtse avatar ronaldtse commented on July 30, 2024

@CAMOBAP we want automatic release for all gems in the metanorma, relaton orgs. Thanks!

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

@CAMOBAP we want automatic release for all gems in the metanorma, relaton orgs. Thanks!

Ok

cc @andrew2net to be on the same page. AFAIK you are probably working on relaton projects more than others

Btw, Github Actions is going to fail for all of mn-requirements, metanorma-standoc and isodoc, because of circular dependencies: they all need to be upgraded together.

This "circle" comes from development deps, to me, it looks like the order should be:

  • mn-requirements
  • isodoc
  • metanorma-standoc

will it works?

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

@ronaldtse could you please confirm that RELATON_CI_RUBYGEMS_API_KEY or similar is available for relaton org?

UPD. Just found that RELATON_CI_RUBYGEMS_API_KEY exists at least in relaton-cli I hope it defined on org level

@andrew2net just for you to know CI now will do push to rubygems once you did tag on the repo, in case of any issues don't hesitate to contact me

I'm going to add the same for all metanorma gems, probably I will create individual PR so we will be able to check each case individually to discuss possible circular deps or other potential problems

from mn-requirements.

opoudjis avatar opoudjis commented on July 30, 2024

metanorma/isodoc-i18n#4 Attention @CAMOBAP

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

CI configuration updated for all rmetanorma and relaton epos

from mn-requirements.

andrew2net avatar andrew2net commented on July 30, 2024

@CAMOBAP I've tried to make tag and push it to relaton-bipm repo but nothing happened.

error parsing called workflow "relaton/support/.github/workflows/release.yml@master": failed to fetch workflow: workflow was not found.

https://github.com/relaton/relaton-bipm/actions/runs/3028659644

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

@andrew2net my bad forgot to push relaton/support could you please try one more time

Update: I just executed the release manually https://github.com/relaton/relaton-bipm/actions/workflows/release.yml (with skip option) to check if it works. It pass all steps just failed on rubygem.org push because this version already exists. so I tink now it works properly

from mn-requirements.

andrew2net avatar andrew2net commented on July 30, 2024

@CAMOBAP what is correct workflow to release gem?
I make a commit, then I push the commit and wait until all GHA tests completed, then create a tag and push it.
Then I push tag the GHA tests run again. I think we don't need it.

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

Then I push tag the GHA tests run again. I think we don't need it.

Agree, we have workaround for this on metanorma gems, I will implement the same approach for relaton gems

from mn-requirements.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

@andrew2net done relaton/support@e24abac

from mn-requirements.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.