Skip to content

Commit

Permalink
Update GitHub Actions workflows. (#1630)
Browse files Browse the repository at this point in the history
This PR was automatically generated by the
update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt
repo, from commit 030556b6eb1898595f71f73dd5355c8fc2cfcff0.
  • Loading branch information
pulumi-bot authored Feb 6, 2025
1 parent b4aabc8 commit 84a27d7
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM jetpackio/devbox:latest

# Installing your devbox project
WORKDIR /code
COPY devbox.json devbox.json
COPY devbox.lock devbox.lock
RUN sudo chown -R "${DEVBOX_USER}:${DEVBOX_USER}" /code


RUN devbox run -- echo "Installed Packages."

RUN devbox shellenv --init-hook >> ~/.profile
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Devbox Remote Container",
"build": {
"dockerfile": "./Dockerfile",
"context": ".."
},
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"jetpack-io.devbox"
]
}
},
"remoteUser": "devbox"
}
2 changes: 1 addition & 1 deletion .github/actions/setup-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ runs:

- name: Setup DotNet
if: inputs.tools == 'all' || contains(inputs.tools, 'dotnet')
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0
with:
dotnet-version: 6.0.x

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/main-post-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt

name: "Main post-build"

on:
workflow_call:
inputs:
version:
type: string
required: true

jobs:
post_build:
name: post_build
runs-on: ubuntu-latest
if: false
steps:
- name: Placeholder
shell: bash
run: echo "This is a placeholder job to ensure that the post_build job is always present"
9 changes: 8 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@ jobs:
with:
version: ${{ needs.prerequisites.outputs.version }}


post_build:
name: post_build
needs: prerequisites
uses: ./.github/workflows/main-post-build.yml
secrets: inherit
with:
version: ${{ needs.prerequisites.outputs.version }}

lint:
name: lint
uses: ./.github/workflows/lint.yml
Expand Down
1 change: 0 additions & 1 deletion .upgrade-config.yml

This file was deleted.

22 changes: 22 additions & 0 deletions devbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"packages": [
"yarn@latest",
"pulumictl@latest",
"[email protected].",
"nodejs@20.",
"[email protected]",
"[email protected].",
"[email protected]",
"curl@8"
],
"shell": {
"init_hook": [
"export PATH=\"$(pwd)/bin/:$PATH\""
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}
1 change: 1 addition & 0 deletions devbox.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}

0 comments on commit 84a27d7

Please sign in to comment.