forked from TrueCloudLab/certificates
[actions] remove unused actions
This commit is contained in:
parent
95fa37fa0c
commit
8921a2e8bf
1 changed files with 0 additions and 142 deletions
142
.github/workflows/release.yml
vendored
142
.github/workflows/release.yml
vendored
|
@ -82,145 +82,3 @@ jobs:
|
|||
env:
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
# build_upload_aws_s3_binaries:
|
||||
# name: Build & Upload AWS S3 Binaries
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: create_release
|
||||
# if: needs.create_release.outputs.is_prerelease == 'false'
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Setup Go
|
||||
# uses: actions/setup-go@v2
|
||||
# with:
|
||||
# go-version: '^1.15.6'
|
||||
# - name: Build
|
||||
# id: build
|
||||
# run: |
|
||||
# PATH=$PATH:/usr/local/go/bin:/home/admin/go/bin
|
||||
# make -j1 binary-linux binary-darwin binary-windows
|
||||
# mkdir -p ./.releases
|
||||
# cp ./output/binary/linux/bin/step ./.releases/step-linux-${{ needs.create_release.outputs.version }}
|
||||
# cp ./output/binary/linux/bin/step ./.releases/step-linux-latest-integration
|
||||
# cp ./output/binary/darwin/bin/step ./.releases/step-darwin-${{ needs.create_release.outputs.version }}
|
||||
# cp ./output/binary/windows/bin/step ./.releases/step-windows-${{ needs.create_release.outputs.version }}.exe
|
||||
# - name: Upload s3
|
||||
# id: upload-s3
|
||||
# uses: jakejarvis/s3-sync-action@v0.5.1
|
||||
# with:
|
||||
# args: --acl public-read --follow-symlinks
|
||||
# env:
|
||||
# AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
|
||||
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
# AWS_REGION: us-east-1
|
||||
# SOURCE_DIR: ./.releases
|
||||
#
|
||||
# upload_windows_installer:
|
||||
# name: Upload Windows Installer
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: create_release
|
||||
# if: needs.create_release.outputs.is_prerelease == 'false'
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Download Existing Installer
|
||||
# id: download
|
||||
# uses: prewk/s3-cp-action@v0.1.1
|
||||
# env:
|
||||
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
# AWS_REGION: us-east-1
|
||||
# SOURCE: s3://${{ secrets.AWS_s3_BUCKET }}/install-step.ps1
|
||||
# DEST: ./install-step.ps1
|
||||
# - name: Modify Installer
|
||||
# id: modify
|
||||
# run: sed -i -e "s~step-windows-.*.exe~step-windows-foo.exe~g" ./install-step.ps1
|
||||
# - name: Upload and Overwrite
|
||||
# id: upload
|
||||
# uses: prewk/s3-cp-action@v0.1.1
|
||||
# with:
|
||||
# args: --acl public-read --follow-symlinks
|
||||
# env:
|
||||
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
# AWS_REGION: us-east-1
|
||||
# DEST: s3://${{ secrets.AWS_s3_BUCKET }}/install-step.ps1
|
||||
# SOURCE: ./install-step.ps1
|
||||
#
|
||||
# update_arch:
|
||||
# name: Update Arch Linux Packager
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: [create_release, build_upload_github_assets]
|
||||
# if: needs.create_release.outputs.is_prerelease == 'false'
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Calculate New SHAs
|
||||
# id: calculate-shas
|
||||
# run: |
|
||||
# PKG=step-cli-bin
|
||||
# VVER=${{ needs.create_release.outputs.vversion }}
|
||||
# VER=${{ needs.create_release.outputs.version }}
|
||||
# ARM64_URL="https://github.com/smallstep/cli/releases/download/${VVER}/step_linux_${VER}_arm64.tar.gz"
|
||||
# AMD64_URL="https://github.com/smallstep/cli/releases/download/${VVER}/step_linux_${VER}_amd64.tar.gz"
|
||||
# # Get arm64 SHA for step-cli
|
||||
# curl -o "${PKG}-arm64.tar.gz" -J -L -s --show-error -f "${ARM64_URL}"
|
||||
# ARM64_SHA="$(shasum -a 256 "${PKG}-arm64.tar.gz" | awk '{printf $1}')"
|
||||
# # Get amd64 SHA for step-cli
|
||||
# curl -o "${PKG}-amd64.tar.gz" -J -L -s --show-error -f "${AMD64_URL}"
|
||||
# AMD64_SHA="$(shasum -a 256 "${PKG}-amd64.tar.gz" | awk '{printf $1}')"
|
||||
# # Clone arch linux step-cli-bin repo
|
||||
# echo "${{ secrets.ARCH_SSH_KEY }}" > /tmp/ssh_arch_key && chmod 0400 /tmp/ssh_arch_key
|
||||
# ssh-agent bash -c 'ssh-add /tmp/ssh_arch_key; GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git clone ssh://aur@aur.archlinux.org/step-cli-bin.git'
|
||||
# cd step-cli-bin
|
||||
# # Modify values in files
|
||||
# sed -i -e "s/^pkgver=.*/pkgver=${VER}/" "./PKGBUILD"
|
||||
# sed -i -e "s/^sha256sums_aarch64=.*/sha256sums_aarch64=(\"${ARM64_SHA}\")/" "./PKGBUILD"
|
||||
# sed -i -e "s/^sha256sums_x86_64=.*/sha256sums_x86_64=(\"${AMD64_SHA}\")/" "./PKGBUILD"
|
||||
# - name: Makepkg Build and Check
|
||||
# id: makepkg
|
||||
# uses: smallstep/pkgbuild-action@v1.0.2
|
||||
# with:
|
||||
# pkgdir: ./step-cli-bin
|
||||
# - name: Update ARCH Repo
|
||||
# id: update
|
||||
# run: |
|
||||
# # Git commit and push
|
||||
# cd ./step-cli-bin
|
||||
# git add "./PKGBUILD" "./.SRCINFO"
|
||||
# git commit -m "Update to ${{ needs.create_release.outputs.vversion }}"
|
||||
# ssh-agent bash -c 'ssh-add /tmp/ssh_arch_key; GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push origin HEAD:master'
|
||||
#
|
||||
# update_reference_docs:
|
||||
# name: Update Reference Docs
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: create_release
|
||||
# if: needs.create_release.outputs.is_prerelease == 'false'
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Setup Go
|
||||
# uses: actions/setup-go@v2
|
||||
# with:
|
||||
# go-version: '^1.15.6'
|
||||
# - name: Build
|
||||
# id: build
|
||||
# run: make build
|
||||
# - name: Checkout Docs
|
||||
# uses: actions/checkout@master
|
||||
# with:
|
||||
# repository: smallstep/docs
|
||||
# token: ${{ secrets.PAT }}
|
||||
# path: './docs'
|
||||
# - name: Update Reference
|
||||
# id: update_refrence
|
||||
# run: ./bin/step help --markdown ./docs/step-cli/reference
|
||||
# - name: Push changes
|
||||
# uses: ad-m/github-push-action@v0.6.0
|
||||
# with:
|
||||
# github_token: ${{ secrets.PAT }}
|
||||
# branch: 'master'
|
||||
# directory: './docs'
|
||||
# repository: 'smallstep/docs'
|
||||
|
|
Loading…
Reference in a new issue