Skip to content

Commit

Permalink
Add GHA for tagging/creating releases and stale issues/PRs (#788)
Browse files Browse the repository at this point in the history
* Add GHA for tagging/creating releases and stale issues/PRs

* Move build process to master
  • Loading branch information
gab-arrobo authored Mar 27, 2024
1 parent 52f3c85 commit 0fbb591
Show file tree
Hide file tree
Showing 6 changed files with 234 additions and 185 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/delete-untagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
owner: omec-project
name: upf-epc/${{ matrix.package }}
# NOTE: using Personal Access Token
token: ${{ secrets.CR_PAT }}
token: ${{ secrets.GH_OMEC_PAT }}
untagged-keep-latest: 1
98 changes: 0 additions & 98 deletions .github/workflows/docker.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,25 @@ on:
- master

jobs:
build:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- name: Generate protobuf
run: make pb

- name: Build the BESS-UPF Docker image
run: DOCKER_TARGETS=bess make docker-build

- name: Build the PFCP Agent Docker image
run: DOCKER_TARGETS=pfcpiface make docker-build

lint:
name: lint
runs-on: ubuntu-latest
Expand Down
73 changes: 0 additions & 73 deletions .github/workflows/pull-request.yml

This file was deleted.

Loading

0 comments on commit 0fbb591

Please sign in to comment.