Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cargo idempotent #2

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Make cargo idempotent #2

merged 2 commits into from
Nov 19, 2024

Conversation

criccomini
Copy link
Contributor

No description provided.

Turns out you can't modify org members using a Github action's GITHUB_TOKEN even
if you have it set to `write-all`. You've got to use a personal access token.
I'm using mine for now. If I'm ever removed from the org, the GH membership
management will start failing through Pulumi.
@criccomini criccomini merged commit 1326169 into main Nov 19, 2024
2 checks passed
@criccomini criccomini deleted the make-cargo-idempotent branch November 19, 2024 01:35
Copy link

🍹 preview on slatedb-pulumi/slatedb/slatedb-pulumi/prod

Pulumi report
   Previewing update (prod)

View Live: https://app.pulumi.com/slatedb/slatedb-pulumi/prod/previews/30cc288b-7178-4c0a-9d5e-77005d62c48d

@ Previewing update..........
   pulumi:pulumi:Stack slatedb-pulumi-prod  Creating virtual environment...
@ Previewing update......
   pulumi:pulumi:Stack slatedb-pulumi-prod  Finished creating virtual environment
   pulumi:pulumi:Stack slatedb-pulumi-prod  Updating pip, setuptools, and wheel in virtual environment...
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod  Requirement already satisfied: pip in ./venv/lib/python3.12/site-packages (24.2)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting pip
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading pip-24.3.1-py3-none-any.whl.metadata (3.7 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting setuptools
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading setuptools-75.5.0-py3-none-any.whl.metadata (6.8 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting wheel
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading wheel-0.45.0-py3-none-any.whl.metadata (2.3 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading pip-24.3.1-py3-none-any.whl (1.8 MB)
   pulumi:pulumi:Stack slatedb-pulumi-prod     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 61.5 MB/s eta 0:00:00
   pulumi:pulumi:Stack slatedb-pulumi-prod  
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading setuptools-75.5.0-py3-none-any.whl (1.2 MB)
   pulumi:pulumi:Stack slatedb-pulumi-prod     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 121.4 MB/s eta 0:00:00
   pulumi:pulumi:Stack slatedb-pulumi-prod  
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading wheel-0.45.0-py3-none-any.whl (72 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Installing collected packages: wheel, setuptools, pip
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod    Attempting uninstall: pip
   pulumi:pulumi:Stack slatedb-pulumi-prod      Found existing installation: pip 24.2
   pulumi:pulumi:Stack slatedb-pulumi-prod      Uninstalling pip-24.2:
   pulumi:pulumi:Stack slatedb-pulumi-prod        Successfully uninstalled pip-24.2
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod  Successfully installed pip-24.3.1 setuptools-75.5.0 wheel-0.45.0
   pulumi:pulumi:Stack slatedb-pulumi-prod  Finished updating
   pulumi:pulumi:Stack slatedb-pulumi-prod  Installing dependencies in virtual environment...
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod  Processing ./sdks/discord (from -r requirements.txt (line 10))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Installing build dependencies: started
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod    Installing build dependencies: finished with status 'done'
   pulumi:pulumi:Stack slatedb-pulumi-prod    Getting requirements to build wheel: started
   pulumi:pulumi:Stack slatedb-pulumi-prod    Getting requirements to build wheel: finished with status 'done'
   pulumi:pulumi:Stack slatedb-pulumi-prod    Preparing metadata (pyproject.toml): started
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod    Preparing metadata (pyproject.toml): finished with status 'done'
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting Arpeggio==2.0.2 (from -r requirements.txt (line 1))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading Arpeggio-2.0.2-py2.py3-none-any.whl.metadata (2.4 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting attrs==24.2.0 (from -r requirements.txt (line 2))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting debugpy==1.8.8 (from -r requirements.txt (line 3))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading debugpy-1.8.8-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.1 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting dill==0.3.9 (from -r requirements.txt (line 4))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading dill-0.3.9-py3-none-any.whl.metadata (10 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting grpcio==1.66.2 (from -r requirements.txt (line 5))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading grpcio-1.66.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.9 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting parver==0.5 (from -r requirements.txt (line 6))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading parver-0.5-py3-none-any.whl.metadata (2.7 kB)
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting protobuf==4.25.5 (from -r requirements.txt (line 7))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting pulumi==3.138.0 (from -r requirements.txt (line 8))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading pulumi-3.138.0-py3-none-any.whl.metadata (12 kB)
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting pulumi_command==1.0.1 (from -r requirements.txt (line 9))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading pulumi_command-1.0.1-py3-none-any.whl.metadata (16 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting pulumi_github==6.3.2 (from -r requirements.txt (line 11))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading pulumi_github-6.3.2-py3-none-any.whl.metadata (2.9 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting PyYAML==6.0.2 (from -r requirements.txt (line 12))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting semver==2.13.0 (from -r requirements.txt (line 13))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading semver-2.13.0-py2.py3-none-any.whl.metadata (5.0 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting setuptools==75.4.0 (from -r requirements.txt (line 14))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading setuptools-75.4.0-py3-none-any.whl.metadata (6.8 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Collecting six==1.16.0 (from -r requirements.txt (line 15))
   pulumi:pulumi:Stack slatedb-pulumi-prod    Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Requirement already satisfied: wheel==0.45.0 in ./venv/lib/python3.12/site-packages (from -r requirements.txt (line 16)) (0.45.0)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading Arpeggio-2.0.2-py2.py3-none-any.whl (55 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading attrs-24.2.0-py3-none-any.whl (63 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading debugpy-1.8.8-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB)
   pulumi:pulumi:Stack slatedb-pulumi-prod     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 85.5 MB/s eta 0:00:00
   pulumi:pulumi:Stack slatedb-pulumi-prod  
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading dill-0.3.9-py3-none-any.whl (119 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading grpcio-1.66.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB)
   pulumi:pulumi:Stack slatedb-pulumi-prod     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.8/5.8 MB 125.5 MB/s eta 0:00:00
   pulumi:pulumi:Stack slatedb-pulumi-prod  
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading parver-0.5-py3-none-any.whl (15 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading pulumi-3.138.0-py3-none-any.whl (287 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading pulumi_command-1.0.1-py3-none-any.whl (34 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading pulumi_github-6.3.2-py3-none-any.whl (357 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (767 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 767.5/767.5 kB 83.8 MB/s eta 0:00:00
   pulumi:pulumi:Stack slatedb-pulumi-prod  
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading setuptools-75.4.0-py3-none-any.whl (1.2 MB)
   pulumi:pulumi:Stack slatedb-pulumi-prod     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 98.1 MB/s eta 0:00:00
   pulumi:pulumi:Stack slatedb-pulumi-prod  
   pulumi:pulumi:Stack slatedb-pulumi-prod  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
   pulumi:pulumi:Stack slatedb-pulumi-prod  Building wheels for collected packages: pulumi_discord
   pulumi:pulumi:Stack slatedb-pulumi-prod    Building wheel for pulumi_discord (pyproject.toml): started
@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod    Building wheel for pulumi_discord (pyproject.toml): finished with status 'done'
   pulumi:pulumi:Stack slatedb-pulumi-prod    Created wheel for pulumi_discord: filename=pulumi_discord-1.9.0-py3-none-any.whl size=64195 sha256=96fe7b4932d7efd006d675a6cceacf7e1be5b94187d9eff9447d709fdf1a864c
   pulumi:pulumi:Stack slatedb-pulumi-prod    Stored in directory: /tmp/pip-ephem-wheel-cache-0mq0apzj/wheels/a1/ef/3b/8a7c6c2de301912d12d82920faec2c6eeca58c57ea6f77cf8f
   pulumi:pulumi:Stack slatedb-pulumi-prod  Successfully built pulumi_discord
   pulumi:pulumi:Stack slatedb-pulumi-prod  Installing collected packages: Arpeggio, six, setuptools, semver, PyYAML, protobuf, grpcio, dill, debugpy, attrs, pulumi, parver, pulumi_github, pulumi_discord, pulumi_command
   pulumi:pulumi:Stack slatedb-pulumi-prod    Attempting uninstall: setuptools
   pulumi:pulumi:Stack slatedb-pulumi-prod      Found existing installation: setuptools 75.5.0
   pulumi:pulumi:Stack slatedb-pulumi-prod      Uninstalling setuptools-75.5.0:
   pulumi:pulumi:Stack slatedb-pulumi-prod        Successfully uninstalled setuptools-75.5.0
@ Previewing update......
   pulumi:pulumi:Stack slatedb-pulumi-prod  Successfully installed Arpeggio-2.0.2 PyYAML-6.0.2 attrs-24.2.0 debugpy-1.8.8 dill-0.3.9 grpcio-1.66.2 parver-0.5 protobuf-4.25.5 pulumi-3.138.0 pulumi_command-1.0.1 pulumi_discord-1.9.0 pulumi_github-6.3.2 semver-2.13.0 setuptools-75.4.0 six-1.16.0
   pulumi:pulumi:Stack slatedb-pulumi-prod  Finished installing dependencies
@ Previewing update....
Downloading plugin terraform-provider-0.3.0: starting
Downloading plugin command-1.0.1: starting
Downloading plugin github-6.3.2: starting
Downloading plugin command-1.0.1: done
Downloading plugin github-6.3.2: done
Downloading plugin terraform-provider-0.3.0: done
Installing plugin command-1.0.1: starting
Installing plugin github-6.3.2: starting
Installing plugin terraform-provider-0.3.0: starting
Installing plugin command-1.0.1: done
Installing plugin github-6.3.2: done
Installing plugin terraform-provider-0.3.0: done

@ Previewing update....
   pulumi:pulumi:Stack slatedb-pulumi-prod running Finished installing dependencies
@ Previewing update....
+  github:index:Membership add_github_org_owner_criccomini create 
+  discord:index:MemberRoles assign_discord_committer_role_839536195603922974 create 
+  command:local:Command add_crate_owner_criccomini_fail-parallel create 
+  command:local:Command add_crate_owner_criccomini_slatedb create 
+  github:index:RepositoryCollaborator add_github_repo_owner_slatedb-go_naveen246 create 
   pulumi:pulumi:Stack slatedb-pulumi-prod  
Resources:
   + 5 to create
   1 unchanged

   

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant