firesim/.github/workflows/firesim-publish-scala-doc.yml

35 lines
989 B
YAML
Raw Normal View History

Port to Python3 + Switch to GH-A CI (#878) * First pass at porting to python3 * Fix import errors | Setup user argcomplete * Update awstools CLI with user data file | Bump CI to use it * Wait until launch is complete * Add userdata as string | Use sudo for machine-launch-script * Remove execute permissions on machine-launch-script * Better match on machine-launch-script complete * Revert python-devel removal * Use python3 for pytests * Update more python3 items * Remove extra shebang * Port docs to python3 and add to CI * Add ISCA experiments to CI build check * Use yum not apt-get * Add make to doc section * Bump multilate-loadgen for sysroot fix * For BW test build don't use shebang * Fix docs Makefile options * Fix more doc warnings * Add first set of regression tests * Fix raw_input * Regression bump | Run workload fix * Add functools to topology * Fix linux poweroff test (nic still has issues) * Update regression scripts * Ignore machine-launch-script.sh in regression area * Fix map python3 issues * Get rid of shebangs * Fix more regressions * Print machine-launch.log on fail | More clarification on user_data * Transfer to CI some shorter regressions * Add a manual approval to fpga based tests * Fix indentation in config.yml * Fix test symlink * Use spot for CI manager instance | Try to use python3 for aws CI container | Version all pip packages * Make run-ini-api-tests an executable * Fix CI terminaterunfarm arg * Add firesim.pem file to manager * Bump python in CI instance * Bump pip in CI container * Remove pip sudo in CI container * Fix launch script pip version equals * Ini converted into strings * Properly pass test_dir to opts in CI * First pass at GH-A * Round 2 CI fixes * Try changes * Remove CircleCI | Switch to fancy GH-A * Rename self-host setup script * Update chmod * Use - instead of _ for env. vars * Rename some defs | Remove extra imports * Small comment updates * Forgot to import in ini-api tests | Small comment on Fabric timeouts * Add sys to linux poweroff * Update linux timeout, fix small imports * Update comment * Fix-up workflow-monitor.py * Avoid excessive logging in run-linux | Terminate spot instances after max-runtime * Add more workflow-monitor states | Add pty=False to running workloads * Update CI documentation | Add CI badge [ci skip] * Don't use spot instances * Update CI readme * Determine runner version from remote repo and check for runner setup * Address PR comments * Update CI_README location of where to find IPs | Forgot ret_code * Only run CI on prs/pushes to dev/main/master * Fix terminate_workflow_instances in init-manager.py * Cleanup FireSim repo cloning | Only run CI on PRs (since its runs on merge commit)
2022-01-21 03:03:37 +08:00
name: firesim-publish-scala-doc
on:
push:
branches:
- dev
tags:
- '[0-9]*.[0-9]*.[0-9]*'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AWS-ACCESS-KEY-ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS-SECRET-ACCESS-KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS-DEFAULT-REGION: ${{ secrets.AWS_DEFAULT_REGION }}
FIRESIM_PEM: ${{ secrets.FIRESIM_PEM }}
FIRESIM-REPO-DEP-KEY: ${{ secrets.FIRESIM_REPO_DEP_KEY }}
Port to Python3 + Switch to GH-A CI (#878) * First pass at porting to python3 * Fix import errors | Setup user argcomplete * Update awstools CLI with user data file | Bump CI to use it * Wait until launch is complete * Add userdata as string | Use sudo for machine-launch-script * Remove execute permissions on machine-launch-script * Better match on machine-launch-script complete * Revert python-devel removal * Use python3 for pytests * Update more python3 items * Remove extra shebang * Port docs to python3 and add to CI * Add ISCA experiments to CI build check * Use yum not apt-get * Add make to doc section * Bump multilate-loadgen for sysroot fix * For BW test build don't use shebang * Fix docs Makefile options * Fix more doc warnings * Add first set of regression tests * Fix raw_input * Regression bump | Run workload fix * Add functools to topology * Fix linux poweroff test (nic still has issues) * Update regression scripts * Ignore machine-launch-script.sh in regression area * Fix map python3 issues * Get rid of shebangs * Fix more regressions * Print machine-launch.log on fail | More clarification on user_data * Transfer to CI some shorter regressions * Add a manual approval to fpga based tests * Fix indentation in config.yml * Fix test symlink * Use spot for CI manager instance | Try to use python3 for aws CI container | Version all pip packages * Make run-ini-api-tests an executable * Fix CI terminaterunfarm arg * Add firesim.pem file to manager * Bump python in CI instance * Bump pip in CI container * Remove pip sudo in CI container * Fix launch script pip version equals * Ini converted into strings * Properly pass test_dir to opts in CI * First pass at GH-A * Round 2 CI fixes * Try changes * Remove CircleCI | Switch to fancy GH-A * Rename self-host setup script * Update chmod * Use - instead of _ for env. vars * Rename some defs | Remove extra imports * Small comment updates * Forgot to import in ini-api tests | Small comment on Fabric timeouts * Add sys to linux poweroff * Update linux timeout, fix small imports * Update comment * Fix-up workflow-monitor.py * Avoid excessive logging in run-linux | Terminate spot instances after max-runtime * Add more workflow-monitor states | Add pty=False to running workloads * Update CI documentation | Add CI badge [ci skip] * Don't use spot instances * Update CI readme * Determine runner version from remote repo and check for runner setup * Address PR comments * Update CI_README location of where to find IPs | Forgot ret_code * Only run CI on prs/pushes to dev/main/master * Fix terminate_workflow_instances in init-manager.py * Cleanup FireSim repo cloning | Only run CI on PRs (since its runs on merge commit)
2022-01-21 03:03:37 +08:00
LANG: "en_US.UTF-8" # required by SBT when it sees boost directories
LANGUAGE: "en_US:en"
LC_ALL: "en_US.UTF-8"
jobs:
publish-scala-doc:
name: publish-scala-doc
runs-on: ubuntu-18.04
container:
image: firesim/firesim-ci:v1.3
Port to Python3 + Switch to GH-A CI (#878) * First pass at porting to python3 * Fix import errors | Setup user argcomplete * Update awstools CLI with user data file | Bump CI to use it * Wait until launch is complete * Add userdata as string | Use sudo for machine-launch-script * Remove execute permissions on machine-launch-script * Better match on machine-launch-script complete * Revert python-devel removal * Use python3 for pytests * Update more python3 items * Remove extra shebang * Port docs to python3 and add to CI * Add ISCA experiments to CI build check * Use yum not apt-get * Add make to doc section * Bump multilate-loadgen for sysroot fix * For BW test build don't use shebang * Fix docs Makefile options * Fix more doc warnings * Add first set of regression tests * Fix raw_input * Regression bump | Run workload fix * Add functools to topology * Fix linux poweroff test (nic still has issues) * Update regression scripts * Ignore machine-launch-script.sh in regression area * Fix map python3 issues * Get rid of shebangs * Fix more regressions * Print machine-launch.log on fail | More clarification on user_data * Transfer to CI some shorter regressions * Add a manual approval to fpga based tests * Fix indentation in config.yml * Fix test symlink * Use spot for CI manager instance | Try to use python3 for aws CI container | Version all pip packages * Make run-ini-api-tests an executable * Fix CI terminaterunfarm arg * Add firesim.pem file to manager * Bump python in CI instance * Bump pip in CI container * Remove pip sudo in CI container * Fix launch script pip version equals * Ini converted into strings * Properly pass test_dir to opts in CI * First pass at GH-A * Round 2 CI fixes * Try changes * Remove CircleCI | Switch to fancy GH-A * Rename self-host setup script * Update chmod * Use - instead of _ for env. vars * Rename some defs | Remove extra imports * Small comment updates * Forgot to import in ini-api tests | Small comment on Fabric timeouts * Add sys to linux poweroff * Update linux timeout, fix small imports * Update comment * Fix-up workflow-monitor.py * Avoid excessive logging in run-linux | Terminate spot instances after max-runtime * Add more workflow-monitor states | Add pty=False to running workloads * Update CI documentation | Add CI badge [ci skip] * Don't use spot instances * Update CI readme * Determine runner version from remote repo and check for runner setup * Address PR comments * Update CI_README location of where to find IPs | Forgot ret_code * Only run CI on prs/pushes to dev/main/master * Fix terminate_workflow_instances in init-manager.py * Cleanup FireSim repo cloning | Only run CI on PRs (since its runs on merge commit)
2022-01-21 03:03:37 +08:00
options: --entrypoint /bin/bash
env:
JVM_MEMORY: 3500M # Default JVM maximum heap limit
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/repo-setup
- uses: ./.github/actions/build-scala-doc
- uses: ./.github/actions/push-scaladoc-to-ghpages