Skip to content

Commit

Permalink
chore: [VIO-3010] Transition from jenkins to Github Actions
Browse files Browse the repository at this point in the history
This commit removes the `.jenkins` file, disabling builds through
Jenkins, in favor of Github Actions.
  • Loading branch information
AdamIsrael committed Jul 13, 2023
1 parent ff6f496 commit fd7511c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 18 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: build
on:
pull_request:
branches:
- develop
workflow_dispatch:

jobs:
image_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Checkout vapor-ware workflows
uses: actions/checkout@v3
with:
repository: vapor-ware/workflows
token: ${{ secrets.GITHUB_TOKEN }}
ref: main
path: vapor-ware-workflows

- uses: ./vapor-ware-workflows/.github/actions/build-pr-image
id: build-env
with:
REGISTRY: docker.io
BUILDERIMAGE: docker.io/library/python:3.9
SLIMIMAGE: docker.io/library/python:3.9-slim
DOCKERFILE: Dockerfile
USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
IMAGENAME: synse-server

- uses: ./vapor-ware-workflows/.github/actions/scan-image
id: scan-image
with:
image: ${{ steps.build-env.outputs.image-archive }}
fail-build: false
severity-cutoff: high
18 changes: 0 additions & 18 deletions .jenkins

This file was deleted.

0 comments on commit fd7511c

Please sign in to comment.