-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1079 from AmpersandTarski/development
Release 4.0.0
- Loading branch information
Showing
289 changed files
with
11,605 additions
and
8,275 deletions.
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,48 @@ | ||
--- | ||
cache: | ||
- '%APPDATA%\cabal' | ||
- '%APPDATA%\ghc' | ||
- '%APPDATA%\stack' | ||
|
||
install: | ||
- choco install ghc --version 8.2.2 | ||
- choco install haskell-stack | ||
- refreshenv | ||
- cabal update | ||
- cabal install happy --overwrite-policy=always | ||
|
||
# perform the typical stack build, and also install the | ||
# ampersand.exe file that we will mark as an artifact | ||
build_script: | ||
# Suppress output from stack setup, as there is a lot and it's not necessary. | ||
- stack setup --no-terminal > nul | ||
- stack build --only-snapshot --no-terminal | ||
- stack --local-bin-path . install ampersand | ||
# Set a magical environment variable | ||
- cmd: for /f %%i in ('stack exec ampersand -- -v') do set AMPERSAND_VERSION=%%i | ||
- cmd: pwd | ||
- cmd: where ampersand | ||
- cmd: where stack | ||
# mark the file(s) as an artifact; this means AppVeyor will hang on to it after the build completes: | ||
artifacts: | ||
- path: ampersand.exe | ||
name: Windows_binary | ||
|
||
# Auto-deploy | ||
# specify that, for each build that completes, AppVeyor | ||
# should push a release with the right tag to | ||
# the GitHub releases page! | ||
# We only release when the branch == master. | ||
# (Note: probably we would want to be a bit more | ||
# elaborate about when we push to the releases page; making sure | ||
# that we include proper release notes, etc.) | ||
deploy: | ||
- provider: GitHub | ||
tag: '$(AMPERSAND_VERSION)' | ||
release: '$(AMPERSAND_VERSION)' | ||
auth_token: | ||
secure: B9wxH2Me3jIbEn9xlvIY9SEWdELRgKMtEZeQZmJQm5wMGjp4YF4wQmAHCy3ofTJG | ||
artifact: Windows_binary | ||
on: | ||
branch: master | ||
|
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,2 +1,8 @@ | ||
.stack-work | ||
*.lock | ||
.* | ||
ArchitectureAndDesign/ | ||
docker/ | ||
miscellaneous/ | ||
*.lock | ||
README* | ||
travis_long | ||
.dockerignore |
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,2 @@ | ||
*.xlsx diff=excel | ||
*.xls diff=excel |
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,33 +1,25 @@ | ||
<!-- Thanks for contributing to Ampersand! Please pick a clear title and proceed. --> | ||
<!-- Please note: If your issue is about RAP3, please report it over there: | ||
https://github.com/AmpersandTarski/RAP/issues | ||
--> | ||
<!-- Thanks for contributing to Ampersand! Please pick a clear title and proceed.--> | ||
<!-- Please note: If your issue is about RAP3, please report it over there:--> | ||
<!-- https://github.com/AmpersandTarski/RAP/issues --> | ||
|
||
#### Version of ampersand that was used | ||
# What happened | ||
|
||
# What I expected | ||
|
||
#### What I expected | ||
# Version of ampersand that was used | ||
|
||
# Steps to reproduce | ||
|
||
#### What happened instead | ||
|
||
|
||
#### Steps to reproduce | ||
1. | ||
1. | ||
2. | ||
3. | ||
4. | ||
|
||
# Screenshot / Video | ||
|
||
#### Screenshot / Video | ||
|
||
|
||
#### Context / Source of ampersand script | ||
<!-- Optional: share your script if possible. It helps us reproduce the problem. Please try to keep the scripts tiny | ||
We'd also love to know how you found the bug: #dogfooding, #manual-testing, #automated-testing, or #user-report if applicable. | ||
If requesting a new feature, explain why you'd like to see it added. | ||
--> | ||
# Context / Source of ampersand script | ||
<!-- Optional: share your script if possible. It helps us reproduce the problem. Please try to keep the scripts tiny--> | ||
|
||
<!-- We'd also love to know how you found the bug: #dogfooding, #manual-testing, #automated-testing, or #user-report if applicable.--> | ||
|
||
<!-- If requesting a new feature, explain why you'd like to see it added.--> |
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,69 @@ | ||
name: Continuous Integration | ||
on: | ||
push: | ||
branches: # empty list to only trigger on branches (i.e. not tags, ..) | ||
|
||
env: | ||
DOCKER_AMPERSAND_IMAGE: docker.pkg.github.com/ampersandtarski/ampersand/ampersand | ||
DOCKER_AMPERSAND_IMAGE_DEV: docker.pkg.github.com/ampersandtarski/ampersand/ampersand:development | ||
# IMAGE_BRANCH_TAG: ${DOCKER_AMPERSAND_IMAGE}:${GITHUB_REF##*/} # Does not work because bash expression is not allowed here | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
# env: | ||
|
||
# See: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/using-environment-variables | ||
# Because steps run in their own process, changes to environment variables are not preserved between steps | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@master # this step reuses a default Github action; see: https://github.com/actions | ||
|
||
- name: Prepare for docker | ||
run: | | ||
echo Running on branch ${GITHUB_REF##*/} | ||
docker version | ||
docker login docker.pkg.github.com -u ${GITHUB_ACTOR} -p ${{secrets.GITHUB_TOKEN}} | ||
- name: Pull dev image to use as cache | ||
run: docker pull ${DOCKER_AMPERSAND_IMAGE_DEV} || true | ||
|
||
# This step only builds the 'buildstage' stage (see `--target buildstage`) | ||
- name: Build buildstage | ||
run: | | ||
# See: https://andrewlock.net/caching-docker-layers-on-serverless-build-hosts-with-multi-stage-builds---target,-and---cache-from/ to understand why we use --target and --cache-from here | ||
docker build . --cache-from ${DOCKER_AMPERSAND_IMAGE_DEV} --target buildstage --tag ${DOCKER_AMPERSAND_IMAGE}:${GITHUB_REF##*/} --build-arg GIT_SHA=${{ github.sha }} --build-arg GIT_Branch=${{ github.ref }} | ||
# Step disabled because it clutters the package registry on github. Currently public packages cannot be deleted on github. | ||
# # This step allows for quicker builds in a future run (see step above where image is pulled to use as cache) | ||
# - name: Push buildstage | ||
# run: docker push ${DOCKER_AMPERSAND_IMAGE}:${GITHUB_REF##*/} | ||
|
||
# This step build the final (slim) image | ||
- name: Build final image | ||
run: docker build . --cache-from ${DOCKER_AMPERSAND_IMAGE}:${GITHUB_REF##*/} --tag ${DOCKER_AMPERSAND_IMAGE}:latest --build-arg GIT_SHA=${{ github.sha }} --build-arg GIT_Branch=${{ github.ref }} | ||
|
||
# Push latest | ||
- name: Push ampersand:latest | ||
if: github.ref == 'refs/heads/development' | ||
run: | | ||
docker push ${DOCKER_AMPERSAND_IMAGE_DEV} | ||
docker push ${DOCKER_AMPERSAND_IMAGE}:latest | ||
# See: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/persisting-workflow-data-using-artifacts | ||
test: | ||
name: Test | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
release: | ||
name: Release | ||
if: github.ref == 'refs/heads/master' | ||
needs: [build, test] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo This is only a test | ||
|
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...rsandData/SystemContext/SystemContext.adl → ...ata/PrototypeContext/PrototypeContext.adl
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
4 changes: 2 additions & 2 deletions
4
...ndData/SystemContext/SystemContext.docadl → .../PrototypeContext/PrototypeContext.docadl
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
File renamed without changes.
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,17 +1,15 @@ | ||
# Ampersand | ||
# Ampersand | ||
|
||
[![Build Status](https://travis-ci.org/AmpersandTarski/Ampersand.svg?branch=master)](https://travis-ci.org/AmpersandTarski/Ampersand) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/ai0pwvb7corwkjjm?svg=true)](https://ci.appveyor.com/project/hanjoosten/ampersand) | ||
[![Latest Release](https://img.shields.io/github/release/AmpersandTarski/Ampersand.svg)](https://github.com/AmpersandTarski/Ampersand/releases/latest) | ||
|
||
## Recent activity | ||
[![Throughput Graph](https://graphs.waffle.io/AmpersandTarski/Ampersand/throughput.svg)](https://waffle.io/AmpersandTarski/Ampersand/metrics) | ||
|
||
## Releases | ||
|
||
Check out the [release notes](https://github.com/AmpersandTarski/Ampersand/blob/development/ReleaseNotes.md) and [![all Releases](https://img.shields.io/github/release/AmpersandTarski/Ampersand.svg)](https://github.com/AmpersandTarski/Ampersand/releases) | ||
|
||
## Documentation | ||
|
||
The best place to look at if you are new to Ampersand, and you want to install the software, is at our [documentation](http://ampersandtarski.gitbooks.io/documentation/). Anyone can add comments if you read the documentation online. Please do so if there is anything you miss in the documentation. | ||
The best place to look at if you are new to Ampersand, and you want to install the software, is at our [documentation](https://ampersandtarski.gitbook.io/documentation/). Anyone can add comments if you read the documentation online. Please do so if there is anything you miss in the documentation. | ||
|
||
There is also some [documentation for the developers of ampersand](http://ampersandtarski.gitbooks.io/the-tools-we-use-for-ampersand/). | ||
There is also some [documentation for the developers of ampersand](https://ampersandtarski.gitbook.io/the-tools-we-use-for-ampersand/). |
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.