Skip to content

Pin dependencies #234

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/add_new_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ jobs:
secret/data/github/repo/${{ github.repository }}/github/app-credentials privateKey | PRIVATE_KEY

- name: Create App Token
uses: actions/create-github-app-token@v1
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1
id: app-token
with:
app-id: ${{ env.APP_ID }}
private-key: ${{ env.PRIVATE_KEY }}

- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
token: ${{ steps.app-token.outputs.token }}

- uses: actions/setup-python@v5
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.10'
cache: 'pip'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: rancher/dapper:v0.6.0
image: rancher/dapper:v0.6.0@sha256:72aac90cc3d637bd1f4a6792406c35ba01033287eba255d59e08622ad41f6a5d
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Validate
run: dapper validate

Expand All @@ -24,13 +24,13 @@ jobs:
generated-tag: ${{ steps.generate_tag.outputs.generated-tag }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Run tests
id: generate_tag
run: |
tag=$(bash scripts/generate-release-tag)
echo "generated-tag=$tag" >> $GITHUB_OUTPUT
- uses: actions/[email protected]
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Add tag to version file
run: |
echo "{\"version\": \"${{ needs.tag.outputs.generated-tag }}\"}" > dist/VERSION
Expand All @@ -73,11 +73,11 @@ jobs:
secrets: |
secret/data/github/repo/${{ github.repository }}/google-auth/rancher/credentials token | GOOGLE_AUTH
- name: Authenticate with Google Cloud
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f' # v2
with:
credentials_json: '${{ env.GOOGLE_AUTH }}'
- name: Upload to Google Cloud Storage
uses: google-github-actions/upload-cloud-storage@v2
uses: google-github-actions/upload-cloud-storage@386ab77f37fdf51c0e38b3d229fad286861cc0d0 # v2
with:
path: dist/
destination: releases.rancher.com/install-docker
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: rancher/dapper:v0.6.0
image: rancher/dapper:v0.6.0@sha256:72aac90cc3d637bd1f4a6792406c35ba01033287eba255d59e08622ad41f6a5d
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Validate
run: dapper validate

Expand All @@ -30,10 +30,10 @@ jobs:
timeout-minutes: 90
if: github.event_name == 'pull_request'
container:
image: rancher/dapper:v0.6.0
image: rancher/dapper:v0.6.0@sha256:72aac90cc3d637bd1f4a6792406c35ba01033287eba255d59e08622ad41f6a5d
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Test
run: dapper test

Expand All @@ -47,7 +47,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Add commit to version file
run: |
echo "{\"version\": \"${{ github.sha }}\"}" > dist/VERSION
Expand All @@ -57,11 +57,11 @@ jobs:
secrets: |
secret/data/github/repo/${{ github.repository }}/google-auth/rancher/credentials token | GOOGLE_AUTH
- name: Authenticate with Google Cloud
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f' # v2
with:
credentials_json: '${{ env.GOOGLE_AUTH }}'
- name: Upload to Google Cloud Storage
uses: google-github-actions/upload-cloud-storage@v2
uses: google-github-actions/upload-cloud-storage@386ab77f37fdf51c0e38b3d229fad286861cc0d0 # v2
with:
path: dist/
destination: releases.rancher.com/install-docker-dev
Expand Down
Loading