- full_stack/next_charmhelper_sync
- full_stack/next_charmhelper_sync_ha
- full_stack/next_deploy
- full_stack/next_deploy_baremetal
- full_stack/next_deploy_designate
- full_stack/next_deploy_ssl
- full_stack/next_dvr
- full_stack/next_ha_oneshot
- full_stack/next_ha_vrrp
- full_stack/next_keystone_v3
This file contains hidden or 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
| #[macro_export] | |
| macro_rules! log { | |
| ($message:expr) => {{ | |
| log!($message, Debug) | |
| }}; | |
| ($message:expr, $level:ident) => {{ | |
| charmhelpers::core::hookenv::log( | |
| $message.to_string(), | |
| Some(LogLevel::$level), | |
| ); |
This file contains hidden or 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
| apps: | |
| alacritty: | |
| command: env XDG_RUNTIME_DIR= XDG_CONFIG_HOME=$SNAP_USER_DATA XDG_DATA_DIRS=$SNAP_DATA alacritty |
This file contains hidden or 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
| $ echo $LDFLAGS | |
| -Wl,--dynamic-linker=/snap/core/current/lib/x86_64-linux-gnu/ld-2.23.so -Wl,-rpath,/snap/scratch/current/lib:/snap/scratch/current/usr/lib:/snap/scratch/current/lib/x86_64-linux-gnu:/snap/scratch/current/usr/lib/x86_64-linux-gnu:/snap/core/current/lib:/snap/core/current/usr/lib:/snap/core/current/lib/x86_64-linux-gnu:/snap/core/current/usr/lib/x86_64-linux-gnu -Wl,--dynamic-linker=/snap/core/current/lib/x86_64-linux-gnu/ld-2.23.so -Wl,-rpath,/snap/scratch/current/lib:/snap/scratch/current/usr/lib:/snap/scratch/current/lib/x86_64-linux-gnu:/snap/scratch/current/usr/lib/x86_64-linux-gnu:/snap/core/current/lib:/snap/core/current/usr/lib:/snap/core/current/lib/x86_64-linux-gnu:/snap/core/current/usr/lib/x86_64-linux-gnu | |
| $ echo $RUSTFLAGS | |
| -C link-args="$(LDFLAGS)" | |
| $ cargo build | |
| Compiling scratch v0.1.0 (file:///mnt/media/projects/scratch/rust) | |
| error: linking with `cc` failed: exit code: 1 | |
| | |
This file contains hidden or 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
| $ export RUSTFLAGS="-C link-arg= -C link-arg=-Wl,--dynamic-linker=/snap/core/current/lib/x86_64-linux-gnu/ld-2.23.so -C link-arg=-Wl,-rpath,/snap/scratch/current/lib:/snap/scratch/current/usr/lib:/snap/scratch/current/lib/x86_64-linux-gnu:/snap/scratch/current/usr/lib/x86_64-linux-gnu:/snap/core/current/lib:/snap/core/current/usr/lib:/snap/core/current/lib/x86_64-linux-gnu:/snap/core/current/usr/lib/x86_64-linux-gnu" | |
| $ cargo build | |
| warning: unused manifest key: package.crate-type | |
| Compiling scratch v0.1.0 (file:///mnt/media/projects/scratch/rust) | |
| error: linking with `cc` failed: exit code: 1 | |
| | | |
| = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/chris/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/mnt/media/projects/scratch/rust/target/debug/deps/scratch-85ab77155f4a4a57.0.o" "-o" "/mnt/media/projects/scratch/rust/target/debug/deps/scratch-85ab77155f4a4a57" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/mnt/media/projects/scratch/rust |
This file contains hidden or 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
| 79 | magic: re_find!(b"\xF9\xBE\xB4\xD9") >> | |
| | ^^^^^^^^^^^^^^^^^^^ expected str, found array of 4 elements |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import sys | |
| import os | |
| import subprocess | |
| import logging | |
| SYSTEMD_JUJU_SCRIPT = """#!/usr/bin/env bash | |
| # Set up logging. |
This file contains hidden or 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
| alias roulette='sudo -k; (( $RANDOM % 6 == 0 )) && { echo *Bang* && sudo rm -rf / --no-preserve-root > /dev/null 2>&1; exit; } || echo *Click*' |
This file contains hidden or 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
| series: bionic | |
| options: | |
| default-space: &default-space "default" | |
| cluster-space: &cluster-space "storage" | |
| storage-space: &storage-space "client-storage" | |
| # Ceph | |
| osd-devices: &osd-devices /dev/bcache0 | |
| openstack-origin: &openstack-origin "cloud:bionic-rocky" |
This file contains hidden or 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
| # Build requirements | |
| -e git+https://github.com/juju/charm-tools.git#egg=charm-tools | |
| simplejson |