Skip to content

Commit 6125410

Browse files
authored
Updated workflows to pulumi-labs/ci-mgmt (#512)
* Updated workflows to pulumi-labs/ci-mgmt
1 parent 862c7a5 commit 6125410

25 files changed

+88
-95
lines changed

.config/mise.test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi-labs/ci-mgmt
22

33
# Overrides for test workflows -- currently empty.

.config/mise.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi-labs/ci-mgmt
22
# You can create your own root-level mise.toml file to override/augment this. See https://mise.jdx.dev/configuration.html
33

44
[env]
@@ -8,27 +8,27 @@ PULUMI_HOME = "{{config_root}}/.pulumi"
88
[tools]
99

1010
# Runtimes
11-
# TODO: we may not need 'get_env' once https://github.com/jdx/mise/discussions/6339 is fixed
12-
go = "{{ get_env(name='GO_VERSION_MISE', default='latest') }}"
11+
go = "{{ env.GO_VERSION_MISE }}"
1312
node = '20.19.5'
1413
python = '3.11.8'
1514
"vfox:version-fox/vfox-dotnet" = "8.0.20" # vfox backend doesn't work on Windows, gives "error converting Lua table to PreInstall (no version returned from vfox plugin)" https://github.com/jdx/mise/discussions/5876 https://github.com/jdx/mise/discussions/5550
1615
# Corretto version used as Java SE/OpenJDK version no longer offered
1716
java = 'corretto-11'
1817

1918
# Executable tools
20-
pulumi = "{{ get_env(name='PULUMI_VERSION_MISE', default='latest') }}"
19+
"github:pulumi/pulumi" = "{{ env.PULUMI_VERSION_MISE }}"
2120
"github:pulumi/pulumictl" = '0.0.50'
2221
"github:pulumi/schema-tools" = "0.6.0"
2322
"aqua:gradle/gradle-distributions" = '7.6.6'
24-
golangci-lint = "1.64.8" # See note about about overrides if you need to customize this.
23+
golangci-lint = "2.5.0" # See note about about overrides if you need to customize this.
2524
"npm:yarn" = "1.22.22"
2625

2726
[settings]
2827
experimental = true # Required for Go binaries (e.g. pulumictl).
2928
lockfile = false
3029
http_retries = 3
3130
pin = true # `mise use` should pin versions instead of defaulting to latest.
31+
fetch_remote_versions_cache = "24h" # Mise queries versions even if they're pinned to confirm they exist. Reduce GitHub API calls by doing that less often.
3232

3333
[plugins]
3434
vfox-pulumi = "https://github.com/pulumi/vfox-pulumi"

.devcontainer/Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM jetpackio/devbox:latest@sha256:293d6d0a33205e88550198835e68bcff65a2e33d143857ad92c6c888e6a75ad7
2-
3-
# Installing your devbox project
4-
WORKDIR /code
5-
COPY devbox.json devbox.json
6-
COPY devbox.lock devbox.lock
7-
RUN sudo chown -R "${DEVBOX_USER}:${DEVBOX_USER}" /code
1+
FROM mcr.microsoft.com/devcontainers/base:ubuntu
82

3+
# Install mise
4+
RUN curl https://mise.run | sh
5+
ENV PATH="/root/.local/bin:${PATH}"
96

10-
RUN devbox run -- echo "Installed Packages."
7+
# Setup mise
8+
WORKDIR /code
9+
RUN mise install
1110

12-
RUN devbox shellenv --init-hook >> ~/.profile
11+
# Activate mise in shell
12+
RUN echo 'eval "$(mise activate bash)"' >> ~/.bashrc

.devcontainer/devcontainer.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
{
2-
"name": "Devbox Remote Container",
2+
"name": "Provider Dev Container",
33
"build": {
44
"dockerfile": "./Dockerfile",
55
"context": ".."
66
},
77
"customizations": {
88
"vscode": {
99
"settings": {},
10-
"extensions": [
11-
"jetpack-io.devbox"
12-
]
10+
"extensions": []
1311
}
1412
},
15-
"remoteUser": "devbox"
13+
"remoteUser": "root"
1614
}

.github/workflows/build_provider.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi-labs/ci-mgmt
22

33
name: "Build Provider"
44

@@ -49,14 +49,13 @@ jobs:
4949
- uses: MOZGIII/install-ldid-action@d5ab465f3a66a4d60a59882b935eb30e18e8d043 # v1
5050
with:
5151
tag: v2.1.5-procursus2
52-
- name: Setup mise
53-
uses: blampe/mise-action@blampe/plugins
52+
- name: Install mise
53+
uses: jdx/mise-action@c1a019b8d2586943b4dbebc456323b516910e310
5454
env:
5555
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
5656
with:
57-
version: 2026.1.1
57+
version: 2026.2.20
5858
github_token: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_TOKEN || steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
59-
plugin_install: https://github.com/pulumi/vfox-pulumi
6059
# only saving the cache in the prerequisites job
6160
cache_save: false
6261
# Based on https://github.com/actions/cache/blob/main/examples.md#go---modules

.github/workflows/build_sdk.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi-labs/ci-mgmt
22

33
name: "Build SDK"
44

@@ -48,14 +48,13 @@ jobs:
4848
path: |
4949
.pulumi/examples-cache
5050
key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }}
51-
- name: Setup mise
52-
uses: blampe/mise-action@blampe/plugins
51+
- name: Install mise
52+
uses: jdx/mise-action@c1a019b8d2586943b4dbebc456323b516910e310
5353
env:
5454
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
5555
with:
56-
version: 2026.1.1
56+
version: 2026.2.20
5757
github_token: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_TOKEN || steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
58-
plugin_install: https://github.com/pulumi/vfox-pulumi
5958
# only saving the cache in the prerequisites job
6059
cache_save: false
6160
- name: Setup Go Cache

