Code Monkey home page Code Monkey logo

Comments (4)

roeniss avatar roeniss commented on July 20, 2024

요즘 pypi 에 새 버전 배포할때마다 "앞으로 이런 콘솔 로그인 방식으론 배포 못하게 막을거다"라고 경고(?) 메일이 날라온다.

https://github.com/marketplace/actions/pypi-publish

이걸 적용하면 될 것 같다.

from dhlottery-api.

roeniss avatar roeniss commented on July 20, 2024

다음과 같은 방식을 구상함.

  1. master 브랜치에서 publish 브랜치로 PR 을 만든다. 해당 PR 에는 bump 된 VERSION 파일이 존재한다.
  2. publish 브랜치로 merge한다 (w/ merge commit)
  3. publish 브랜치에서 CD GitHub Actions 가 작동한다

from dhlottery-api.

roeniss avatar roeniss commented on July 20, 2024

이에 따라, 초기 기획에서 몇가지를 수정한다.

  • 나 (roeniss) 만 실행 가능해야 한다 : 유지
  • 수동으로만 돌릴 수 있어야 한다 : 유지
  • version bump (버전업) 할 수 있어야 한다 (...) jenkins 파이프라인에서 임의로 입력값을 받는 것 마냥 input 을 넣을 수 있어야 한다. -> 직접 VERSION 명시하는걸로
  • PyPI 와 연동이 되어야 한다. OIDC 지원을 하기 때문에 (토큰을 넣지 않아도) 쉽게 될 것으로 예상중 : 유지

from dhlottery-api.

roeniss avatar roeniss commented on July 20, 2024

pypi 에 OIDC 등록완료

Screenshot 2024-02-10 at 02 30 34 by seonghyeok

from dhlottery-api.

Related Issues (20)

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.