-
Notifications
You must be signed in to change notification settings - Fork 0
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
🚀 Add GitHub Pipelines #92
Closed
Closed
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
f5b4cce
fix #70 - overwrite last_observed in indicators table by timeseries
mvarewyck afa03fd
version bump
mvarewyck 67dd77d
fix #63 - vespa velutina if no data (e.g. january)
mvarewyck 33a22e1
fix #63 - improve active hotbeds + example management linetype
mvarewyck 19eedaf
fix #63 - add nestType and mgt to popup vespa + filter nest iAsset
mvarewyck 0003faa
fix #63 - add trend management success of nesten vespa
mvarewyck 7e0579f
fix #54 - include pre-filled text in contact email
mvarewyck 66e9247
feature #77 - climate risk maps prototype
mvarewyck 5197c9a
WIP #76 - shared gewest filter for species tab
a2408b7
WIP#76 - remove gewest filter plotTriasServer
mvarewyck 41a3bdb
WIP #76 - update search link species
mvarewyck de2d133
review #76 + R CMD check
mvarewyck ba75409
Merge pull request #78 from inbo/feature#76
mvarewyck 8b18f3d
fix #73 - initial version map + include in UI
mvarewyck 6ae7e83
fix #73 - initial version of map + include in UI for vespa
mvarewyck 971c705
fix #73 - add map for type 3 mgt species
mvarewyck 72d1c6f
fix #73 - year gaps + R CMD check + gewest filter
mvarewyck 6d9e0c6
fix vespa UI mapHeat if no data
mvarewyck cc72c61
fix #72 - better styling of taxa table and filters
mvarewyck 829d7b8
fix #75 - include species report WIP
mvarewyck bfd7945
fix #75 - include both logos in report
mvarewyck d2d4b1c
fix #75 - include observations and indicators in report
mvarewyck 469fb8c
fix #75 - include reporting graphs in report
mvarewyck acee7d7
speed improvements + render indicator tabs upon need
mvarewyck ead929e
clean code for R CMD check + link using taxonkey
mvarewyck f751e30
add git hash version cfr grofwild page
mvarewyck 16ac28f
landscape leaflet maps in report
mvarewyck a233b0c
lightweight docker (no packamon) + speed up app using arrow
mvarewyck 3ce7154
error message when no data available
mvarewyck dd72121
fix #75 - include reporting map in pdf when hidden
mvarewyck f67fe62
fix #75 - more generic report parameters + mgt type 1
mvarewyck 42da27f
fix #75 - report for mgt + titles
mvarewyck 89bf20d
fix #75 - include plots vespa velutina in report
mvarewyck a04ffcc
fix #75 - switching species mgt + R CMD check
mvarewyck 7b4887c
speed up observations plot
mvarewyck e0fd0c5
change r version
SanderDevisscher 4301c26
fix #74 - increase version rocker/r-ver
mvarewyck 85ae9c9
fix #74 - docker for ARM64
mvarewyck c8a43f0
handle NA values for translations
mvarewyck 0933597
fix #91 - handle no actieve haarden vespa velutina
mvarewyck e374c8f
fix #90 - add filter for region scale
mvarewyck a22fa98
fix #84 - add occupancy gam
mvarewyck 77f690a
fix #74 - conflict config::get for gam
mvarewyck 9a33749
:rocket: Add GitHub Pipelines
TheJenne18 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
name: Build and upload Docker image | ||
runs-on: [self-hosted] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: ${{ secrets.AWS_DEFAULT_REGION }} | ||
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | ||
|
||
- name: Login to Amazon ECR | ||
id: login-ecr | ||
uses: aws-actions/amazon-ecr-login@v2 | ||
|
||
- name: Build, tag, and push docker image to Amazon ECR | ||
env: | ||
REGISTRY: ${{ steps.login-ecr.outputs.registry }} | ||
REPOSITORY: inbo-exotenportaal-portal | ||
IMAGE_TAG: ${{ github.sha }} | ||
run: | | ||
docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG . | ||
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
Package: alienSpecies | ||
Type: Package | ||
Title: Portal for alien and invasive species indicators | ||
Version: 0.0.5 | ||
Version: 1.0.0 | ||
Date: 2023-11-30 | ||
Author: Machteld Varewyck, Yingjie Zhang, Eva Adriaensen | ||
Maintainer: Machteld Varewyck <[email protected]> | ||
Description: INBO shiny application based on the TRIAS package. | ||
Encoding: UTF-8 | ||
License: MIT + file LICENSE | ||
Imports: | ||
arrow, | ||
aws.ec2metadata, | ||
aws.s3, | ||
aws.signature, | ||
|
@@ -17,28 +18,31 @@ Imports: | |
dplyr, | ||
DT, | ||
ggplot2, | ||
ggspatial, | ||
htmltools, | ||
htmlwidgets, | ||
httr, | ||
INBOtheme (<= 0.5.9), | ||
jsonlite, | ||
leaflet, | ||
leaflet (>= 2.2.0), | ||
leaflet.extras, | ||
methods, | ||
plotly, | ||
reshape2, | ||
rgbif, | ||
shiny, | ||
shinycssloaders, | ||
sf, | ||
testthat (>= 3.0.0), | ||
shiny, | ||
shinycssloaders, | ||
sf, | ||
terra, | ||
testthat (>= 3.0.0), | ||
tidyr, | ||
tidyverse, | ||
trias (>= 2.0.3), | ||
webshot, | ||
xtable | ||
tidyverse, | ||
trias (>= 2.0.8), | ||
webshot, | ||
xtable | ||
Suggests: | ||
shinyjs | ||
RoxygenNote: 7.2.3 | ||
RoxygenNote: 7.3.1 | ||
Remotes: | ||
inbo/[email protected], | ||
trias-project/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trigger is iedere push & pull_request ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hoe bepaal je de eindbestemming ? merge met uat -> uat omgeving ? merge met main -> prd omgeving ?