Code Monkey home page Code Monkey logo

Comments (3)

aaronsteers avatar aaronsteers commented on August 13, 2024 1

@jtimeus-slalom - I've made you admin on the repo. You should be able to add using the "New Repository Secret" option here:

https://github.com/dataops-tk/tap-powerbi-metadata/settings/secrets/actions

from tap-powerbi-metadata.

aaronsteers avatar aaronsteers commented on August 13, 2024

John - have you thought about the pattern you want to use for this?

If you like the pattern in the below Singer SDK MR, you could use almost the same code to implement it.

image

https://gitlab.com/meltano/singer-sdk/-/merge_requests/6

UPDATE: I realized that MR is huge. Here are the relevant lines:

https://gitlab.com/meltano/singer-sdk/-/blob/d0ae6da5fa8b4dd47dc0425648a72ddf1c3068ef/.gitlab-ci.yml#L31-43

    - |
      echo "Publishing to PyPi..."
      if [[ "$BRANCH_NAME" == *main ]]
      then
        # Just print the version and don't change it
        poetry version --short
      else
        # Build a new version from the internal integer Job ID
        poetry version $(poetry version --short)-dev.$CI_JOB_ID
        poetry version --short
      fi
      echo -e "\nPublishing to version ref '$(poetry version --short)'...\n\n"
      # poetry config pypi-token.pypi "$PYPI_PUBLISH_TOKEN"
      poetry publish --build

The environment variables will be different on Github vs Gitlab, but there should be an equivalent for each.

from tap-powerbi-metadata.

jtimeus-slalom avatar jtimeus-slalom commented on August 13, 2024

Yes, I will definitely take advantage of your existing pattern. I have created a pypi login and gotten a key. I don't see the place to enter it in the Github, so I may need you to add additional privileges on this repo so I can add it as a variable for use in pipelines

from tap-powerbi-metadata.

Related Issues (15)

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.