Skip to content

Commit 0a882d9

Browse files
pulpbotdralley
authored andcommitted
Update CI files
1 parent 117f758 commit 0a882d9

2 files changed

Lines changed: 0 additions & 84 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -90,22 +90,4 @@ jobs:
9090
if-no-files-found: "error"
9191
retention-days: 5
9292
overwrite: true
93-
- name: "Build Ruby bindings packages"
94-
run: |
95-
.github/workflows/scripts/build_ruby_client.sh
96-
shell: "bash"
97-
env:
98-
PY_COLORS: "1"
99-
ANSIBLE_FORCE_COLOR: "1"
100-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
101-
GITHUB_CONTEXT: "${{ github.event.pull_request.commits_url }}"
102-
- name: "Upload Ruby client"
103-
uses: "actions/upload-artifact@v7"
104-
with:
105-
name: "ruby-client.tar"
106-
path: |
107-
pulp_rust/rust-ruby-client.tar
108-
if-no-files-found: "error"
109-
retention-days: 5
110-
overwrite: true
11193
...

.github/workflows/publish.yml

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -37,78 +37,12 @@ jobs:
3737

3838
- name: "Publish package to PyPI"
3939
uses: pypa/gh-action-pypi-publish@release/v1
40-
publish-python-bindings:
41-
runs-on: "ubuntu-latest"
42-
needs:
43-
- "build"
44-
environment:
45-
name: "pypi"
46-
permissions:
47-
id-token: "write"
48-
49-
steps:
50-
- uses: "actions/checkout@v6"
51-
with:
52-
fetch-depth: 1
53-
path: "pulp_rust"
54-
55-
- name: "Download Python client"
56-
uses: "actions/download-artifact@v8"
57-
with:
58-
name: "python-client.tar"
59-
path: "pulp_rust/"
60-
61-
- name: "Untar python client packages"
62-
run: |
63-
tar -xvf rust-python-client.tar
64-
65-
- name: "Publish client to pypi"
66-
uses: "pypa/gh-action-pypi-publish@release/v1"
67-
with:
68-
packages-dir: "pulp_rust/dist/"
69-
publish-ruby-bindings:
70-
runs-on: "ubuntu-latest"
71-
needs:
72-
- "build"
73-
environment:
74-
name: "rubygems"
75-
permissions:
76-
id-token: "write"
77-
78-
steps:
79-
- uses: "actions/checkout@v6"
80-
with:
81-
fetch-depth: 1
82-
path: "pulp_rust"
83-
84-
- name: "Download Ruby client"
85-
uses: "actions/download-artifact@v8"
86-
with:
87-
name: "ruby-client.tar"
88-
path: "pulp_rust/"
89-
90-
- name: "Untar Ruby client packages"
91-
run: |
92-
tar -xvf rust-ruby-client.tar
93-
94-
- uses: ruby/setup-ruby@v1
95-
with:
96-
ruby-version: "2.6"
97-
98-
- name: "Set RubyGems Credentials"
99-
uses: "rubygems/configure-rubygems-credentials@v1.0.0"
100-
101-
- name: "Publish client to RubyGems"
102-
run: |
103-
gem push "pulp_rust_client-${{ github.ref_name }}.gem"
10440

10541
create-gh-release:
10642
runs-on: "ubuntu-latest"
10743
needs:
10844
- "build"
10945
- "publish-package"
110-
- "publish-python-bindings"
111-
- "publish-ruby-bindings"
11246

11347
permissions:
11448
contents: "write"

0 commit comments

Comments
 (0)