mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 17:49:09 +00:00
strip out bazel, grpc
This commit is contained in:
parent
c8adad6c81
commit
1dd910a5f6
290 changed files with 22037 additions and 32177 deletions
48
.github/workflows/dev-container.yml
vendored
48
.github/workflows/dev-container.yml
vendored
|
@ -1,48 +0,0 @@
|
|||
name: Build Dev Container
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- .devcontainer/*
|
||||
- hack/dev-container
|
||||
- WORKSPACE
|
||||
- .github/workflows/dev-container.yml
|
||||
schedule:
|
||||
- cron: '0 12 * * 2' # 12 noon every tuesday
|
||||
|
||||
jobs:
|
||||
dev_container_build:
|
||||
name: Bazel Build (Dev Container)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Mount bazel cache
|
||||
uses: actions/cache@v2.1.2
|
||||
with:
|
||||
path: |
|
||||
/home/runner/.cache/bazel
|
||||
/home/runner/.cache/bazel-disk-cache
|
||||
key: bazel
|
||||
|
||||
- name: Install bazelisk
|
||||
run: |
|
||||
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.1.0/bazelisk-linux-amd64"
|
||||
mkdir -p "${GITHUB_WORKSPACE}/bin/"
|
||||
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel"
|
||||
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
|
||||
|
||||
- name: Build & Publish Dev Container
|
||||
run: |
|
||||
echo ${{github.token}} | docker login -u ${{github.actor}} --password-stdin docker.pkg.github.com
|
||||
"${GITHUB_WORKSPACE}/bin/bazel" run \
|
||||
-c opt \
|
||||
--stamp \
|
||||
--workspace_status_command hack/workspace_status.sh \
|
||||
//hack/dev-container:publish-dev-container
|
||||
|
||||
echo ${{secrets.DOCKER_PASSWORD}} | docker login -u ${{secrets.DOCKER_USERNAME}} --password-stdin
|
||||
"${GITHUB_WORKSPACE}/bin/bazel" run \
|
||||
-c opt \
|
||||
--stamp \
|
||||
--workspace_status_command hack/workspace_status.sh \
|
||||
//hack/dev-container:publish-dev-container-dockerhub
|
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
@ -1,22 +0,0 @@
|
|||
name: Release Workflow
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
commit_release_tag:
|
||||
name: Commit Roleypoly Release Tag
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
||||
|
||||
- name: Push changes
|
||||
id: push
|
||||
run: |
|
||||
TAG=$(date +v%Y%m%d-%H%M%S)
|
||||
git config --local user.email "gh-automation@roleypoly.com"
|
||||
git config --local user.name "Roleypoly Release Automation"
|
||||
git tag $TAG
|
||||
git push origin $TAG
|
||||
echo "::set-output release_tag=${TAG}"
|
Loading…
Add table
Add a link
Reference in a new issue