.github/workflows/license.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi-labs/ci-mgmt
22

33
name: license_check
44

@@ -28,14 +28,13 @@ jobs:
2828
- id: esc-secrets
2929
name: Map environment to ESC outputs
3030
uses: ./.github/actions/esc-action
31-
- name: Setup mise
32-
uses: blampe/mise-action@blampe/plugins
31+
- name: Install mise
32+
uses: jdx/mise-action@c1a019b8d2586943b4dbebc456323b516910e310
3333
env:
3434
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
3535
with:
36-
version: 2026.1.1
36+
version: 2026.2.20
3737
github_token: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_TOKEN || steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
38-
plugin_install: https://github.com/pulumi/vfox-pulumi
3938
# only saving the cache in the prerequisites job
4039
cache_save: false
4140
- run: make prepare_local_workspace

.github/workflows/lint.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi-labs/ci-mgmt
22

33
name: lint
44

@@ -28,14 +28,13 @@ jobs:
2828
- id: esc-secrets
2929
name: Map environment to ESC outputs
3030
uses: ./.github/actions/esc-action
31-
- name: Setup mise
32-
uses: blampe/mise-action@blampe/plugins
31+
- name: Install mise
32+
uses: jdx/mise-action@c1a019b8d2586943b4dbebc456323b516910e310
3333
env:
3434
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
3535
with:
36-
version: 2026.1.1
36+
version: 2026.2.20
3737
github_token: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_TOKEN || steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
38-
plugin_install: https://github.com/pulumi/vfox-pulumi
3938
cache_save: false # A different job handles caching our tools.
4039
- name: disarm go:embed directives to enable lint
4140
continue-on-error: true # this fails if there are no go:embed directives

.github/workflows/main-post-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi-labs/ci-mgmt
22

33
name: "Main post-build"
44

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi-labs/ci-mgmt
22

33
env:
44
PULUMI_API: https://api.pulumi-staging.io

0 commit comments

Comments
 (0)