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

rollout gzipping of binaries as part of publish pipeline #17

Merged
merged 1 commit into from Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 14 additions & 4 deletions .github/workflows/master.yml
Expand Up @@ -53,8 +53,11 @@ jobs:
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin
- name: Untar provider binaries
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin
- name: Restore binary perms
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
-exec chmod +x {} \;
Expand Down Expand Up @@ -185,11 +188,15 @@ jobs:
uses: pulumi/action-install-pulumi-cli@releases/v1
- name: Build tfgen & provider binaries
run: make provider
- name: Tar provider binaries
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER
}}
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
path: ${{ github.workspace }}/bin
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -346,8 +353,11 @@ jobs:
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin
- name: Untar provider binaries
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin
- name: Restore binary perms
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
-exec chmod +x {} \;
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/prerelease.yml
Expand Up @@ -53,8 +53,11 @@ jobs:
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin
- name: Untar provider binaries
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin
- name: Restore binary perms
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
-exec chmod +x {} \;
Expand Down Expand Up @@ -185,11 +188,15 @@ jobs:
uses: pulumi/action-install-pulumi-cli@releases/v1
- name: Build tfgen & provider binaries
run: make provider
- name: Tar provider binaries
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER
}}
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
path: ${{ github.workspace }}/bin
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -334,8 +341,11 @@ jobs:
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin
- name: Untar provider binaries
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin
- name: Restore binary perms
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
-exec chmod +x {} \;
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/pull-request.yml
Expand Up @@ -53,8 +53,11 @@ jobs:
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin
- name: Untar provider binaries
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin
- name: Restore binary perms
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
-exec chmod +x {} \;
Expand Down Expand Up @@ -185,11 +188,15 @@ jobs:
uses: pulumi/action-install-pulumi-cli@releases/v1
- name: Build tfgen & provider binaries
run: make provider
- name: Tar provider binaries
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER
}}
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
path: ${{ github.workspace }}/bin
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -237,8 +244,11 @@ jobs:
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin
- name: Untar provider binaries
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin
- name: Restore binary perms
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
-exec chmod +x {} \;
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -53,8 +53,11 @@ jobs:
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin
- name: Untar provider binaries
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin
- name: Restore binary perms
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
-exec chmod +x {} \;
Expand Down Expand Up @@ -198,11 +201,15 @@ jobs:
uses: pulumi/action-install-pulumi-cli@releases/v1
- name: Build tfgen & provider binaries
run: make provider
- name: Tar provider binaries
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER
}}
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
path: ${{ github.workspace }}/bin
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -354,8 +361,11 @@ jobs:
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
name: pulumi-${{ env.PROVIDER }}
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin
- name: Untar provider binaries
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace
}}/bin
- name: Restore binary perms
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
-exec chmod +x {} \;
Expand Down