Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow to verify compatibility with GpsApp tutorial #809

Merged
merged 50 commits into from
Jul 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
366f93f
Create tutorial-support.yml
r9-pena Jun 22, 2021
3ae4682
Update tutorial-support.yml
r9-pena Jun 25, 2021
bc050af
Merge branch 'nasa:devel' into devel
r9-pena Jun 28, 2021
9a6e941
Implementation of tutorial workflow
r9-pena Jun 28, 2021
4078ce3
typo in repo address
r9-pena Jun 28, 2021
b0b3806
Added missing github action file
r9-pena Jun 28, 2021
45e99a1
Changed workflow path
r9-pena Jun 28, 2021
bce2af6
Changed dir paths
r9-pena Jun 28, 2021
0811db7
Work around for workflow
r9-pena Jun 28, 2021
f70bb74
work around
r9-pena Jun 28, 2021
7783654
troubleshooting
r9-pena Jun 28, 2021
2b47ec7
troubleshoot
r9-pena Jun 28, 2021
e80529c
troubleshoot
r9-pena Jun 28, 2021
0a3d2e6
Performance update
r9-pena Jun 29, 2021
2103604
Path correction
r9-pena Jun 29, 2021
e03fd06
troubleshoot
r9-pena Jun 29, 2021
15374d0
Dockerfile correction
r9-pena Jun 29, 2021
6ce47d2
path change
r9-pena Jun 30, 2021
4c2c09f
path change
r9-pena Jun 30, 2021
91f3ab3
path fix
r9-pena Jun 30, 2021
61191bf
path fix
r9-pena Jun 30, 2021
c819a78
path fix
r9-pena Jun 30, 2021
1096697
path fix
r9-pena Jun 30, 2021
202100b
paht fix
r9-pena Jun 30, 2021
2761184
Merge branch 'nasa:devel' into devel
r9-pena Jun 30, 2021
a22de72
Revert to changes
r9-pena Jun 30, 2021
8e7e1ca
Merge branch 'devel' of https://github.com/r9-pena/fprime into devel
r9-pena Jun 30, 2021
d6b1a7d
Completed workflow for tutorial support
r9-pena Jun 30, 2021
e54d12d
troubleshoot
r9-pena Jun 30, 2021
9c95406
Build path error
r9-pena Jun 30, 2021
a8b0f27
Optimization of workflow
r9-pena Jun 30, 2021
91e4a84
Path fix
r9-pena Jun 30, 2021
83eb472
Path fix
r9-pena Jun 30, 2021
8b261b4
Path fix #1
r9-pena Jun 30, 2021
09f7fad
path fix #2
r9-pena Jun 30, 2021
aae982f
path check
r9-pena Jun 30, 2021
e09f537
Workflow test
r9-pena Jun 30, 2021
051604e
Workflow test #2
r9-pena Jun 30, 2021
d0ad5f1
Added logging feature
r9-pena Jul 1, 2021
0e0be62
Logs Troubleshoot
r9-pena Jul 1, 2021
cb7bfca
Typo fix
r9-pena Jul 1, 2021
68cc720
Troubleshoot #1
r9-pena Jul 1, 2021
b575437
Troubleshoot #2
r9-pena Jul 1, 2021
62102b8
Corrected typo on path
r9-pena Jul 1, 2021
ee6e8f2
Troubleshoot #3
r9-pena Jul 1, 2021
3ccff2c
Troubleshoot #4
r9-pena Jul 1, 2021
9000af6
Troubleshoot #5
r9-pena Jul 1, 2021
f75fafc
Removed log archive feature
r9-pena Jul 1, 2021
0aa43bd
Changed repo path to conform pull request merge
r9-pena Jul 6, 2021
7ff80f1
Merge branch 'nasa:devel' into devel
r9-pena Jul 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/actions/tutorial/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM nasafprime/fprime-base

USER root

RUN apt-get update && apt-get install -y --no-install-recommends doxygen && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && pip3 --no-cache-dir install fprime-tools fprime-gds

COPY gps-build /gps-build

ENTRYPOINT ["/gps-build"]
5 changes: 5 additions & 0 deletions .github/actions/tutorial/github-tutorial-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: 'F prime tutorial check'
description: 'Runs community tutorial support on F prime'
runs:
using: 'docker'
image: 'Dockerfile'
15 changes: 15 additions & 0 deletions .github/actions/tutorial/gps-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Exit when any command fails
set -e
set -x

# Change to GitHub workspace
cd "$GITHUB_WORKSPACE"

# Move to GpsApp directory
cd gps-tutorial/GpsApp

# Build GpsApp
fprime-util generate
fprime-util build
37 changes: 37 additions & 0 deletions .github/workflows/tutorial-support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This is a basic workflow to help you get started with Actions

name: tutorial-support

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the devel branch
push:
branches: [ master, devel ]
pull_request:
branches: [ master, devel ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: checkout latest GpsApp repo
uses: actions/checkout@v2
with:
repository: fprime-community/gps-tutorial
path: ./gps-tutorial

# Checks-out latest version of the fprime repo
- name: checkout latest fprime repo
uses: actions/checkout@v2
with:
path: ./gps-tutorial/fprime

# Build tutorial test
- name: tutorial-test
uses: ./gps-tutorial/fprime/.github/actions/tutorial/
id: github-tutorial-action