Skip to content

Commit

Permalink
moved job to build code-nightly from werft to github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Wulf Thimm authored and roboquat committed Nov 29, 2021
1 parent 9751e42 commit 83118bf
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 62 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/code-nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Code-Nightly

on:
schedule:
- cron: "0 0 * * *"

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: downlaod leeway
run: cd /usr/bin && curl -fsSL https://github.com/gitpod-io/leeway/releases/download/v0.2.8/leeway_0.2.8_Linux_x86_64.tar.gz | sudo tar xz
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@master
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
- run: |
gcloud auth configure-docker --quiet
export LEEWAY_WORKSPACE_ROOT=$(pwd)
headCommit=$(curl -H 'Accept: application/vnd.github.VERSION.sha' https://api.github.com/repos/gitpod-io/openvscode-server/commits/gp-code/main)
cd components/ide/code
leeway build -Dversion=nightly -DimageRepoBase=eu.gcr.io/gitpod-core-dev/build -DcodeCommit=$headCommit .:docker
62 changes: 0 additions & 62 deletions .werft/code-nightly.yaml

This file was deleted.

0 comments on commit 83118bf

Please sign in to comment.